TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ubuntu 14.04 LTS supports TRIM on SSD drives

98 点作者 maus80超过 11 年前

14 条评论

wfunction超过 11 年前
Instead of being happy, I'm rather horrified to learn that this hasn't been supported until now.
评论 #6948796 未加载
评论 #6949719 未加载
cookiecaper超过 11 年前
Mountain out of a mole hill. Glad someone got some sense knocked into them and enable this flag by default, but Linux has supported TRIM for a long time. It was just a matter of adding the mount option.<p>And by the way, last I checked there&#x27;s still a long laundry list of non-default incantations to optimize SSD usage on Windows, where you&#x27;re stuck harder because you don&#x27;t have control over things like the I&#x2F;O scheduler.
评论 #6949086 未加载
评论 #6948740 未加载
评论 #6948794 未加载
altero超过 11 年前
Trim has been already supported for years. It just was not on by default.
PeterWhittaker超过 11 年前
So it&#x27;s news that a feature supported on other platforms for anymore from months to years [1] will be supported on Ubuntu 5 months from now?<p>Huh. Colour me unimpressed.<p>[1] <a href="http://en.wikipedia.org/wiki/Trim_%28computing%29" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Trim_%28computing%29</a><p>Full disclosure: I was an Ubuntu user and tester (signed the c-o-c years ago) for years, switched to OSX on an Air a few months back, and cannot imagine going back to an inferior user experience on inferior hardware. Open source OS was an interesting experiment, begun to ensure access to my data, but given cloud apps with export capabilities and native OSS apps, I cannot imagine wanting to suffer another moment with an OSS user desktop. Server maybe. But even there my conviction levels drop....
评论 #6948966 未加载
评论 #6950089 未加载
评论 #6949039 未加载
评论 #6948907 未加载
评论 #6948875 未加载
mrinterweb超过 11 年前
That reminds me that I need to enable TRIM on my Ubuntu SSD. I usually do it, but I had forgot to do it with my recent install. I&#x27;ve used this article in the past (<a href="http://www.howtogeek.com/62761/how-to-tweak-your-ssd-in-ubuntu-for-better-performance/" rel="nofollow">http:&#x2F;&#x2F;www.howtogeek.com&#x2F;62761&#x2F;how-to-tweak-your-ssd-in-ubun...</a>). It is fun to measure your IOPS before and after.
评论 #6949920 未加载
mpweiher超过 11 年前
tl;dr &quot;Embarrassingly late, but at least in time for 14.04 LTS.&quot;
评论 #6948951 未加载
maus80超过 11 年前
Ubuntu 14.04 LTS has TRIM support for SSD drives out of the box. No need to setup a cron with the &quot;fstrim&quot; command or set the fstab &quot;discard&quot; option, like in earlier versions.
jberryman超过 11 年前
Can anyone comment on the contrary advice here, which is referenced from the debian SSD Optimization wiki page?:<p><a href="http://www.spinics.net/lists/raid/msg40916.html" rel="nofollow">http:&#x2F;&#x2F;www.spinics.net&#x2F;lists&#x2F;raid&#x2F;msg40916.html</a>
评论 #6948910 未加载
salient超过 11 年前
Now, if they can adopt F2FS (flash friendly file system) for SSD&#x27;s, that would be neat, too. On Motorola&#x27;s latest phones and in benchmarks it shows substantial performance difference (~50 percent more on average or so).
评论 #6949157 未加载
saboot超过 11 年前
Does this support encrypted drives? I had a really big pain trying to support an encrypted ssd under rhel 6, I gave up after an entire day of work.
评论 #6949872 未加载
评论 #6949548 未加载
suprjami超过 11 年前
What a terrible linkbait title.<p>This implies that Ubuntu hasn&#x27;t &quot;supported&quot; SSDs and the discard mount option. That&#x27;s inaccurate, TRIM has been in Linux since kernel 2.6.28–25 released in Dec 2008.<p>A more accurate title would be &quot;Ubuntu 14.04 adds fstrim cron job, so you don&#x27;t need to mount with discard anymore if you don&#x27;t want to&quot;.
nailk超过 11 年前
Wondering when they&#x27;re going to support Trim for Software Raid?
shurcooL超过 11 年前
This reminded me to do the chore again.<p><a href="http://img23.imageshack.us/img23/4143/1zx2.png" rel="nofollow">http:&#x2F;&#x2F;img23.imageshack.us&#x2F;img23&#x2F;4143&#x2F;1zx2.png</a>
knappador超过 11 年前
# cat &#x2F;etc&#x2F;fstab<p>...defaults,noatime,discard,barrier=0,commit=600<p>Linux consumers...