DEV Community

Alexander Omorokunwa
Alexander Omorokunwa

Posted on • Originally published at fossnaija.com on

What is The Linux Swap Partition?

During the installation of many modern Linux distributions, the hard drive (HDD) is automatically partitioned with the necessary file system (which include the Swap partition) to make the installation process simple as possible. After installation you can check your swap partition by entering the ‘free’ command in the terminal: But there are some… Read More »

The post What is The Linux Swap Partition? appeared first on Foss Naija.

Top comments (2)

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!