dongyi0210 2013-06-27 07:53
浏览 52

高时钟速度与Web服务器中的多个核心/ CPU

For a heavy load web server (multiple users/sites), what will you recommend for best performance:

  • A dual CPU server with lower per-core clock speed (e.g. the Dual E5-2620 @ 2.0GHz) OR
  • A single CPU server with higher per-core clock speed (e.g. a E3-1270 @ 3.5GHz)

In a head-to-head compare the E3 seems to be the better choice due to the higher clock speed: http://cpuboss.com/cpus/Intel-Xeon-E5-2620-vs-Intel-Xeon-E3-1270V2

The server is used to host CPU and IO-intensive PHP applications with a MySQL innodb database. I want to know if this server will be able to benefit from the extra cores, or if I will get better performance/cost with the higher clock?

Thank you.

  • 写回答

2条回答 默认 最新

  • douniao7308 2013-06-27 08:19
    关注

    There are two different situations that we can consider:

    - One kind of processor that is just used for calculations for a single program.
    

    In this situation, the Processor speed is more important as the user want the ability to do quickly and efficiently. Its not the case with web server.

    - On the other hand the processor used for multiple programs running at the same time. ( concurrent processes)
    

    The second is where multiple cores come in handy, as each program can be assigned to a separate core, thus freeing each program from 'bottle-necking' each other.

    - From Intel :)
    

    Software developers can no longer rely on increasing clock speeds alone to speed up single-threaded applications; instead, to gain a competitive advantage, developers must learn how to properly design their applications to run in a threaded environment. Multi-core architectures have a single processor package that contains two or more processor "execution cores," or computational engines, and deliver—with appropriate software—fully parallel execution of multiple software threads.

    - In my opinion 
    

    Multi-core processors are good for multi-tasking and High speed processors are good for high performance applications. Most high performance applications, like 3D rendering and gaming, will eat up all the CPU power.

    So you would need as many cores AND as much speed as possible.
    

    Hope this explanation helps.

    评论

报告相同问题?

悬赏问题

  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度