Learn about Centmin Mod LEMP Stack today
Become a Member

2X Xeon E5 2640 v4 VS Xeon E5-2687W v4

Discussion in 'Dedicated server hosting' started by pamamolf, Nov 29, 2017.

  1. pamamolf

    pamamolf Well-Known Member

    2,823
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    11:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hello :)

    I am planing to replace my server from:

    to:

    What do you think? Most for cpu performance?

    Thank you
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:20 PM
    1.11
    10.2
    What is your site? :D
    Seems both are very powerful :).

    It's not over kill or over powered? :D

    I'd choose this:
    Which hosting is this by the way?
     
  3. pamamolf

    pamamolf Well-Known Member

    2,823
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    11:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    The old one from onlinenet and the new one from OVH :)
     
  4. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:20 PM
    1.11
    10.2
  5. pamamolf

    pamamolf Well-Known Member

    2,823
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    11:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Yup 24 threads with high clock speed and the old one was 32 threads with lower clock.......
     
  6. eva2000

    eva2000 Administrator Staff Member

    30,961
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:20 PM
    Nginx 1.13.x
    MariaDB 5.5
    ?? dual 2x E5-2640v4 is 20C/40T vs 1xE5-2687Wv4 12C/24T https://ark.intel.com/compare/92984,91750

    upload_2017-11-29_9-42-45.png

    E5-2640v4 turbo steppings https://en.wikichip.org/wiki/intel/xeon_e5/e5-2640_v4
    E5-2687v4 turbo steppings https://en.wikichip.org/wiki/intel/xeon_e5/e5-2687w_v4
    Up to 4-5 cpu core usage, clock speed is close at 3.0/3.1Ghz vs 3.2Ghz
     
  7. pamamolf

    pamamolf Well-Known Member

    2,823
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    11:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Ops yes old 2x cpu with total 40 threads and new one cpu with 24 :)

    But i think it is better to go with the 1 cpu the new one..... ?

    If i am not wrong it should be around 25-30% faster..... ?
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,961
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:20 PM
    Nginx 1.13.x
    MariaDB 5.5
    depends on your regular and peak work load usage requirements which you should measure
    and decide on

    I like using supermarket checkout lanes as analogy for more cpu threads/cores at slower speeds each vs less cpu core/threads at high speeds (clocks)
    • dual xeon E5-2620 = 2x hexa core x 2 HT = 24 cpu threads = 24 lane checkout
    • xeon e3-1270 = 1x quad core x 2HT = 8 cpu thread = 8 lane check out
    dual xeon E5-2620
    - each of 24 lanes can process 3 customers per hour (20min per customer) = 24x 3 = 72 customers per hour

    xeon e3-1270
    - each of 8 lanes can process 6 customers per hour (10min per customer) = 8x 6 = 48 customers per hour

    Situation #1
    144 customers come through checkout
    - dual xeon E5-2620 handles those 144 customers in 144/72 = 2hrs
    - xeon e3-1270 handles those 144 customers in 144/48 = 3hrs

    Situation #2
    6 customers come through checkout each going to one check out lane
    - dual xeon E5-2620 handles those 6 customers @ rate of 20min per customer = within 20 mins
    - xeon e3-1270 handles those 6 customers @ rate of 10min per customer = within 10 mins

    though analogy is old as newer Xeon E3-1200v4 and higher are like handling 8-10 customers per hour instead of 3 of old E3-1270v1
     
    • Like Like x 1
    • Winner Winner x 1
  9. pamamolf

    pamamolf Well-Known Member

    2,823
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    11:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Talking in general seems to be faster than the old x2 Xeon E5 2640 v4 server .....
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,961
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:20 PM
    Nginx 1.13.x
    MariaDB 5.5
    Depends on usage requirements it isn't clear cut when it comes to usage throughput vs latency of a server.
     
  11. pamamolf

    pamamolf Well-Known Member

    2,823
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    11:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    It is a simple forum....
     
  12. eva2000

    eva2000 Administrator Staff Member

    30,961
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:20 PM
    Nginx 1.13.x
    MariaDB 5.5
    still depends on exact usage of that forum as there are situations that 2x E5-2640v4 can be faster than 1x E5-2687Wv4
     
    • Informative Informative x 1
  13. deltahf

    deltahf Active Member

    216
    104
    43
    Jun 8, 2014
    Ratings:
    +161
    Local Time:
    4:20 AM
    Wow, that seems like a lot of horsepower, or your forum must be very busy!

    I run a large XenForo forum (11.7 million posts, 1,000~2,000 users online, 1.4 million visits per month, 5.4 million pageviews per month) and WordPress site on a dedicated server at ReliableSite with the following specs. Using Centminmod, the site is blazing fast and there is very low server load with what seems to be plenty of capacity left over if needed.

    Intel Xeon E3 1230 V3
    32GB DDR3
    2x 256GB SSD (RAID 1)
    2x 1TB HDD (RAID 1)
    CentOS 6.6

    The server is two and a half years old.
     
    • Winner Winner x 1
  14. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    5:20 PM
    1.11
    10.2
    og Google Analytics Real Time, how many online users?
     
  15. deltahf

    deltahf Active Member

    216
    104
    43
    Jun 8, 2014
    Ratings:
    +161
    Local Time:
    4:20 AM
    Usually around 400-500. The server has handled spikes over 2,000 with no problem.
     
    • Like Like x 1
  16. pamamolf

    pamamolf Well-Known Member

    2,823
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    11:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    May i ask for your phpfpm settings? :)
     
  17. deltahf

    deltahf Active Member

    216
    104
    43
    Jun 8, 2014
    Ratings:
    +161
    Local Time:
    4:20 AM
    Of course. :)

    I'm not an expert and I'm sure they could be further optimized, but this is what I have been running for some time now. I am running PHP 7.0.25 now.

    Code:
    ; Log level
    ; Possible Values: alert, error, warning, notice, debug
    ; Default Value: notice
    log_level = warning
    pid = /var/run/php-fpm/php-fpm.pid
    error_log = /var/log/php-fpm/www-error.log
    emergency_restart_threshold = 10
    emergency_restart_interval = 1m
    process_control_timeout = 10s
    ;include=/usr/local/nginx/conf/phpfpmd/*.conf
    
    [www]
    user = nginx
    group = nginx
    
    listen = 127.0.0.1:9000
    listen.allowed_clients = 127.0.0.1
    ;listen.backlog = -1
    
    ;listen = /tmp/php5-fpm.sock
    ;listen.owner = nobody
    ;listen.group = nobody
    ;listen.mode = 0666
    
    pm = dynamic 
    pm.max_children = 50
    ; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
    pm.start_servers = 20
    pm.min_spare_servers = 5
    pm.max_spare_servers = 35
    pm.max_requests = 5000
    
    ; PHP 5.3.9 setting
    ; The number of seconds after which an idle process will be killed.
    ; Note: Used only when pm is set to 'ondemand'
    ; Default Value: 10s
    pm.process_idle_timeout = 10s;
    
    rlimit_files = 65536
    rlimit_core = 0
    
    ; The timeout for serving a single request after which the worker process will
    ; be killed. This option should be used when the 'max_execution_time' ini option
    ; does not stop script execution for some reason. A value of '0' means 'off'.
    ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
    ; Default Value: 0
    ;request_terminate_timeout = 0
    ; Default Value: 0
    ;request_slowlog_timeout = 0
    slowlog = /var/log/php-fpm/www-slow.log
    
    pm.status_path = /phpstatus
    ping.path = /phpping
    ping.response = pong
    
    ; Limits the extensions of the main script FPM will allow to parse. This can
    ; prevent configuration mistakes on the web server side. You should only limit
    ; FPM to .php extensions to prevent malicious users to use other extensions to
    ; exectute php code.
    ; Note: set an empty value to allow all extensions.
    ; Default Value: .php
    security.limit_extensions = .php .php3 .php4 .php5
    
    ; catch_workers_output = yes
    php_admin_value[error_log] = /var/log/php-fpm/www-php.error.log
     
  18. pamamolf

    pamamolf Well-Known Member

    2,823
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    11:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    I am not also an expert but I think that your max spare servers should be equal to max children....