Best processors for web servers?


Recommended Posts

I don't know much about processors these days and i'm currently analysing my web servers specifications against cost and seeing where i can improve.

I need good processors for web servers running Linux (CentOS x64) WHM/CPanel and all related services, apache, ftpd, exim, sshd, mysql.

I currently have Intel Core2 Quad Q8200

Name Intel® Core2 Quad CPU Q8300 @ 2.50GHz Speed 2003.000 MHz Cache 2048 KB 4 cores

What is the better processor for my usage out of my current cpu's or processor below?

Intel Core i3-2120

Speed 3.30 Ghz

Cache 3 MB Cache

2 cores

Or any other recommended processors or these kind of tasks?

Link to comment
https://www.neowin.net/forum/topic/1113169-best-processors-for-web-servers/
Share on other sites

Web services usually aren't processor intensive if you build your app right so any modern cpu should work :) What web server/app server/app framework are you using? How much ram? what type of storage/disks? What is your expected load/hits/traffic like?

I don't know much about processors these days and i'm currently analysing my web servers specifications against cost and seeing where i can improve.

I need good processors for web servers running Linux (CentOS x64) WHM/CPanel and all related services, apache, ftpd, exim, sshd, mysql.

I currently have Intel Core2 Quad Q8200

What is the better processor for my usage out of my current cpu's or processor below?

Or any other recommended processors or these kind of tasks?

I'm currently running my web server on a Core i3-2120T, and for the incredibly low levels of load it receives it's really fast. It really depends on how much load you're expecting.

How much memory do you have? With a web server, especially running mysql on the same server, memory is probably a lot more important than your CPU. Unless you've got some huge amount of traffic? What is your traffic like?

Yeah as they said, CPU is only needed for high-load and database intensive operations (as well as memory but memory is more important).

I've got dual quad-core xeons with a server running 5 VMs including 2 web servers and 1 firewall and the CPU load is very low, the memory was at 15GB used of 16GB when I looked earlier.

Ok here we go,

Current specification

- Intel Core2 Quad Q8200
- 2GB Memory
- 2x 250GB 7200rpm Hard Disk
- CentOS 5.4
- cPanel Inc cPanel
- 5 TB Bandwidth[/CODE]

Using Apache/php/mysql/ftpd and all the rest of it..

The site hosts various frameworks, WordPress, vBulletin, Invision Powerboard, Cube Cart, Open Cart, OSCommerce, LemonstandApp, custom apps

I have about 30 accounts, most of them quiet, one of them really busy.

Biggest DB is the vBulletin forum with over 30k members, 55k hits/month, 3 million posts. site is quiet these days though.

I seem to have more issues with WordPress than anything else, it's a big target for spammers and if we get hit then i'll get a server load email saying it's too high, at one point i think we were being targetted by bots as it seemed to happen at the same time every night, 3/4am in the morning when really the server should be extremely quiet at that time.

The guy who looks after it has already disabled stats and lots of other non-essential tasks as it was making the server bork.

Last server load email:

[CODE]
1 Min Load Avg: 54.69
5 Min Load Avg: 12.96
15 Min Load Avg: 4.55
Running/Total Processes: 21/757


Output from vmstat:
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 103 453240 214936 9344 591552 1 1 26 110 2 1 3 1 90 5 0

Server uptime: 1 day 23 hours 59 minutes 57 seconds<-- note, only almost 2 days until last time it happened
Total accesses: 544082 - Total Traffic: 10.3 GB
CPU Usage: u.52 s.24 cu36.04 cs0 - .0213%
CPU load 3.15 requests/sec - 62.2 kB/second - 19.8 kB/request
114 requests currently being processed, 105 idle workers
[/CODE]

current loads:

[CODE]
System information
Server load 0.14 (4 CPUs)
Memory Used 25.88% (534,592 of 2,065,984)
Swap Used 0.01% (120 of 2,096,472)
[/CODE]

