Results 1 to 9 of 9
Thread: E6600 is slower than P4 2.8G??
-
09-02-2007, 01:04 PM #1Newbie
- Join Date
- Dec 2005
- Posts
- 9
E6600 is slower than P4 2.8G??
i had an p4 2.8g db server, centos4+mysql4.1. the cpu usage went up to 9X% at peak time (web pages loaded within 2~3sec), so i decide to swtich to a new server with a faster cpu. the new box is core 2 duo e6600, centos5+mysql5.0, having same RAM and HD with the old box. surprisingly , the cpu usage keeps above 150% almost all the time, and web pages cost 10+seconds to load at peak time.
how is it possible? what is the problem here? is the cpu, os, or mysql?
-
09-02-2007, 01:33 PM #2Web Hosting Evangelist
- Join Date
- Aug 2002
- Posts
- 484
The E6600 is much, much faster than the Pentium 4 2.8 GHz.
-
09-02-2007, 01:46 PM #3Aspiring Evangelist
- Join Date
- Jun 2004
- Location
- Tampa Florida
- Posts
- 428
Remember that Mysql 5 is a good deal slower than 4.1 So that is going to cause more load. You will want to look over what is running on the OS. As a web server, when apache and mysql arent running, there should only need to be about 10 to 20 processes running on the system. By default, CentOS5 has a lot of stuff running taking up CPU time.
Rock solid hosting and dedicated servers since 1998!
StabilityHosting Where stability and uptime are king!
-
09-02-2007, 04:18 PM #4Newbie
- Join Date
- May 2006
- Location
- NYC, US
- Posts
- 27
-
09-03-2007, 10:17 AM #5Temporarily Suspended
- Join Date
- Oct 2003
- Location
- Hanoi
- Posts
- 4,309
I dont have E6600, but my E6300 is running much better than the old P4 3GHz.
-
09-05-2007, 08:02 AM #6Web Hosting Evangelist
- Join Date
- Dec 2006
- Posts
- 480
Remember that Mysql 5 is a good deal slower than 4.1
bjhuang: Check the mysql configuration file for both servers - maybe you aren't allocating enough memory to it in the new box or run mysqlreport from hackmysql.com
-
09-05-2007, 09:59 AM #7Web Hosting Guru
- Join Date
- Mar 2005
- Location
- Maine, USA
- Posts
- 311
Try installing the SMP kernel and see if that makes a difference. Also could try the 64bit version, but I am not sure if you need to reinstall to do that.
-
09-05-2007, 09:08 PM #8Newbie
- Join Date
- Dec 2005
- Posts
- 9
Code:# uname -a Linux dbserver 2.6.18-8.1.8.el5.centos.plus #1 SMP Sun Jul 15 12:09:29 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
there are no other unnecessary stuff running. mysqld takes 100%~200% of cpu in the TOP result all the time.
the my.cnf was copied from old to new box.
the apache service is running on the other box with centos4 and php4. could this be the problem? i mean php4+mysql5...?
-
09-05-2007, 10:28 PM #9Temporarily Suspended
- Join Date
- Oct 2003
- Location
- Hanoi
- Posts
- 4,309
you can not use the same my.cnf for every box, especially with different hardware. Try to optimize it again with your current box