Showing results for 
Search instead for 
Do you mean 

reserved swap

Advisor

reserved swap

Not sure if this is a silly question or not, but have an enquiry from a customer that when we copied /opt/omni to its own file system it increased his reserved swap! Is there any method of clearing reserved swap down ?
6 REPLIES
Honored Contributor

Re: reserved swap

Swap space is used as a backing store for the running processes. Usually, the data that is backed by a file on the system is not swapped (as it can be retrieved from the disk where the file resides). So, I don't see any connection between the two.
Advisor

Re: reserved swap

Thanks - we did try tell the customer it was not related !!!

Is there a way we can clear it down to keep them happy ?
Honored Contributor

Re: reserved swap

More or less, you can configure the vm subsystem in the /etc/sysconfigtab like this:

vm:
vm-swap-eager = 0

You need to reboot. With this kernel parameter, reserver swap is not used anymore.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Honored Contributor

Re: reserved swap

Yes, you could afford to turn off 'eager mode' if you have a huge RAM space. This way, the swap space is allocated to the process only when the actual swapping occurs.
Advisor

Re: reserved swap

Thanks for the replies
Advisor

Re: reserved swap

Will pass on the comments to the customer regarding the kernel parameter
//Add this to "OnDomLoad" event