This is pretty low it's likely to rise throughout the day.

Another problem i've noticed: I have a client who has recently transfered their website to me, it is currently in development and i'm working on it for them, i noticed some pages were hanging only for 1 or 2 seconds but it was very noticeable i thought maybe the custom CMS had some bugs or something so i went back to the old host as the website is still online there.. it was so much faster, almost instant. so i started comparing page presses between 2 different servers, exact same site.. the load times on my server were noticeably worse.

Finally, this is the spec i've been looking at upgrading to:

[CODE]i3-2120 Dedicated Servers - Linux - Intel Core i3-2120
? Memory Options: 4 GB DDR3 RAM
? Hard Disk: 2 x 500 GB SATA
? Operating System: Linux CentOS 6.x
? Port Speed: Dedicated 100Mbit Port
[/CODE]

I'm just worried going from 4 cores to 2 cores will do more damage than good? but it does have a faster core and also is a much newer processor... so i still need to know which is the better performing CPU?

Any advice is appreciated, i just want something thats robust and can handle a kicking, as soon as i experience a high load the server borks and i'm sick of worrying about it..

If you're getting high loads due to having a WP blog you could make your own nifty additions to cut that down.

I.E. making javascript run and set a cookie, if it's not set then after 5 requests or so from that session just start serving empty pages. Or as some people and search engines have no javascript, and spambots will keep session data so that the can spam, make a new session variable to log how many requests they've made in the last minute, if it's over 60 then block their session and/or IP so it serves up empty pages.

Things like that are what you need to do :)

Is benchmarks a good thing to go by?

better benchmark = better performance?

see:

http://www.cpubenchmark.net/cpu_lookup.php?cpu=Intel+Core2+Quad+Q8300+%40+2.50GHz

http://www.cpubenchmark.net/cpu_lookup.php?cpu=Intel+Core+i3-2120+%40+3.30GHz

