Is it practical to mount swap /var and /tmp on a fast SD card to save the SSD?
I bought a compact 1Ghz Core Two Duo laptop on which I plan to install Arch, max RAM size in the specs is 2Gb. To enhanced speed, battery life, and durability, I replaced the 80Gb spinning drive it came with with a new 120Gb OCZ Vertex 2 (not the latest version I realize). The concensus seems to be that 2Gb RAM is not enought to run w/o swap, though I am more than willing to forgo suspend/resume. The system also has a build in SD card reader. If I put swap /var and /tmp on a quality brand class 10 eight gig SD card, would it be fast enough or would I be counteracting all the gains from the SSD in the first place. I realize I might be setting myself up for a hassle the day the SD fails, as I'm guessing even an identically prepared SD wouldn't just be pop in pop out as the device ID's would be different. Also, I would expect to lose the function of the SD slot (would ejecting the volumes containing swap /var and /tmp bring everything to a halt or could one quickly swap to another card to access files?).
|
Quote:
Quote:
If you must play with / directories, you can play with /home. This one eats plenty of space, but the system can go on even if disconnected. Hope it helps. Goodluck. mm |
On 1.5GB ram, I've never gone into swapping. (although I don't do any video editing either!)
When I was using an SSD with 512MB ram, My system used to freeze whenever it began swapping as the write speed of that SSD was very slow. I wouldn't recommend putting a swap partition on an SSD or even an SD for this very reason. |
The OCZ Vertex 2, despite being a little bit older, is faster than any spinning HDD. I personally think that the "wear out thing" on SSDs is a part of the past, on modern SSDs it is said that you have a lifetime of about 35TB writing (example from Intel), which means if it should last 5 years you have to write about 20GB every day. So I personally don't care about the lifetime, I would just put it on the SSD.
|
Thanks everyone, now I have a better idea of what my options are. I have a more powerful system for video editing, this is indended to be my portable work system. What I may do is create a swap on the SSD but not enable it in the install until I see if it is needed. This will replace my 5" UMPC, I decided I either needed a bigger screen or a better optomitrist :)
|
Easy enough to run it without a swap partition. If you need it later you can add in swap file.
|
All times are GMT -5. The time now is 06:01 PM. |