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
change vm.swappiness=0 form it's default.
Jerry Geis wrote:
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@centos.org http://lists.centos.org/mailman/listinfo/centos