Also direct comparison here: http://ark.intel.com/compare/53426,39107 the i3 wins in every way except the cores.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft hides these secret Windows 11 performance boost settings available on every PC by Sayan Sen Windows enthusiasts often look for ways to extract as much performance out of their systems as possible, and it's often the case that they try and do so while trying to minimize the heat and power consumption. This is especially relevant in the case of mobile Windows PCs since laptops and notebooks tend to get hot and management of that heat and power is harder in such a form factor. As such users often turn to techniques like under-volting which can be used to squeeze out the maximum capabilities of a chip while also maintaining lowered power levels. There are official apps from AMD and Intel with the likes of Ryzen Master and XTU (Extreme Tuning Utility). While these are quite handy, most enthusiasts probably prefer to dig into the BIOS and play around with settings there like Curve Optimizer on Ryzen, which lets users set various frequency-voltage scaling values. These are essentially called P-States. If you are not familiar with them, Processor Power Management is done through Advanced Configuration and Power Interface (ACPI) P-states and C-states. While P-states or performance pwoer states handle CPU voltage-frequency scaling, C-states deal with CPU sleep states so that some of the CPU functions, which are not necessary at that moment, can be disabled. The P-states and C-states work together to make the processor run more efficiently. It helps the OS and apps determine which cores can be parked and which should be boosted. Of course not every user is an enthusiast or knows the technicalities and integrities of how things like overclocking or undervolting work. Thankfully for them Windows itself offers something pretty cool, though it is hidden by default on all systems. By default, Windows only has two P-States, "Minimum Processor State" and "Maximum Processor State." However, this can be changed with a Registry trick to expand the options under a secret "Processor performance boost mode" dropdown. This essentially enables the HWP or hardware P-States available on a device, and these are not controlled just by the OS itself as the underlying hardware gets involved too. In total there are five Processor Performance Boost Mode profiles that control how Windows requests and allows CPU turbo/boost behavior under the different power policies. They are: Disabled: In this mode, processor boosting is effectively turned off. The CPU will avoid entering turbo or boost frequencies and instead operate closer to its base frequency ceiling. This can significantly reduce power consumption and heat output, but at the cost of reduced burst performance and responsiveness in short workloads. Enabled: This is the standard behavior where boost functionality is allowed under normal conditions. The processor can opportunistically increase frequency when workload demands it, balancing performance gains with power and thermal constraints as managed by the system. Aggressive: Aggressive mode favors performance more heavily, allowing the CPU to enter higher boost states more readily and sustain them longer. This should in theory improve responsiveness under bursty or heavy workloads but increases power draw and thermal output compared to the default enabled behavior. Efficient Enabled: This mode still allows boosting, but with a stronger bias toward energy efficiency. The system attempts to use boost more selectively, avoiding unnecessary frequency spikes when the performance gain is marginal. Efficient Aggressive: This is a hybrid approach where boost is still performance-responsive, but the system continuously weighs efficiency more heavily than in Aggressive mode. It aims to deliver noticeable performance improvements while reducing wasted power in less demanding scenarios. Here's how to enable the Processor performance boost mode: Open Registry Editor: Press Win+R, type regedit, and click OK. Go to: HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\be337238-0d82-4146-a960-4f3749d470c7 (where HKLM stands for HKEY_LOCAL_MACHINE_) Modify the value of Attributes from 1 to 2 (you can find modify option by right-clicking) After that, exit Registry, you should now be able to see the new "Processor performance boost mode" dropdown menu: As you can see there are now five new P-States or CPPC states or power profile available that help define the boost mode processor setting on your PC. Wrapping it up here's a quick run-down of the settings as defined by Microsoft itself. Setting Description Disabled The corresponding P-state-based behaviour is disabled. Collaborative Processor Performance Control (CPPC) behaviour is disabled. Enabled The corresponding P-state-based behaviour is enabled. CPPC behaviour is Efficient Enabled. Aggressive The corresponding P-state-based behaviour is enabled. CPPC behaviour is Aggressive. Efficient Enabled The corresponding P-state-based behaviour is Efficient. CPPC behaviour is Efficient Enabled. Efficient Aggressive The corresponding P-state-based behaviour is Efficient. CPPC behaviour is Aggressive. Aggressive At Guaranteed Windows calculates the desired extra performance above the guaranteed performance level, and asks the processor to deliver that specific performance level. Efficient Aggressive At Guaranteed Windows always asks the processor to deliver the highest possible performance above the guaranteed performance level. In the next part we shall be comparing these settings to explore how much of a benefit or regression they can provide in terms of performance and power efficiency. If you decide to change the values on your system and are experiencing problems like crashes or an overheating PC, make sure to revert the steps back to the original state.
    • I think he means you haven't reviewed previous UFC games. Of course it doesn't matter... Every time you just report on something that involves the President even if just simply what happened you guys usually get accused of being anti-Trump. We live in fun times.
    • So how did you solve the problem? Disabling Secure Boot isn’t a solution.
    • Another devilish issue surrounding these certificates is what can happen with old, unsuspecting PCs that nevertheless have Secure Boot enabled. In my case, it was a Dell with a 3rd-gen Core chip (so about 13 years old). As of the last few weeks, it was suddenly BSOD'g within about 5 minutes of booting. Turns out it was because of MS's "Secure-Boot-Update" scheduled task, which is scheduled to run 5 minutes after login. It's explained in gory detail here (this is not my post, but it was where I found the answer), but the short version is that this legacy system would need fairly elaborate, manual certificate intervention since MS's automatic cert update method cannot work. How to do that is linked late in the thread. https://www.bleepingcomputer.c...od-caused-by-scheduled-task Secure Boot wasn't at all important for this particular PC, so I disabled it to be done with the problem.
  • Recent Achievements

    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      agatameier earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      518
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      ATLien_0
      95
    5. 5
      Steven P.
      77
  • Tell a friend

    Love Neowin? Tell a friend!