Quantcast ssd trim in ubuntu?

Closed Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Notebook Enthusiast
    Join Date
    Dec 2007
    Posts
    46
    Rep Power
    18

    Default ssd trim in ubuntu?

    Hi, I've been using ubuntu netbook remix 9.04 for a little while(I'm still a novice) on my 1810t with no problem but I just bought a intel X-25 V and I'm wondering if I got my trim working right (i'm not 100% sure what it does except boost performance)

    I'm sorry if there is a thread that covered the subject I scrolled quickly in the search tab and couldn't find one.

    I did some research and I think it only work on ext4 file system and I'm not sure if it's supported on 9.04 so i upgraded to a 9.10 netbook remix (wich caused me more trouble on the ui side then 9.04)

    I found some help via google and installed hdparm-9.27 and got a hold of a wiper-2.5 file that support intel ssd.

    I then run sudo ./wiper.sh --commit /
    in my hdparm folder and I get this

    Does this seem like working trim? If so how often should I run this (my guess is its automatic in w7) and what is a good way to test hd performance in ubuntu so I know if it actually works?

    Thanks alot for any help I can get
    Attached Thumbnails Attached Thumbnails trim.png  

  2. #2
    Linux geek con rat flail!
    Join Date
    Jun 2006
    Location
    Denver, CO
    Posts
    7,105
    Rep Power
    52

    Default Re: ssd trim in ubuntu?

    http://lwn.net/Articles/353411/

    That article might shed some light on things Google for Linux trim instead of Ubuntu... it's more a function of the kernel than anything.
    HP Envy 15 | Win7x64 | i5-540M | Radeon 5830 1GB | 6GB DDR3-1066 | 256GB Crucial M225 SSD | Matte 15.6" 1920x1080
    Get your answers here!
    Answers: $5
    Good Answers: $10
    Correct Answers: $20
    Well-researched Answers complete with reference: time and materials
    Dumb looks are still free

    __________________

  3. #3
    Gamer extraordinaire
    Join Date
    Nov 2007
    Location
    Norway
    Posts
    3,071
    Rep Power
    32

    Default Re: ssd trim in ubuntu?

    I dont know for certain if Ubuntu 9.04 supports ssd trim, but maybe Ubuntu 10.04 LTS will since its based on a newer kernel.
    Clevo P170HMx: Intel Core i7 2960QM | Nvidia Geforce GTX 680m 4GB | 8GB DDR3 | Intel SSD 510 120GB | Seagate SSHD 1TB
    Accessories: QPAD QH-1339, QPAD MK-80 & Razer Mamba 2012.

    My YouTube channel | My Twitch.tv channel

  4. #4
    Notebook Evangelist
    Join Date
    Feb 2006
    Posts
    405
    Rep Power
    23

    Default Re: ssd trim in ubuntu?

    I'm fairy sure 9.04 doesn't support ATA Trim. Neither does 9.10.

    Linux has full Trim support only since 2.6.32. (According to Wikipedia, Trim was prepared in 2.6.28 but not fully implemented.)

    Since 10.04 LTS will use 2.6.32, it should support Trim (it seems some of the necessary changes on the file system side have already been implemented with Karmic).

  5. #5
    Notebook Evangelist
    Join Date
    Feb 2006
    Posts
    405
    Rep Power
    23

    Default Re: ssd trim in ubuntu?

    Just a quick update on this: while 2.6.32 supports the ATA TRIM command, it only does so for the btrfs file system. The 2.6.33 kernel released today now also supports it on ext4, nowadays the default file system in many distros.

    However, in the standard config, support for TRIM is not activated. Let's hope our favorite distros will enable it nevertheless during the upcoming release cycle.

  6. #6

    Join Date
    Sep 2008
    Posts
    6,800
    Rep Power
    52

    Default Re: ssd trim in ubuntu?

    I'm not sure it was in any flavor of 2.6.32, but it's surely in vanilla 2.6.33. This patch came 1 day after .32 was released:
    http://git.kernel.org/?p=linux/kerne...84f55ca330a80c

  7. #7
    Trailblazer
    Join Date
    Jul 2007
    Location
    Rockville, MD
    Posts
    3,700
    Rep Power
    33

    Default Re: ssd trim in ubuntu?

    Well it's not like the OP can't compile it's own kernel right? Unless they have changed the procedure, I'll I had to do was download a tarball, select whatever options I wanted to have on the kernel when creating the makefile, launch the build and go outside while the computer was crunching numbers... It is fairly straightforward.

  8. #8
    Notebook Evangelist
    Join Date
    Feb 2006
    Posts
    405
    Rep Power
    23

    Default Re: ssd trim in ubuntu?

    ^^^ agreed, if OP doesn't mind grabbing a 2.6.33 vanilla and compiling it, there should be no problem.

    i'd be interested to hear if somebody knows more. all i figured is that trim must still be somewhat experimental since it's deactivated by default.
    Last edited by jasperjones; 25th February 2010 at 12:12 PM.

  9. #9
    Notebook Consultant
    Join Date
    Apr 2008
    Posts
    158
    Rep Power
    17

    Default Re: ssd trim in ubuntu?

    Is the TRIM tool restricted to Intel SSDs?

  10. #10

    Join Date
    Sep 2008
    Posts
    6,800
    Rep Power
    52

    Default Re: ssd trim in ubuntu?

    No, TRIM is a (mostly) standard ATA command, so any drive that implements it (some need firmware updates, etc) should work given a filesystem (and kernel) that supports it.

 

 
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
  •  
All times are GMT -4. The time now is 12:25 AM.
Powered by vBulletin® Version 4.2.2
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.1