1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

More CPUs/Cores compared to higher clock speed?

Discussion in 'Server Configuration and Hosting' started by Thomas P, Oct 25, 2011.

  1. Thomas P

    Thomas P Member

    Hello

    we currently use one Nehalem/Bloomfield CPU @ 3,06 Ghz and 4 Cores on our Server and would switch to a SMP-CPU Setup with two Xeon CPUs Gulftown/Westmere-EP @ 2.13 Ghz and 8 Cores.

    Any thoughts on switching from Single-CPU to Multi-CPU at lower clock speed?
    Which im impact would that have on serving XenForo?

    Thanks
     
  2. MGSteve

    MGSteve Well-Known Member

    The main thing to bear in mind that that for mySQL in particular, its not multi-threaded for single actions - i.e. it doesn't multithread for a single query, but of course it spawns multiple workers so more cores mean more threads can be served, but if the clock rate is slower, then potientially the individual queries would get served slower, although it could do more of them at once.

    its swings and roundabouts at the end of the day, you gain on coping with multiple loads, but potientally loose out on actual processing speed.

    Multi cores do cope with server loads better though, in my experience, although naturally it increases the load on the rest of the subsystem, hard drives, ram etc..

    Although according to CPUBenchmark, the difference between a W3550 and L5640 (the one up from yours as they don't have the 2.13Ghz chip) is reasonable (5,598 vs 7,709) so it would appear that the CPU is faster in any case, even with the drop in raw MHz.
     
    ragtek likes this.
  3. Slavik

    Slavik XenForo Moderator Staff Member

    For the most part if running mysql then more speed is better than more cores past 4 cores, if running mssql then cores are better than speed.

    Obviously it also depends on how much load your server comes under :)
     
  4. Thomas P

    Thomas P Member

    Thanks guys - how about PHP processing?
     
  5. Slavik

    Slavik XenForo Moderator Staff Member

    What are you running, apache, nginx, cherokee?

    If configured correctly, all of your handlers will run better on multi-cores over top end speed. But it depends how savvy you are with making the best out of multi core situations, eg configuring each worker to ONLY use a seperate core from the others.
     
  6. Thomas P

    Thomas P Member

    Apache 2.

    Thanks for your expertise :)
     
  7. Marcus

    Marcus Well-Known Member

    On my server mysql is very fast but php slows down everything. I took a new cpu with much higher cpu ratings and it speeds everything up.
     
  8. Thomas P

    Thomas P Member

    Did you went from Single-CPU to Multi-CPU (SMP) or just changed the CPU?
     
  9. Marcus

    Marcus Well-Known Member

    I went from four cores i7 to four cores i7 but the cpu speed is faster and page generation time dropped around 30% (more or less).
     
  10. ragtek

    ragtek Guest

    ^^
     

Share This Page