Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SSDs, swap, caching, other unusual uses
Date: Sat, 30 Jul 2011 09:28:09
In Reply to: [gentoo-user] SSDs, swap, caching, other unusual uses by Michael Mol
1 Am 29.07.2011 20:18, schrieb Michael Mol:
2 > Something that's been tickling my brain for a couple years now, and
3 > you guys are probably the right ones to ask.
4 >
5 > I haven't dropped coin for an SSD (yet), but I was wondering about
6 > uses for them beyond using them for / or /home.
7 >
8 > 1) What about sitting swap (partition, file, whatever) on the SSD?
9 > Presumably, in scenarios where expanding the RAM in a system is
10 > prohibitively expensive, an SSD could reduce the impact of swap
11 > thrash.
12 >
14 Sure why not. However, if you plan to swap constantly, I'd recommend
15 doing a prediction of the life-time. For normal usage, the number of
16 possible write cycles should be sufficient.
17 >
18 > 2) While my system rarely goes above using 2-2.5GB of RAM, I enjoy
19 > having 6-8GB of RAM, just for the file cache. Of course, I lose that
20 > when I reboot; the cache needs to be repopulated. Has there been any
21 > work in the kernel for doing things like Vista/Win7's ReadyBoost?
22 > ReadyBoost has a ridiculous limit to only using 4GB of a flash drive,
23 > but I'd think that an 80GB SSD would be a massive performance
24 > improvement.
25 >
27 You should try sys-kernel/tuxonice-sources for suspend-to-disk. It
28 preserves the cache as well.
30 > Obviously, for something like Gentoo, putting an SSD-based filesystem
31 > under /var/tmp makes a lot of sense, but what other uses have been
32 > tried? How'd they work out?
33 >
35 Ruggedized PC sitting on top of the rotor head of a helicopter, making
36 videos of the blade movement. Works well, but the SATA connectors tend
37 to fall off. ;-)
39 Regards,
40 Florian Philipp


File name MIME type
signature.asc application/pgp-signature