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

    • Hello, It would appear so, according to https://finance.yahoo.com/news/how-to-hide-your-home-on-google-maps-apple-maps-204146687.html. Regards, Aryeh Goretsky      
    • Hello, The Nvidia Founders Edition 3080 video card is approximately six years old, correct? Have you looked into whether replacement fans are available for it? Perhaps replacing those will improve cooling, especially when combined with cleaning the card's heatsink and replacing the thermal interface materials. Regards, Aryeh Goretsky  
    • Hello, While ~104 GB of space may seem generous (at least compared to other e-readers which have 8-32GB), I feel at this price point the device should have a Micro SDXC card slot for expansion, particularly if it allows audio books to be installed and played. I hope to see more reviews of 6" phone-sized e-readers on Neowin in the future. It will be interesting to see how they compare. Regards, Aryeh Goretsky
    • Sandboxie Plus 1.17.8 / Classic 5.72.8 by Razvan Serea Run programs in a sandbox to prevent malware from making permanent changes to your PC. Sandboxie allows you to run your browser, or any other program, so that all changes that result from the usage are kept in a sandbox environment, which can then be deleted later. Sandboxie is a sandbox-based isolation software for 32- and 64-bit Windows NT-based operating systems. It is being developed by David Xanatos since it became open source, before that it was developed by Sophos (which acquired it from Invincea, which acquired it earlier from the original author Ronen Tzur). It creates a sandbox-like isolated operating environment in which applications can be run or installed without permanently modifying the local or mapped drive. An isolated virtual environment allows controlled testing of untrusted programs and web surfing. Sandboxie is available in two flavors Plus and Classic. Both have the same core components, this means they have the same level of security and compatibility. What's different is the user interface the Plus build has a modern Qt based UI which supports all new features that have been added since the project went open source. The Classic build has the old no longer developed MFC based UI, hence it lacks support for modern features, these features can however still be used when manually configured in the Sandboxie.ini. Sandboxie Plus 1.17.8 / Classic 5.72.8 release notes: Added added DisableCustomTitleOpt=[process,][y|n] to allow [#] sandboxie title markers on custom-titlebar windows (Delphi VCL, Qt, Electron) that were previously skipped to prevent DWM repaint CPU loops #5387 Changed updated bundled ImDisk driver to 3.0.2 #5419 Fixed fix Suppress logs for expected non-user SIDs #5422 SbieSvc.exe: SBIE2218/2219 error when run program as administrator #5417 fixed explorer.exe crashes in Application Compartment when Huorong Security is installed #5423 Download: Sandboxie Plus (64-bit) | 23.5 MB (Open Source) Download: Sandboxie Classic (64-bit) | 3.0 MB Links: Sandboxie Website | GitHub | ARM64 | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Hello, Christian Maas' XVI32 is a nice (and very small) hex editor. Speaking of hex editors, many years ago a colleague and I who both worked at Tribal Voice managed to edit a copy of the company's PowWow instant messaging client to make it behave better now that all of its lookup servers and other server-side tech was gone.  The program didn't support NAT (RFC-3022 was introduced in January 2001, the same time Tribal Voice was shuttered), but it still worked okay if you manually set up port-forwarding on your router.  The server at http://powwow.jazy.net/ hosts a copy (usual warnings about downloading and running untrusted code from random internet servers apply). I occasionally use some tools like Funduc Software's Search and Replace and Application Mover when I need to make mass-edits to text-based files or move programs with a hard-coded installation directories, respectively.  When I need to figure out the exact LCD panel inside of a laptop, EnTech Taiwan's Monitor Asset Manager is my go-to tool for that purpose. JD Design's website (now hosted on github.io) has a number of interesting freeware and shareware utilities.  I used to use their TouchPro utility to set the file timestamps on software I was mastering to match its version number (e.g., version 3.00 of a program had all of its files dates set to 3:00AM, and so forth). Karenware has a number of interesting freeware utilities, too. Regards, Aryeh Goretsky  
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • 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
  • Popular Contributors

    1. 1
      +primortal
      509
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      82
  • Tell a friend

    Love Neowin? Tell a friend!