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

    • Dopamine 3.0.6 by Razvan Serea Dopamine is an awesome free audio player which tries to make organizing and listening to music as simple and pretty as possible. Dopamine has been designed for Windows 7, Windows 8.x and Windows 10 and plays mp3, ogg vorbis, flac, wma and m4a/aac music formats quite well. The best part? It's created by long-time Neowin member, Raphaël Godart. If you’re looking for a music player to handle a large music collection, you should definitely give Dopamine a try. Dopamine 3.0.6 changelog: Fixed Manually edited album covers are overwritten on the next collection refresh Fixed AppImage package not working on modern GNU/Linux distributions Deleting song from playlist sometimes fails Playback controls only work when clicking on upper half of the buttons It's unclear that files must be tagged with an external ReplayGain scanner (for example rsgain) before normalization can take effect. Change to Artist or Album tags is not reflected in the song list view nor in the Now Playing information ReplayGain issues Smart playlist filters ignore text containing accents or other special characters Some MP3 files trigger an "MPEG header not found" error due to a too-narrow initial MPEG header scan range Changed Updated the Vietnamese translation Download: Dopamine 3.0.6 | 122.0 MB (Open Source) Links: Home Page | Forum Discussion | Screenshot | Other OSes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • BleachBit 6.0.1 Beta by Razvan Serea When your computer is getting full, BleachBit quickly frees disk space. When your information is only your business, BleachBit guards your privacy. With BleachBit you can free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there. Designed for Linux and Windows systems, it wipes clean thousands of applications including Firefox, Microsoft Edge, Google Chrome, Opera, Safari, and more. Beyond simply deleting files, BleachBit includes advanced features such as shredding files to prevent recovery, wiping free disk space to hide traces of files deleted by other applications, and vacuuming Firefox to make it faster. Better than free, BleachBit is open source. BleachBit has many useful features: Delete your private files so completely that "even God can't read them" according to South Carolina Representative Trey Gowdy. Simple operation: read the descriptions, check the boxes you want, click preview, and click delete. Multi-platform: Linux and Windows Free of charge and no money trail Free to share, learn, and modify (open source) No adware, spyware, malware, browser toolbars, or "value-added software" Translated to 64 languages besides American English Shred files to hide their contents and prevent data recovery Shred any file (such as a spreadsheet on your desktop) Overwrite free disk space to hide previously deleted files Portable app for Windows: run without installation Command line interface for scripting and automation CleanerML allows anyone to write a new cleaner using XML Automatically import and update winapp2.ini cleaner files (a separate download) giving Windows users access to 2500+ additional cleaners Frequent software updates with new features Going beyond standard deletion of files, BleachBit has several advanced cleaners: Clear the memory and swap on Linux Delete broken shortcuts on Linux Delete the Firefox URL history without deleting the whole file—with optional shredding Delete Linux localizations: delete languages you don't use. More powerful than localepurge and available on more Linux distributions. Clean APT for Debian, Ubuntu, Kubuntu, Xubuntu, and Linux Mint Find widely-scattered junk such as Thumbs.db and .DS_Store files. Execute yum clean for CentOS, Fedora, and Red Hat to remove cached package data Delete Windows registry keys—often where MRU (most recently used) lists are stored Delete the OpenOffice.org recent documents list without deleting the whole Common.xcu file Overwrite free disk space to hide previously files Vacuum Firefox, Google Chrome, Liferea, Thunderbird, and Yum databases: shrink files without removing data to save space and improve speed Surgically remove private information from .ini and JSON configuration files and SQLite3 databases without deleting the whole file Overwrite data in SQLite3 before deleting it to prevent recovery (optional) BleachBit 6.0.1 Beta release notes: BleachBit 6.0.1 beta is now available for testing. This maintenance-focused release includes bug fixes, updated translations, and a range of safe enhancements. This release fixes a Windows security issue that could allow arbitrary file deletion during privileged cleaning (reported by Zeze with TeamT5). It also adds new cleaners (including a DNS cache cleaner, Claude Code, and Visual Studio Code forks), support for multiple Chrome and Edge profiles, new deep scan options for developer directories like node_modules and venv, and safer, faster file shredding. All Platforms Added cleaners for Claude Code, DNS cache, and many Visual Studio Code forks. Added support for multiple Chrome and Edge profiles. Chrome can now clean downloaded AI models. Deep Scan can optionally remove venv, __pycache__, node_modules, and .angular directories. Deep Scan is faster by skipping directories on the keep list. File shredding is safer, faster, and leaves fewer recoverable traces. Improved handling of cookies, symlinks, Unicode filenames, external processes, and configuration files. Improved Expert Mode warnings and long warning dialogs. Fixed crashes related to cleaner detection, invalid Unicode, and malformed cleaner data. Clipboard is now cleared automatically after shredding files via paste operations. Linux Added AppImage support. Added cleaners for Visual Studio Code, Codeium, Librewolf (.deb), Transmission (Flatpak), and Profanity. Improved Linux trash detection, including Snap-installed applications and mounted drives. Fixed Wayland root CLI issues and several Snap-related problems. Improved package dependencies, AppStream metadata, and desktop file handling. Fixed startup crashes when Python Requests is unavailable. Windows Fixed a security vulnerability that could allow arbitrary file deletion when cleaning with elevated privileges. Added %WindowsSystem% variable support. Improved clipboard clearing using native Windows APIs. Improved installer experience on unsupported Windows versions. Reduced installer size and improved application robustness. Fixed Unicode handling, filename anonymization, Git revision reporting, and splash screen stability. [full release notes] Download: BleachBit 6.0 | Portable | ~20.0 MB (Open Source) View: BleachBit Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • DriversCloud 12.1.6 by Razvan Serea With DriversCloud (formerly My-Config.com), you can explore your computer easily, safely and free. The application quickly scans your PC and identifies the hardware and software components. DriversCloud then establishes a list of the different drivers compatible with your OS and hardware. Download the drivers needed for the proper functioning of your computer. To detect your drivers, DriversCloud also displays a detailed summary of your hardware and software configuration, analyzes your BSOD, monitors in real-time your PC voltages and temperatures and lets you share your configuration online. Once the hardware components have been detected, you will be able to obtain with just a few clicks the latest drivers corresponding to the identified hardware. You can record your configuration on the site for free, and can get the corresponding URL to post the configuration to technical forums, e-mail and social networks. You can also download the detection result (the configuration) as a PDF file. To protect the user's privacy and data confidentiality, a 4-level confidentiality system was created that filters the XML marks and gives control to the user. The default level can be modified in the preferences. Using the maximum level will prevent the user from publishing his configuration and generating a corresponding PDF file. In non-connected mode, each XML configuration is stored on the server for one day (for practical reasons). However, you are given the opportunity to manually delete it. Created in 2004, and continually improved, My-Config.com has established itself on the web as a free service to PC users running Windows and Linux operating systems. The service is designed to work with the most common Internet browsers (Edge, Firefox, Chrome, Safari). Download: DriversCloud 64-bit | 20.0 MB (Freeware) Download: DriversCloud 32-bit | 18.9 MB Link: DriversCloud Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • 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
    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
  • Popular Contributors

    1. 1
      +primortal
      516
    2. 2
      +Edouard
      193
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      ATLien_0
      96
    5. 5
      Steven P.
      77
  • Tell a friend

    Love Neowin? Tell a friend!