Re: performance: using mlock(2) on httpd parent process

2002-03-20 Thread Stas Bekman
Hi Scott, On Wed, 20 Mar 2002, Stas Bekman wrote: mod_perl child processes save a lot of memory when they can share memory with the parent process and quite often we get reports from people that they lose that shared memory when the system decides to page out the parent's memory pages because

Re: performance: using mlock(2) on httpd parent process

2002-03-20 Thread Aaron Bannert
On Thu, Mar 21, 2002 at 02:14:04AM +0800, Stas Bekman wrote: But if the system needs to page things out, most of the parent process's pages will be scheduled to go first, no? So we are talking about a constant page-in/page-out from/to the parent process as a performance degradation rather

Re: performance: using mlock(2) on httpd parent process

2002-03-20 Thread Ian Holsman
Aaron Bannert wrote: On Thu, Mar 21, 2002 at 02:14:04AM +0800, Stas Bekman wrote: But if the system needs to page things out, most of the parent process's pages will be scheduled to go first, no? So we are talking about a constant page-in/page-out from/to the parent process as a performance

Re: performance: using mlock(2) on httpd parent process

2002-03-20 Thread Aaron Bannert
On Wed, Mar 20, 2002 at 11:19:44AM -0800, Ian Holsman wrote: FWIW, Solaris 8 introduced priority paging, which basicly means that pages that are non-executable will be swapped out earlier than higher-priority executable pages. This of course introduces nasty little tricks like marking a data

Re: performance: using mlock(2) on httpd parent process

2002-03-20 Thread Stas Bekman
Scott Hess wrote: On Thu, 21 Mar 2002, Stas Bekman wrote: On Wed, 20 Mar 2002, Stas Bekman wrote: mod_perl child processes save a lot of memory when they can share memory with the parent process and quite often we get reports from people that they lose that shared memory when the system

Re: performance: using mlock(2) on httpd parent process

2002-03-20 Thread Scott Hess
On Wed, 20 Mar 2002, Stas Bekman wrote: mod_perl child processes save a lot of memory when they can share memory with the parent process and quite often we get reports from people that they lose that shared memory when the system decides to page out the parent's memory pages because they are

performance: using mlock(2) on httpd parent process

2002-03-19 Thread Stas Bekman
mod_perl child processes save a lot of memory when they can share memory with the parent process and quite often we get reports from people that they lose that shared memory when the system decides to page out the parent's memory pages because they are LRU (least recently used, the algorithm

Re: performance: using mlock(2) on httpd parent process

2002-03-19 Thread Greg Stein
On Wed, Mar 20, 2002 at 12:02:53PM +0800, Stas Bekman wrote: mod_perl child processes save a lot of memory when they can share memory with the parent process and quite often we get reports from people that they lose that shared memory when the system decides to page out the parent's memory

Re: performance: using mlock(2) on httpd parent process

2002-03-19 Thread Stas Bekman
Greg Stein wrote: On Wed, Mar 20, 2002 at 12:02:53PM +0800, Stas Bekman wrote: mod_perl child processes save a lot of memory when they can share memory with the parent process and quite often we get reports from people that they lose that shared memory when the system decides to page out the