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 使用C#,asp.net读取Excel文件并保存到Oracle数据库
  • ¥15 C# datagridview 单元格显示进度及值
  • ¥15 thinkphp6配合social login单点登录问题
  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配