Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Ubuntu 14.04 Finally Enables SSD TRIM By Default

  1. #1
    Join Date
    Jan 2007
    Posts
    13,424

    Default Ubuntu 14.04 Finally Enables SSD TRIM By Default

    Phoronix: Ubuntu 14.04 Finally Enables SSD TRIM By Default

    The 14.04 "Trusty Tahr" operating system release will be the first version of Ubuntu Linux shipping SSD TRIM support by default...

    http://www.phoronix.com/vr.php?view=MTU0NjA

  2. #2
    Join Date
    Sep 2008
    Location
    Toulouse France
    Posts
    16

    Default too early ?

    adding discard options to ext4 on SSD is not a good idea.
    when removing a lot of small files (make clean ?), it can freeze a computer for 5-10min.
    it's the case on my laptop (quad-core with 6G RAM), and a better method is to add fstrim to a crontab.

    when I say freeze, I mean all keystroke/click are delayed by 30-40s, so it's completely unusable.

  3. #3
    Join Date
    Nov 2012
    Location
    France
    Posts
    459

    Default

    Quote Originally Posted by jockinator View Post
    adding discard options to ext4 on SSD is not a good idea.
    when removing a lot of small files (make clean ?), it can freeze a computer for 5-10min.
    it's the case on my laptop (quad-core with 6G RAM), and a better method is to add fstrim to a crontab.

    when I say freeze, I mean all keystroke/click are delayed by 30-40s, so it's completely unusable.
    I don't have this problem on my desktop (256 GiB Samsung 840 Pro, i7-2600 K, 8GB of RAM, running Xubuntu 13.10). I don't notice anything like excessive RAM usage or something like that.

  4. #4
    Join Date
    Mar 2009
    Posts
    132

    Default

    So why could Windows add this in 2009?

  5. #5
    Join Date
    Dec 2007
    Posts
    139

    Default No problem here either

    Quote Originally Posted by jockinator View Post
    adding discard options to ext4 on SSD is not a good idea.
    when removing a lot of small files (make clean ?), it can freeze a computer for 5-10min.
    it's the case on my laptop (quad-core with 6G RAM), and a better method is to add fstrim to a crontab.

    when I say freeze, I mean all keystroke/click are delayed by 30-40s, so it's completely unusable.
    I am with Calinou, I have never had that issue. And even after months of updates apt-get clean is instantaneous. I do not compile a lot, and my projects are relatively small, but make clean is also instantaneous for me.

    I am using Debian Sid/Jessie not Ubuntu.

    For 99% of users discard is a good idea. For people like you, you are smart enough to edit fsatb and use crontab instead.

  6. #6
    Join Date
    Nov 2009
    Location
    Italy
    Posts
    872

    Default

    I use Gentoo and I never had such an issue on my Intel X25-M G2
    ## VGA ##
    AMD: X1950XTX, HD3870, HD5870
    Intel: GMA45, HD3000 (Core i5 2500K)

  7. #7
    Join Date
    Aug 2013
    Posts
    80

    Default

    So they're using fstrim and a daily or weekly cron job.

    Does anyone know how Windows does it? I keep hearing that neither discard nor fstrim with a cron job are ideal (which was why there was such a long debate on whether or not to enable TRIM by default) and Windows does it completely differently but no one knows how.

  8. #8
    Join Date
    Mar 2013
    Posts
    175

    Default

    Quote Originally Posted by Ferdinand View Post
    So why could Windows add this in 2009?
    Linux could do that too. It only didn't because you didn't write required patches back in 2009. Linux is free mate, nobody is stopping you from adding support for anything.

  9. #9
    Join Date
    Aug 2012
    Location
    Pennsylvania, United States
    Posts
    1,749

    Default

    Quote Originally Posted by prodigy_ View Post
    Linux could do that too. It only didn't because you didn't write required patches back in 2009. Linux is free mate, nobody is stopping you from adding support for anything.
    Its actually funny cause according to: http://en.wikipedia.org/wiki/Trim_%2...system_support Linux had TRIM support before Windows did :P

  10. #10
    Join Date
    Mar 2009
    Posts
    132

    Default

    Quote Originally Posted by prodigy_ View Post
    Linux could do that too. It only didn't because you didn't write required patches back in 2009. Linux is free mate, nobody is stopping you from adding support for anything.
    Linux is free and is all about choice. Your comment assumes that my choice of paying for an expert to do it for me does not exist in the Linux world. I hope you will never use that 'argument' again.

Posting Permissions

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