Thanks, sysfce2, for making this posting, and for everyone who replied. I just bought a Corsair Force 115 GB SSD from Fry's Electronics on sale yesterday (today is the last day) that I want to put in my 3yo or so laptop. This SSD apparently has some conflicts between certain BIOSes and its firmware--it sounds ACPI-related, but with all the complaints from winblows lusers, it can be hard to tell. I guess I'll know soon enough, but with a 15 day return window--14 days now--I need to hurry to find out!
ANYWAY, my laptop has far lower specs than the one above: 2GB PC-5300 that came with it, which has been more than enough for Slackware, but not for the icky vista that came with it; and the single HDD bay with a Toshiba SATA-1 5400 RPM 160GB slower-than-molasses drive in it (and the reason I want to upgrade).
WRT tmpfs, /tmp is obvious, but I'm thinking most of the files in /var/log should go there as well, once the machine is running stable. Also, while the article says you just need to turn off caching in Firefox, that obviously won't help with Flash and other plugins, and since a lot of guys are redirecting ".macromedia" to /tmp or even /dev/null anyway (and, frankly, so am I), it seems linking a lot of those "." directories to /tmp may be the way to go.
WRT swap, you need it for hibernation functionality; also some things, like Firefox's (and especially Flash's) memory leaks and running the GIMP for any reason will usually send some stuff in there, but not really thrash much. It seems to me having some swap shouldn't hurt the device overall.
As for TRIM, this I do know: TRIM is currently only supported in EXT4 and BTRFS, courtesy of the "discard" command. Since BTRFS is not ready for production yet, that leaves EXT4.
I was about to write that I'm not sure "noatime" was needed, but then I read this from Ted T'so:
http://es.linuxfoundation.org/news-m...oatimerelatime
So I guess I'll be using "noatime", after all. That entry also debunks using EXT2/3.
I kind of lost my way in all the links of how I got there, but here's some comments from some VERY respected people on the subject:
First, Ted T'so's has blogged at least 3 times on SSD's. His blog's main page is at
http://www.linuxfoundation.org/blog/9
Second, Linus himself has weighed in on the subject; this link was from one of Ted's blogs:
http://www.realworldtech.com/forums/...92678&roomid=2
I find this bit the most interesting:
Quote:
Again, if your SSD vendor says "align to 64kB boundaries"
or anything like that, you really should tell them to go
away, and you should do what Val said - just get a real
disk instead. Let them peddle their crap to people who are
stupider than you, but don't buy their SSD.
So what you want to happen if you split an SSD into multiple
partitions is exactly nothing. It shouldn't matter
one whit. If it does, the SSD is not worth buying. If it is
so sensitive to access patterns that you can't reasonably
write your data where you want to, just say "No, thank you".
|
Wow. That's Linus for you. And if that's true, then--outside of TRIM/discard, we really shouldn't care how we set up our drives.
Anyway, I'm getting off work, so I'm "tying off" this message. I look forward to any comments when I look at this tomorrow.
Mike