Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21549 ideas, 132424 comments, 2606791 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #22475: ssd-mode should tweak several system settings with one choice

Written by TuxHHG the 15 Nov 09 at 17:20. Category: Hardware support. Related project: Nothing/Others. Status: New
Rationale
Karmic is out, with the new ext4 filesystem. Which settings benefit a ssd drive? None at the moment, the user have to tune several things by hand and run in open bugs at lauchpad while doing this. Lots of wiki pages are available but most of them did not run cause of karmic structure changes.


-1
votes
closed
Solution #2: One not so simple ssd-mode package
Written by RinoJohnsen the 11 Dec 09 at 23:33.
Solution #1 is a nice idea, but don't stop there. Some of us have these expensive ssd disks and they can take as much read and write as any harddrive. Some of us don't care about mounting to /tmp and/or ramdisk, but speed ! My idea is when you choose which disk you want to partition - you can mark it as an ssd disk. Underneath you can choose options like the powermanager; Performance or 'safety'(?) - mode. Default could be 'safety' mode at the time being as there is more of those ssd's around.
1
votes
closed
Solution #3: Automatic recognition of SSD and tweaking
Written by walkeer the 16 Dec 09 at 17:57.
Dont bother users with things they dont understand. Apply safe tweaks like elevator=noop or noatime automatically for all SSD using whitelist and ask them ones if they prefer to loose logs with every shutdown or if they prefer to sync them on very shutdown, which results in much less writes and ssd stress.

Propose your solution

Attachments
No attachments.


Duplicates


Comments
Darwin Survivor (Brainstorm moderator) wrote on the 15 Nov 09 at 22:54
Adding an SSD mode to ubuntu would give linux yet another advantage over Windows/Mac.

mikaelstaldal wrote on the 16 Nov 09 at 14:00
To be precise, /tmp etc should be mounted as tmpfs, which is different (and better) than ramdisk.

BTW, mount /media and /var/log as tmpfs too.

TuxHHG wrote on the 18 Nov 09 at 20:16
Yes a short list.

/var/log
/tmp
/var/tmp
as tmpfs ramdisk in memory.

Reduce logging to single adhoc file in tmpfs, without logrotate or save all in a batch to disk at shutdown. A simple netbook is not a server so noone need tons of logfiles for forensics.
Set swappiness, noatime, io-scheduler, filesystem tweaks in proper places.

So we can benefit from a faster and long living ssd.

dughutch wrote on the 19 Nov 09 at 16:57
This is an excellent point... SSD's are fast coming into the mobile market and many of us are purchasing them for the longer battery life AND the speed... having a recommendation for automatically tweaking the install when ubuntu detects an SSD would make us one more step ahead.

doug

TuxHHG wrote on the 22 Nov 09 at 08:55
At the moment most tiny computers comes with a ssd boards with controller that fake a harddrive. They use raid, wear levelling and some firmwares do defrag when idle. Yes we need something like logfs for real flashdrives and sticks at ubuntu setup. But on real ssd drives with controller and buffer we have to reduce unnecessary write cycles.

slashdotaccount wrote on the 23 Nov 09 at 14:57
Atime is last access time, which is different from last modification time!
More info -> http://kerneltrap.org/node/14148

TuxHHG wrote on the 14 Jan 10 at 16:52
Netbooks comes with 1gb of ram caused by m$ license politics. Typical UNR needs around 170mb of ram, noone runs big servers on them so much ram is free available to store temporary files. These files goes lost at powerdown and no further service for cleaning up /tmp must be applied.


Post your comment