On 15/12/17 12:17, James Knott wrote:
I don't see anything that says swap must be 2x memory, as some claim. I see it can be any amount according to the above, but 2 GB recommended. The thing about swap is it's virtual memory. It pretends to be memory space. This means, the more memory you have, the less swap you need. That's always been the case for as long as I can remember, on any OS.
Linux kernel 2.4.x? Those who do not remember history are condemned to repeat it ... The original Unix swap algorithm requires twice ram. When Linus ripped all the optimisation code out of the early 2.4 kernel series, they also required twice ram (or none at all). For most of its history, the twice ram rule has been a "needed for optimum performance", not a hard and fast "needed or it won't work" rule, but it is solidly based in historical fact. For traditional Unix, and pre-2.4 linux, even if it wasn't a hard requirement it also had a real performance impact thanks to the optimisations required to deal with "too small" swap spaces. I don't know whether the result of the kerfuffle with 2.4 was a "new improved algorithm", or an improved optimisation of the old one, so I don't know what the current situation is. Cheers, Wol -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org