Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

One Quad CPU Quad Cored or Two Dual CPU Dual Cored Servers?

Which is better?

7:24 am on Jun 9, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:July 25, 2003
posts: 608
votes: 0

Any truth to this?

Running both Apache and SQL on one server with quad CPUís, Quad cored (one 16 CPU server) with each service running on a separate dedicated 15,000RPM SCSI drive would perform better than running my current configuration of two separate servers for each service, cross connected, which are running on dual CPUís dual cored (two 4 CPU servers).

With the argument being that by removing the cross connect, this will keep all data on the same mother board and not going in/out of the NICÖ and by using dedicated drives for the two main services, I will get better performance.

Hence, by going to this configuration, I can afford to buy two servers in two different DCís and load balance between the two, giving me redundancy that I very much want after hearing of the ThePlanet mishap (it is a warning sign) in Houston.

Thanks for your input.

2:19 pm on June 10, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 13, 2005
votes: 0

Your web server software and your DB shouldn't be on the same server, not only for performance reasons, but also for security reasons. If someone hacks your web server they will have access to your DB as well.

For performance, it is much better to have them separated out as it will lead to a much easier upgrade solution. Let's say you double your traffic, your DB will be able to keep up with the increase, but your web server won't. All you need to do is add in another load balanced web server and you are good to go.


11:32 pm on June 14, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 12, 2004
votes: 0

We've done pretty much what you're describing, but completely in a Windows environment. The primary server serves pages significantly faster with the db on the same motherboard and the backup box is always there for backup. With one server it stands to reason that site failure is half as likely as with 2.

I understand the security implications, but if 1 box is compromised, all servers on the LAN are suspect anyway. I'd rather be able to replace the complete system in one box.

As for upgradability, that could be a problem in some instances, but my server CPU averages less than 4 percent usage. By the time I outgrow this type of set up I will be able to afford my own datacenter.

12:40 am on June 15, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 8, 2004
votes: 0

Go for redundancy, ie 2 servers. 16 CPUs (or cores) in one server might be hard to load fully in real life scenarios, so you might end up with lots of spare CPUs that you can't take advantage off because you are disk limited. Also having too many CPUs (especially Intel ones - AMD uses hypertransport which is much better than bus approach Intel currently uses, but this will change later this year) results in increased overheads, so I think overall you will gain more by having 2 servers, though you need to factor in increased hosting costs.