swap space setup in Linux
Moderator: Reach-Native-gp
-
- Posts: 16
- Joined: Thu Oct 01, 2020 4:13 pm
swap space setup in Linux
How to setup swap space in linux?
-
- Posts: 21
- Joined: Thu Oct 01, 2020 4:10 pm
Re: swap space setup in Linux
If the Huge Pages is set up on a Linux system, the swap space on that machine should be equal to the size of your physical memory minus the size of your Huge Page (because Linux Huge Pages are not swapped), or 32GB, whichever is lower. For example, if you have 64 GB of physical memory, and if you have Huge Pages set to 24 GB, then you need swap space of 40 GB (64 - 24).