--- 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 ?
mlockall ?
You can invoke mlockall in the shared library and run
your VMWare with this library LD_PRELOAD'ed

Valery.
> 
> 
> erez.
> 



       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to