Page 1 of 12 12311 ... LastLast
Results 1 to 10 of 118

Thread: How to optimize 10.04 Lucid Lynx for SSD

  1. #1
    Join Date
    Mar 2008
    Beans
    34

    Exclamation How to optimize 10.04 Lucid Lynx for SSD

    Hello, I would like to know if somebody know for a official tweaks needed for ubuntu to take the most possible advantage of SSD and take care of write/erase cicles.

    I have search the web and found some interesting links I share here:

    http://itezer.com/blog/ubuntu-linux/...-with-SSD.html

    http://blog.loxal.net/2009/04/tuning...ance-with.html

    http://bryan.larsen.st/2009/3/23/usi...-ubuntu-jaunty

    http://samiux.wordpress.com/2009/06/...tate-disk-ssd/

    http://megabytemorsels.blogspot.com/...in-ubuntu.html

    http://forums.fedoraforum.org/showthread.php?t=215109

    It will be nice if we can start talking about what should work and what is just useless.
    Last edited by cariboo; May 14th, 2010 at 06:28 PM. Reason: Remove font formatting

  2. #2
    Join Date
    Apr 2010
    Beans
    6

    Re: How to optimize 10.04 Lucid Lynx for SSD

    There's TRIM support missing in 10.04... follow https://bugs.launchpad.net/bugs/571476 for a report...

  3. #3
    Join Date
    Apr 2008
    Location
    AZ
    Beans
    2,070
    Distro
    Ubuntu

    Re: How to optimize 10.04 Lucid Lynx for SSD

    i'm not worried about TRIM. just upgrading the kernel to 2.6.33 or newer will enable trim. what's MORE important is to properly align the SSD drive. I just installed ubuntu 10.04 on my corsair P128 today and I dont think its properly aligned.

    Code:
    sudo fdisk -l
    gives the output:

    Disk /dev/sda: 128.0 GB, 128035676160 bytes
    255 heads, 63 sectors/track, 15566 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000cb7c8

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 1567 12586896 83 Linux
    /dev/sda2 1568 15566 112446967+ 83 Linux
    shouldn't the start be something like 1024 or 2048 instead of 1? its definitely not divisible by 512.

    I noticed gparted had the option NOT to round to cylinders when creating the EXT4 partition, but it gave me some kind of error when i tried to create the first partition like that.

  4. #4
    Join Date
    Mar 2008
    Beans
    34

    Re: How to optimize 10.04 Lucid Lynx for SSD

    Just a fact I have checked with some test.

    First, to newcomers, make sure you have 2.6.33.x Kernel, otherwise forget about TRIM.

    Now, when you upgrade to 2.6.33 and run your tests, notice that if you modify your fstab file with the commit=x option, you will have to wait that x seconds before the SSD auto-trim the sector, at least thats what is happening with my ST Ultra Drive, if you test too early you could think that Trim is not working.
    Last edited by cariboo; May 14th, 2010 at 06:29 PM. Reason: removed huge font formatting

  5. #5
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to optimize 10.04 Lucid Lynx for SSD

    And how does this thread comply with:

    All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.
    ?

    Do not post things like this in the General Support forum, find a more appropriate place.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  6. #6
    Join Date
    Mar 2008
    Beans
    34

    Re: How to optimize 10.04 Lucid Lynx for SSD

    Quote Originally Posted by dcstar View Post
    And how does this thread comply with:

    All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.
    ?

    Do not post things like this in the General Support forum, find a more appropriate place.
    I think because it stars with this:
    "I would like to know if somebody know for a official tweaks needed for ubuntu to take the most possible advantage of SSD"

    But nobody reply to my question, so people started to look for answers themselves, if you dont like the post, you can simply report it, so it can be deleted ASAP, I just dont care

  7. #7
    Join Date
    Dec 2005
    Location
    Boston, MA, USA
    Beans
    403
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to optimize 10.04 Lucid Lynx for SSD

    I don't see how alignment would help an SSD, because the partition space is virtual. The drive itself decides where to place the data across the drive (in the name of load leveling)

    I could be wrong though.

    If you want to try it, it would seem you could just use gparted to move/resize your partitions to align them to 4k block sizes (with a a few blocks gap in between them) but I'm willing to wager the difference will be marginal at best.

    I've been wrong before though, so I am open to being surprised if anyone gives it a try

  8. #8
    Join Date
    Mar 2008
    Beans
    34

    Re: How to optimize 10.04 Lucid Lynx for SSD

    Quote Originally Posted by mattlach View Post
    I don't see how alignment would help an SSD, because the partition space is virtual.
    I agree with this one, partition is just a reserved amount of space, thats why partitions can be resized, aligning partitions to a exact size given a determined block size, could improve performance but in my opinion that improvement would be in the 0.X% factor, so, its a bit useless

  9. #9
    Join Date
    Feb 2008
    Beans
    794
    Distro
    Ubuntu

    Re: How to optimize 10.04 Lucid Lynx for SSD

    Quote Originally Posted by mattlach View Post
    I don't see how alignment would help an SSD, because the partition space is virtual. The drive itself decides where to place the data across the drive (in the name of load leveling)
    Unfortunately SSD's have a interface on the device which converts the flash chips in to Cylinder / Sector that any BIOS and OS can understand. So all file systems are still limited to sector alignment issues.

    It's only the VERY expensive SSD's (talking $10,k drives here!) that don't have that interface and can use alternate filesystems that don't rely on cylinder/sector limits...
    Laters...
    Sol
    "Have you found the secrets of the universe? Asked Zebade "I'm sure I left them here somewhere" User numbers: Ubuntu 23772 Linux 477911

  10. #10
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to optimize 10.04 Lucid Lynx for SSD

    Quote Originally Posted by systemarpi View Post
    I think because it stars with this:
    "I would like to know if somebody know for a official tweaks needed for ubuntu to take the most possible advantage of SSD"

    But nobody reply to my question, so people started to look for answers themselves, if you dont like the post, you can simply report it, so it can be deleted ASAP, I just dont care
    The Ubuntu forums has a specific place for HOWTOs (it's called Tutorials and Tips), if people are too lazy to post things where they are supposed to go then I guess we just end up with the forum for General Support questions being filled with things that aren't supposed to be there, and those with genuine questions have to compete for attention.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

Page 1 of 12 12311 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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