Is swap space in Linux, something like reserved RAM?
Which avoids to display spikes and calculation lag?
Offcourse I know, I can't use 2GB RAM program, on 1.5GB RAM computer with 2GB swap.
But, if I use 2GB program and go for one calculation that uses in fact 2.5 RAM. So it won't "lag" or hang around, right?
Because there is not always enough Random Access Memory (RAM) available for compilation processes, it is a good idea to use a small disk partition as swap space. This is used by the kernel to store seldom-used data and leave more memory available for active processes. The swap partition for an LFS system can be the same as the one used by the host system, in which case it is not necessary to create another one.
Say "Linux From Scratch" docs.
Edited by RikTelner