Portal Home > Knowledgebase > Articles Database > E6600 is slower than P4 2.8G??

E6600 is slower than P4 2.8G??

Posted by bjhuang, 09-02-2007, 01:04 PM
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?

Posted by kerplunk, 09-02-2007, 01:33 PM
The E6600 is much, much faster than the Pentium 4 2.8 GHz.

Posted by vantage255, 09-02-2007, 01:46 PM
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.

Posted by devmach, 09-02-2007, 04:18 PM
Hello, - Centos 5 in your new box, is it 64 Bit ? - Are old rams ok for new server's main board ?

Posted by gate2vn, 09-03-2007, 10:17 AM
I dont have E6600, but my E6300 is running much better than the old P4 3GHz.

Posted by RBBOT, 09-05-2007, 08:02 AM
What are you basing that on? When I was looking at a new box, I load tested a site using 3.23, 4.0, 4.1 and 5.0 with identical configuration settings when a feature was present in both versions, and found each newer version to be faster than its predecessor. 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

Posted by jzukerman, 09-05-2007, 09:59 AM
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.

Posted by bjhuang, 09-05-2007, 09:08 PM
ram is more than enough. ram usage keeps at 800M while the box has 2G. 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...?

Posted by gate2vn, 09-05-2007, 10:28 PM
you can not use the same my.cnf for every box, especially with different hardware. Try to optimize it again with your current box

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Linux Based Router (Views: 331)