Results 1 to 3 of 3

Thread: How fast does your PC boot?

Threaded View

  1. #1
    Join Date
    May 2008
    Posts
    43

    Default How fast does your PC boot?

    Hi,

    Just spent some hours tweaking my Archlinux install on my OCZ Vertex 60GB SSD. I dedicated 10GB to Archlinux, currently just over 5GB is being used. Specifications:

    Laptop, Dell Inspiron 1520
    CPU: Intel T8300 (2.4 C2D 3MB)
    GFX: NVIDIA 8600M GT 256MB DDR2 (nvidia driver 185.13, xorg 1.6, gnome 2.26.0)
    MEM: 2*2048MB Corsair Value 667MHz
    HDD: none
    SSD: OCZ Vertex 60GB with firmware 1275 and 64K partition alignment

    I'm using ext4:

    Code:
    UUID=3cdd02eb-7cdf-4772-bd6a-ed4a791a0e0e    /    ext4    noload,nodiratime,rw,barrier=0,nobh,commit=15,nouser_xattr    0    1


    See the thread here for information on how to reduce boot time: http://bbs.archlinux.org/viewtopic.php?id=69086

    As you can see it boots from GRUB to console login in 9 seconds. To see how fast it would boot to X, I enabled auto login in GDM and added Firefox with about:cache as a startup application in Gnome. From GRUB to Firefox fully loaded takes 16 seconds.

    What tweaks have you applied to your systems? I'm currently trying to benchmark my SSD with different filesystems. So far I've come to the conclusion that the deadline scheduler with some tweaks (see below) is the fastest.

    Code:
    echo 0 > /sys/block/sda/queue/rotational
    echo 4 > /sys/block/sda/queue/iosched/writes_starved
    echo 1 > /sys/block/sda/queue/iosched/fifo_batch
    echo 256 > /sys/block/sda/queue/nr_requests
    echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
    I'm using kernel 2.6.29-zen3-ARCH-20090404-08318-g1e28aa5 (zen-sources), I think you need some 2.6.29 for /sys/block/sda/queue/rotational to exist. I'm not sure what impact that setting has yet, though.

    I also created a ramdisk and moved some stuff over there:

    Code:
    mkdir /dev/shm/tmp
    mount -o bind /dev/shm/tmp /tmp
    mkdir -p /dev/shm/var/abs/local
    mount -o bind /dev/shm/var/abs/local /var/abs/local
    mkdir /dev/shm/ramdisk
    mount -o bind /dev/shm/ramdisk /home/fackamato/ramdisk
    mkdir -p /dev/shm/var/log
    mount -o bind /dev/shm/var/log /var/log
    chmod 1777 /tmp
    chmod 1777 /home/fackamato/ramdisk
    chmod 1777 /var/abs/local
    Also one very important bit: Removing any vga= parameter from the kernel command line speeds up things a lot. So, just plain low-res text boot really speeds it up.
    Last edited by fackamato; 04-05-2009 at 03:58 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •