Recommended Partitioning Scheme for RHEL 7:
/boot partition - recommended size at least 1 GiB
root - recommended size of 10 GiB
/home - recommended size at least 1 GiB
swap partition - recommended size at least 1 GB
Table 8.3. Recommended System Swap Space
|Amount of RAM in the system||Recommended swap space||Recommended swap space if allowing for hibernation|
|less than 2 GB||2 times the amount of RAM||3 times the amount of RAM|
|2 GB - 8 GB||Equal to the amount of RAM||2 times the amount of RAM|
|8 GB - 64 GB||4GB to 0.5 times the amount of RAM||1.5 times the amount of RAM|
|more than 64 GB||workload dependent (at least 4GB)||hibernation not recommended|
At the border between each range listed above (for example, a system with 2 GB, 8 GB, or 64 GB of system RAM), discretion can be exercised with regard to chosen swap space and hibernation support. If your system resources allow for it, increasing the swap space can lead to better performance.
Distributing swap space over multiple storage devices - particularly on systems with fast drives, controllers and interfaces - also improves swap space performance.
Many systems have more partitions and volumes than the minimum listed above. Choose partitions based on your particular system needs. See Section 220.127.116.11.1, “Advice on Partitions” for more information.