Re: [mp2] Memory not being shared

2005-02-12 Thread Kurt Hansen
Hello, Richard F. Rebel wrote: I sent a message just prior to this that contained a forward from the linux kernel mailing list that explains this further, but: The method you are using to check changed with 2.6.10 and may readily account for the changes you are seeing in your figures. In the end, y

Re: [mp2] Memory not being shared

2005-02-12 Thread Richard F. Rebel
Stas, As far as the kernel issue goes, you are right there has been changes. The meaning of 'SHARE' pages reported by the Linux kernel has changed over time. This does not necessarily mean your processes aren't sharing via COW pages, just in how the kernel reports them. I posted a response from

Re: [mp2] Memory not being shared

2005-02-12 Thread Richard F. Rebel
Hi Kurt, I sent a message just prior to this that contained a forward from the linux kernel mailing list that explains this further, but: The method you are using to check changed with 2.6.10 and may readily account for the changes you are seeing in your figures. In the end, you should not be u

Re: [mp2] Memory not being shared

2005-02-11 Thread Stas Bekman
I plugged vmonitor in the mp2 test suite (which loads a lot of modules) and the conclusions are as following: perl Size Share VSize Rss non-threaded: 24.8M 8.3M 24.8M 20.6M threaded: 30.4M 8.6M 30.4M 26.2M both running perl 5.8.6 under prefork mpm. so you can see that while ther

Re: [mp2] Memory not being shared

2005-02-11 Thread Kurt Hansen
Perrin Harkins wrote: I wonder if it has something to do with SMP. It would be good to try it on a kernel that is not compiled for SMP. It might be worth compiling your own kernel to test it. Running a non-threaded perl is always a good idea if you are not using threads. Performance will be bett

Re: [mp2] Memory not being shared

2005-02-11 Thread Perrin Harkins
On Fri, 2005-02-11 at 16:23 -0500, Kurt Hansen wrote: > What do y'all think would be my most fruitful next step, besides testing > out a new machine? Should I switch to static mp2? Non-threaded perl? > Eliminating perl modules to see if there is one causing the problem? Prayer? I wonder if it ha

Re: [mp2] Memory not being shared

2005-02-11 Thread Kurt Hansen
Perrin Harkins wrote: On Fri, 2005-02-11 at 12:54 -0500, Kurt Hansen wrote: Thanks for the help. I do preload almost all the modules in the startup.pl file. Here it is This looks okay to me. I have sometimes seen behavior like what you're experiencing on specific machines and not on other

Re: [mp2] Memory not being shared

2005-02-11 Thread Perrin Harkins
On Fri, 2005-02-11 at 12:54 -0500, Kurt Hansen wrote: > Thanks for the help. I do preload almost all the modules in the > startup.pl file. Here it is This looks okay to me. I have sometimes seen behavior like what you're experiencing on specific machines and not on others, while running identica

Re: [mp2] Memory not being shared

2005-02-11 Thread Kurt Hansen
Stas Bekman wrote: Kurt Hansen wrote: I'm having problems getting modules loaded at Apache start to be shared across the children. Here's the output I get from Apache::VMonitor (I've editted down to just 2 children): Size Share VSize RSS M Elapsed LastReq Srvd - - - -- -- --

Re: [mp2] Memory not being shared

2005-02-11 Thread Stas Bekman
Kurt Hansen wrote: Hello, I'm having problems getting modules loaded at Apache start to be shared across the children. Here's the output I get from Apache::VMonitor (I've editted down to just 2 children): Size Share VSize RSS M Elapsed LastReq Srvd - - - -- --

[mp2] Memory not being shared

2005-02-11 Thread Kurt Hansen
Hello, I'm having problems getting modules loaded at Apache start to be shared across the children. Here's the output I get from Apache::VMonitor (I've editted down to just 2 children): Size Share VSize RSS M Elapsed LastReq Srvd - - - -- -- -- 12: 89.