Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: New SSD: disappointing boot time

  1. #1
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,021

    Default New SSD: disappointing boot time

    I've just replaced my SATA boot drive /dev/sda1 with a 65Gb SSD (Kingston SSDnow V-100, latest version) but I find the much-hyped speed advantage almost negligible. I used to have boot times in openSUSE (fresh install of 11.4, measuring from GRUB menu to startup guitar chord) of around 50 seconds, and the SSD drive is only a little faster at about 40 seconds. I was expecting something more like half the previous boot speed...
    Haven't done any tinkering yet except for the noatime setting in /etc/fstab. Any suggestions?
    Günter

    Desk: Tumbleweed, KDE 5, AMD Ryzen 5 3400G, 16Gb, 120Gb SSD, 2 SATA.
    Lap: Thinkpad T430, Tumbleweed, Intel i5, 8Gb, SSD.

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,728

    Default Re: New SSD: disappointing boot time

    As you do not explain what is on that partition (of which you only tell it is seen as /sdev/sda1 by your system.) nobody can tell anything with certainty. Is it used at all by your openSUSE system? Is it used for Swap? Is it used for your root file system? Is it used for your /home file system?
    Henk van Velden

  3. #3
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,021

    Default Re: New SSD: disappointing boot time

    I think you'll find answers to most of your questions in the first sentence of my original message ;-) And no, no /home or anything else, just / and Grub's there too.
    Done a bit more tweaking following the various tips (tmp to ramdisk, noop, discard) but no improvement at all. Still only 10-15 seconds improvement on HD boot. Here's my fstab in casethere's any clues:

    /dev/sda1 / ext4 defaults,noatime,discard,errors=remount-ro,acl,user_xattr 0 1
    /dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1PP443333-part2 swap swap defaults 0 0
    /dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1PP443333-part3 /home ext4 defaults 1 2
    tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    Günter

    Desk: Tumbleweed, KDE 5, AMD Ryzen 5 3400G, 16Gb, 120Gb SSD, 2 SATA.
    Lap: Thinkpad T430, Tumbleweed, Intel i5, 8Gb, SSD.

  4. #4
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,021

    Default Re: New SSD: disappointing boot time

    (Edited to put fstab into code tags for clarity).

    I think you'll find answers to most of your questions in the first sentence of my original message ;-) And no, no /home or anything else, just / and Grub's there too.
    Done a bit more tweaking following the various tips (tmp to ramdisk, noop, discard) but no improvement at all. Still only 10-15 seconds improvement on HD boot. Here's my fstab in casethere's any clues:

    Code:
    /dev/sda1            /                    ext4       defaults,noatime,discard,errors=remount-ro,acl,user_xattr 0 1
    /dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1PP443333-part2 swap                 swap       defaults              0 0
    /dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1PP443333-part3 /home                ext4       defaults              1 2
    tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    debugfs              /sys/kernel/debug    debugfs    noauto                0 0
    usbfs                /proc/bus/usb        usbfs      noauto                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
    Günter

    Desk: Tumbleweed, KDE 5, AMD Ryzen 5 3400G, 16Gb, 120Gb SSD, 2 SATA.
    Lap: Thinkpad T430, Tumbleweed, Intel i5, 8Gb, SSD.

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,728

    Default Re: New SSD: disappointing boot time

    I've just replaced my SATA boot drive /dev/sda1 with a 65Gb SSD (Kingston SSDnow V-100, latest version) but I find the much-hyped speed advantage almost negligible.
    There is nothing IMHO that says what your use of that partition is. I can see that in the old situation there was a boot record on the SATA disk (outside the partitions) and that you had at least one partition on that disk (#1) and that you propbably had set the BIOS to boot from it. Which would suggest that at least a /boot directory would be on that partition. To assume more would be speculation, which is an almost certain way to have big misunderstandings between you and those who want to help you.

    In any case your fstab listing explains a lot. An fdisk -l would more or less complete the picture.
    Henk van Velden

  6. #6
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,021

    Default Re: New SSD: disappointing boot time

    Here's the output of fdisk -l:

    Code:
    Disk /dev/sda: 64.0 GB, 64023257088 bytes
    255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000123a3
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048   125044735    62521344   83  Linux
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x634d0175
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *        2048    83892223    41945088   83  Linux
    /dev/sdb2        83892224    92276735     4192256   82  Linux swap / Solaris
    /dev/sdb3        92276736   976773119   442248192   83  Linux
    
    Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000c5ae1
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1   *          63    41945714    20972826   83  Linux
    /dev/sdc2        41945715  1048578614   503316450   83  Linux
    /dev/sdc3      1048578615  1953520064   452470725   83  Linux
    Günter

    Desk: Tumbleweed, KDE 5, AMD Ryzen 5 3400G, 16Gb, 120Gb SSD, 2 SATA.
    Lap: Thinkpad T430, Tumbleweed, Intel i5, 8Gb, SSD.

  7. #7
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: New SSD: disappointing boot time

    A lot of the boot process is spent waiting for things to happen, e.g. BIOS waiting for self-test to finish, DHCP client daemon waiting for an IP address lease. Thus the speed of the SSD doesn't shine through during boot. It's only file ops in normal operation that the I/O speed of the SSD is advantageous.

    You might want to run bootchart to see where the waits are.

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,728

    Default Re: New SSD: disappointing boot time

    And also including one complete login may spoil the view. The boot does only use your / file system of course, but loging in by a user generates a lot of I/O inside /home (depends of course on which desktop, what to start/restart and all sorts of personal preferences of that user).
    Henk van Velden

  9. #9
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,021

    Default Re: New SSD: disappointing boot time

    Quote Originally Posted by ken_yap View Post
    A lot of the boot process is spent waiting for things to happen, e.g. BIOS waiting for self-test to finish, DHCP client daemon waiting for an IP address lease. Thus the speed of the SSD doesn't shine through during boot. It's only file ops in normal operation that the I/O speed of the SSD is advantageous.

    You might want to run bootchart to see where the waits are.
    Yes, I understand that, which is why I measure from the grub menu to the desktop to eliminate the BIOS stuff. No DHCP because fixed IP address. Will try bootchart - thanks for the suggestion, only installed the SSD yesterday so hadn't thought of that yet.
    Günter

    Desk: Tumbleweed, KDE 5, AMD Ryzen 5 3400G, 16Gb, 120Gb SSD, 2 SATA.
    Lap: Thinkpad T430, Tumbleweed, Intel i5, 8Gb, SSD.

  10. #10
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,021

    Default Re: New SSD: disappointing boot time

    Quote Originally Posted by hcvv View Post
    And also including one complete login may spoil the view. The boot does only use your / file system of course, but loging in by a user generates a lot of I/O inside /home (depends of course on which desktop, what to start/restart and all sorts of personal preferences of that user).
    This also occurred to me, in fact I was toying with the idea of placing /home on the SSD too, but only the configuration stuff (i.e. the hidden .folders) and move everything else to a HDD partition mounted as /data or something. I dropped that idea because I wasn't sure how much difference it would make: maybe I'll reconsider that.
    Günter

    Desk: Tumbleweed, KDE 5, AMD Ryzen 5 3400G, 16Gb, 120Gb SSD, 2 SATA.
    Lap: Thinkpad T430, Tumbleweed, Intel i5, 8Gb, SSD.

Page 1 of 3 123 LastLast

Posting Permissions

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