DEV Community

Discussion on: What is The Linux Swap Partition?

Collapse
 
ferricoxide profile image
Thomas H Jones II

Note: Some applications (looking at you, Oracle) will still demand swap (their installers' pre-flights will abort if swap is "too small") ...even though, if they ever had to use it, it would cripple their performance.

In the past, some operating systems (only specifically aware of IRIX) offered the ability to "lie" to applications' pre-flights by allowing one to specify "virtual swap". Basically, phantom "swap" that allows installers' pre-flights to pass without having to waste scads of disk for something that should never really be used. After all, does it make sense to be forced to allocate 1TiB to swap just because your system has 512GiB or RAM?

Collapse
 
xeroxism profile image
Alexander Omorokunwa

Thank You very Much for reading, high Appreciated!

Anyway, My straight answer is No (kind of).

First, 512GB of RAM is a lot and should be enough.

Secondly, Many Linux distros handle the amount of appropriate swap partitions to create automatically during installation.

Thanks man for reading. Stay awesome!