linux-il  

Re: how to make a processes mem unswappable ?

Vitaly
Wed, 05 Sep 2007 23:40:54 -0700

On 9/6/07, Erez D <[EMAIL PROTECTED]> wrote:
>
> hi
>
> i have a process (vmware running XP) and it runs ok if i alloc 512MB ram
> to it. however if i allocate a lot of memory to it (2GB out of my 4GB RAM),
> it runs very slowly.
> i susspect that the problem is that linux swaps part of it.
> how can i make this process's memory unpagable and unswappable, i.e.
> always resident in real mem ?
>
>
> erez.
>

What is output of "free" - do you really see swap usage?