Conversation:
Notices
-
!linux !debian 1 more question: I'm going for a box with a 120GB SSD as 'main' drive + eSATA RAID. where to put swap? SSD/RAID/internal HD ?
-
@marjoleink Question is if you really need swap. If you will not be using it I think it is a bad idea to waste space on SSD.
-
@marjoleink On the other hand If you will be using it often definitelly go with the SSD.
-
@marjoleink IMO don't put the swap on RAID. If something strange should occur it would be hard to recognize, perhaps.
-
@piorekf @happy5214 @dper thanks! excuse my ignorance when/why would I NOT be using/needing swap?
-
@marjoleink you need swap if your RAM is insufficient for your needs or for hibernation
-
@r7 I've used hibernation on laptop, never desktop (which often runs backups while I sleep). I'm getting 16GB RAM - but: graphics editing...
-
@marjoleink photo/graphic editing can be very memory intensive
-
@r7 exactly - although 16GB is a big jump up from my current (effective) 3GB, I'm now often hitting the limit.
-
@r7 I think the Mobo supports up to 32GB, so there's room to grow. Guess I could start sans swap and see how it goes...
-
Don't disable swap: you want it so that Linux can move allocated-but-idle memory there to free up RAM for active use.
-
A less intuititive gain: using swap makes reading/writing files on disk faster http://status.hackerposse.com/url/1837
-
@rozzin interesting. my understanding is if I don't disable it AND don't assign a partition, it will be shared under / - correct?
-
@rozzin or are you suggesting I should assign a swap partition on the SSD? if so, how large (given 16GB RAM)?
-
@rozzin interesting read, thanks!
-
@marjoleink Swap is used when your actual memory runs out. If you have a lot of RAM and won't use it all, you won't use swap.
-
Considering eschewing disk-based swap and using zram? http://identi.ca/url/73637602
-
@samatjain thank, I could look into that. First, with 16GB of RAM, I need to find out if I need swap at all...
-
@samatjain, #zram is interesting, but I can't see it doing as much for FS buffer-cache as disk-backed swap does.
-
@rozzin I don't understand… what does disk-based swap do for fileystem buffer cache? Didn't think it did anything?
-
@samatjain, see my comments/link earlier in the thread.
-
@rozzin Interesting read. But something I've noticed when I've 8+ GB RAM… swap is rarely touched, and usage _never_ goes past few MB
-
`How much extraneous crap you can offload to swap' is highly dependent on how much extraneous crap you have running, of course ☺
-
Right now, I've got 4 GB of my HDD in cache + ½ GB in buffer, 3 GB of live data in RAM, 50 MB of crap offloaded to swap, +½ GB totally free.
-
Try running #miro and experience a change in your experience. ;-)
-
@rozzin I guess it all comes down to the non-answer… "it depends"