关注我们: 登录 |  会员中心  | 手机版 | English

你还没有登录 请先 登录 ,如果你还不是我们的会员, 请先注册 

中仿科技社区中心

如何为COMSOL配置硬件?

  发表时间 : 2012-08-29 15:05    所属类别 : 多物理场分析

如何为COMSOLMultiphysics配置硬件?这是COMSOL知识库中的最受关注词条之一。知识库是我们为COMSOL用户提供的在线技术支持工具,其中您可以找到常见问题的解答,甚至某些不常见Bug的解决方法。





本词条给出了硬件变量对计算性能影响的整体综述,比如应当配置多大内存,刀片插槽数量,以及操作系统对性能的影响等等,并以两种CPU为例,带领您通过详细的规格参数表的对比来判断其优劣,对于选择和采购硬件配置时很有参考价值。

http://www.comsol.com/support/knowledgebase/866/

Solution Number:866
Title:What hardware do you recommend for COMSOL Multiphysics?
Platform:All Platforms
Applies to:All Products
Versions:4.2, 4.2a
Created:January 14, 2002
Last Modified:January 16, 2012
Categories:Installation
Keywords:


Problem Description

I am going to buy a new dedicated computer for running COMSOL Multiphysics. What hardware do you recommend?

What about CPU speed and amount of RAM?

Solution

With regards to good COMSOL performance, the overall most important parameter for a modern computational machine is that you have enough physical RAM memory. COMSOL solvers use all available processor cores in parallel by default in shared-memory processing. See details inknowledgebase solution 1096. Therefore, also processor parameters that affect the parallelization efficiency, like memory bandwidth and number of memory channels, are important for good COMSOL performance. Those numbers are more important than the CPU clock rate nowadays.

In this solution we will first discuss which architecture parameters to look at. Then we will translate that into specifications you typically will find in vendor price lists and quotes and give some general recipes how to select hardware.

Parameters that Affect Performance
  • A 64-bit operating system is highly recommended.
  • For a given hardware, the choice between Windows, MacOS, or Linux will not significantly affect performance.
  • 4-8 GB physical RAM per core of the computer is recommended.
  • Dual-socket or if possible four-socket nodes are recommended.
  • A CPU with as fast a memory bus as possible is beneficial (QPI or HyperTransport bus). The numbers are often measured in GigaTransfers/Seconds (GT/s) and can be found on manufacturers' webpages or Wikipedia (see example below).
  • As high memory bandwidth as possible is beneficial.
  • If you can find information about number of memory channels, it should be as high as possible. This information can be more difficult to find.

Selecting Hardware
Since the hardware and hardware driver market is a moving target, it is a challenge to specify a COMSOL-optimal CPU type and amount of RAM. This will rapidly change over time. Also, there is a trade-off between amount of physical RAM memory and cost. Past a certain amount of RAM, cost starts to grow exponentially. For different budgets, you will find different optimal choices.

A rule of thumb is to pick the highest CPU model number in a series. Below are specifications taken from couple of vendor quotes for two different Intel-based platforms.
  • Intel Xeon E5620 2.4 GHz, 24 GB RAM, 2 Processors, 1066 MHz Max mem
  • Intel Xeon X5650 2.66 GHz, 48 GB RAM, 2 Processors, 1333 MHz Max mem
Our intuition tells us that the higher model number (X5650) should be better, and more RAM must be better too. Now is a good time to go to a detailed spec chart to do some comparisons. This Wikipedia page gives some interesting information.
  • Both quotes are 2-processor systems, which is the same thing as Dual-socket, so we are fine here on both quotes.TIE.
  • The Wikipedia link above tells us that the E5620 in quote A has 4 cores. Dual sockets makes it 8 cores in total and thus 24GB/(4*2) = 3 GB/core. The X5650 in quote B has 6 cores, and the memory per core counts to 48GB/(6*2) = 4 GB/core. Quote A does not match the minimum recommendation of 4GB/core. QUOTE B wins.
  • The Max mem statement is the same as the Memory column on the  Wikipedia page which is a measure of how fast the memory is (memory bandwidth). Quote B is 25% faster than quote A. QUOTE B wins.
  • Quote B has 12 cores whereas A has 8 cores (see point 1. above). This together with point 3. above gives us reason to believe that the spec in quote B is at least 50% faster only based on these numbers. Note that the clock rate (2.4 and 2.66 GHz) is probably unimportant here. The memory speed is the bottleneck. QUOTE B wins.
  • If you look in the chipset column on the  Wikipedia page, you can see that quote A has QPI 5.86 GT/s whereas B has slightly more favorable, 6.4 GT/s. The column also gives us the interesting piece of information that if you go higher up in model series than X5650, you get no additional QPI or memory speed. So you probably don't get much additional performance for the extra money you would spend. QUOTE B wins.
Of course quote B will be more expensive. This type of comparison can be done with AMD processors as well.
In summary, below are three generic examples of computers specs in increasing order of price and performance
  • Budget alternative, less recommended for high fidelity COMSOL modeling: Dual core processor, 4 GB RAM, 64-bit OS, 512 MB Graphics card. Roughly 1-1.5 kUSD.
  • Mid-range alternative, good for many COMSOL applications: Dual quad-core processor, 32 GB RAM, 64-bit OS, 1GB Graphics card. Roughly 3-4 kUSD.
  • High-end alternative, for large-scale COMSOL models: Dual 6-core processor, 96 GB of RAM. Roughly 10-12 kUSD.


Graphics

We recommend modern AMD FirePro or NVIDIA based dedicated graphics cards. A list of tested graphics cards can be found on the system requirements page.

GPGPU
General-purpose computing on graphics processing units (GPGPU, also referred to as GPGP and less often GP²) is currently not supported by COMSOL.

Hard Drives
Hard drive speed does not affect COMSOL performance as long as the problem fits into main memory. If main RAM memory is insufficient, the hard drive swap will affect performance severly, regardless of which hard disk you have.

See Also
Selecting hardware for a compute cluster, solution 1116.
COMSOL and Multithreading, solution 1096.
分享到    豆瓣网 开心网 人人网 QQ书签 Google     5610个朋友已经阅读过这篇文章    

用户评论

姓名
评论内容
没有找到数据.
,


社区统计

  • 总注册用户: 339340
  • 新加入用户: RobertHoamn
  • 讨论区主题数: 6130(今日:0)
  • 讨论区回复数: 14757(今日:0)
    当前在线用户(0):