Re: how to make a processes mem unswappable ?
--- 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]
Re: how to make a processes mem unswappable ?
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?
how to make a processes mem unswappable ?
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.