Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-08-01 Thread Dave Hodgkinson
Wait. Is this the one with the horrible bug that knackers OO? On 25 Jul 2011, at 23:43, Christopher Stanton wrote: > Requires: perl >= 5.8.8-32

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-08-01 Thread Perrin Harkins
On Wed, Jul 27, 2011 at 8:36 AM, Christopher Stanton wrote: > Which benchmark module would work best with mod_perl, Perl 5.8 and Perl 5.12? For web apps, I usually write my own test with LWP (or HTTP::Async if you want to simulate a lot of users). To see where things are slow, use Devel::NYTProf

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-27 Thread Christopher Stanton
Which benchmark module would work best with mod_perl, Perl 5.8 and Perl 5.12? On Wed, Jul 27, 2011 at 7:22 AM, Dave Hodgkinson wrote: > > On 26 Jul 2011, at 18:58, Christopher Stanton wrote: > >> I will see if I can get Perl 5.12 and an associated mod_perl up and >> running on the problem machine

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-27 Thread Dave Hodgkinson
On 26 Jul 2011, at 18:58, Christopher Stanton wrote: > I will see if I can get Perl 5.12 and an associated mod_perl up and > running on the problem machine and see if the CPU utilization goes > down. Is benchmarking out of the question?

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-26 Thread Christopher Stanton
I will see if I can get Perl 5.12 and an associated mod_perl up and running on the problem machine and see if the CPU utilization goes down. Long long ago in a install far far away I did not run into this issue on FC4 which has very similar packages other than apache (2.0 rather than 2.2): Require

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-26 Thread Perrin Harkins
On Mon, Jul 25, 2011 at 6:43 PM, Christopher Stanton wrote: > I am seeing high cpu utilization under RHEL5.6 which I don't see on > FC14. We are talking sub 10% on FC14 vs 80% on EL5. This is on > different hardware, but not that different. Well, you've changed hardware and lots of software versi

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-25 Thread Christopher Stanton
Before I start playing mix-and-match with kernels, I would prefer some feedback on mod_perl and the script's code. It doesn't sleep in the main loop, but it should block on my @ready = $select->can_read(1); and not block on if ( $sock->read(my $data, POSIX::BUFSIZ*10) ){ since the socket is set w

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-25 Thread Fred Moyer
On Mon, Jul 25, 2011 at 4:02 PM, Christopher Stanton wrote: > Neither install is running within VMWare. Might be worthwhile trying a different rate though, or going tickless. Perl 5.8.8 isn't that much (if at all) slower than 5.12. Looks like the FC14 kernel is tickless: http://docs.fedoraproj

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-25 Thread Christopher Stanton
Neither install is running within VMWare. On Mon, Jul 25, 2011 at 5:55 PM, Fred Moyer wrote: > This may not be related, but when I was working with Centos 5 in a > Vmware environment, I ran into an issue of high cpu since the default > clock rate with Linux 2.6 is 1000Hz.  I changed to a 100Hz cl

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-25 Thread Fred Moyer
This may not be related, but when I was working with Centos 5 in a Vmware environment, I ran into an issue of high cpu since the default clock rate with Linux 2.6 is 1000Hz. I changed to a 100Hz clock rate and got much lower cpu usage. I'm not sure if that is your issue, perhaps FC14 was using le

High CPU utilization on RHEL5.6/CentOS5.6

2011-07-25 Thread Christopher Stanton
I have a MJPEG streaming system which uses mod_perl in the web interface to supply the final stream to the client. I am seeing high cpu utilization under RHEL5.6 which I don't see on FC14. We are talking sub 10% on FC14 vs 80% on EL5. This is on different hardware, but not that different. And on E