[CentOS] way to keep program in memory

Brian T. Brunner brian.t.brunner at gai-tronics.com
Thu Oct 13 15:41:08 UTC 2005


Would 'man 2 mlock' help?

Brian Brunner
brian.t.brunner at gai-tronics.com
(610)796-5838

>>> geisj at pagestation.com 10/12/05 05:47PM >>>
Is there a way to specify that program X should be kep in memory and not 
swap it out?
I have a program that takes some time to load and as long as you keep 
using it its responsive
but if after sometime its not in use and now I use it it has a slow 
response till it gets swapped back in.

The box in question has 1 GIG ram and its not running much else just 
this program really. Just looking
for a way to keep it in RAM.

Thanks,

Jerry
_______________________________________________
CentOS mailing list
CentOS at centos.org 
http://lists.centos.org/mailman/listinfo/centos

*******************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.

www.hubbell.com - Hubbell Incorporated



More information about the CentOS mailing list