g****y 发帖数: 436 | 1 我们这里有个C++写的程序,file io intensive,要求硬件支持多线程,越多越好。现
在想专门配个机器,是配intel的Xeon quad core X2 还是amd的Operton 12 core X2呢
?主要是有点不相信AMD。不过AMD 能够给24core,感觉很给力啊。 |
A******g 发帖数: 612 | 2 I think the number of cores doesn't matter much, they shared the same data
bus, and threads are idle while waiting for the I/O. More threads doing I/O
will actually slow down the program.
Add more hard drive and use them in parallel is better. Quad core is enough.
【在 g****y 的大作中提到】 : 我们这里有个C++写的程序,file io intensive,要求硬件支持多线程,越多越好。现 : 在想专门配个机器,是配intel的Xeon quad core X2 还是amd的Operton 12 core X2呢 : ?主要是有点不相信AMD。不过AMD 能够给24core,感觉很给力啊。
|
b******n 发帖数: 592 | 3 If it is really disk i/o intensive, I doubt CPU will make such a difference.
Probably choosing a good disk is more important. Computation wise, always
Intel, if you don't really care about cost...(not only the CPU, the
electricity bills as well)
【在 g****y 的大作中提到】 : 我们这里有个C++写的程序,file io intensive,要求硬件支持多线程,越多越好。现 : 在想专门配个机器,是配intel的Xeon quad core X2 还是amd的Operton 12 core X2呢 : ?主要是有点不相信AMD。不过AMD 能够给24core,感觉很给力啊。
|
g****y 发帖数: 436 | 4 thanks!
the program starts by parsing a number of text files with a total size of 4G
. after that, it does multi-threaded calculations. In this case, will intel
still perfered?
difference.
【在 b******n 的大作中提到】 : If it is really disk i/o intensive, I doubt CPU will make such a difference. : Probably choosing a good disk is more important. Computation wise, always : Intel, if you don't really care about cost...(not only the CPU, the : electricity bills as well)
|
g****y 发帖数: 436 | 5 thanks!
O
enough.
【在 A******g 的大作中提到】 : I think the number of cores doesn't matter much, they shared the same data : bus, and threads are idle while waiting for the I/O. More threads doing I/O : will actually slow down the program. : Add more hard drive and use them in parallel is better. Quad core is enough. :
|
A******g 发帖数: 612 | 6 非IO的并行计算一般core和内存越多越好,用gpu更好,几百个core,如果算法允许的
话。
读的时候,一般有几个硬盘就开几个threads,把文件分别放在不同硬盘上读
一点愚见
4G
intel
【在 g****y 的大作中提到】 : thanks! : the program starts by parsing a number of text files with a total size of 4G : . after that, it does multi-threaded calculations. In this case, will intel : still perfered? : : difference.
|
g****y 发帖数: 436 | 7 thanks!
【在 A******g 的大作中提到】 : 非IO的并行计算一般core和内存越多越好,用gpu更好,几百个core,如果算法允许的 : 话。 : 读的时候,一般有几个硬盘就开几个threads,把文件分别放在不同硬盘上读 : 一点愚见 : : 4G : intel
|
y***d 发帖数: 2330 | 8 4G 没多少阿...
4G
intel
【在 g****y 的大作中提到】 : thanks! : the program starts by parsing a number of text files with a total size of 4G : . after that, it does multi-threaded calculations. In this case, will intel : still perfered? : : difference.
|
b******n 发帖数: 592 | 9 intel 是用HT, AMD也使用类似的技术,我不知道你小河个新片的具体代号
intel的Sandy Bridge支持256-bit的SIMD,如果你的程序大量的矩阵运算,那部分可能
会有50%的性能提高。对于多线程,在内存绝对优化的状态下,多核的优势大。如果同等
级的cpu比较,intel绝对是胜于AMD的。
网上有很多的benchmark可以查。
我记得跟内存也有关系,如果全部内存曹都适用,内存速度只能有2/3。。
多线程相对独立,24听起来比16好一些。。不过估计throughput差不多,可能省电一些
【在 g****y 的大作中提到】 : 我们这里有个C++写的程序,file io intensive,要求硬件支持多线程,越多越好。现 : 在想专门配个机器,是配intel的Xeon quad core X2 还是amd的Operton 12 core X2呢 : ?主要是有点不相信AMD。不过AMD 能够给24core,感觉很给力啊。
|