作者emitter ()
看板MATLAB
标题Re: [问题] 关於7.4的multithreading
时间Mon Oct 22 18:39:46 2007
我的CPU是INTEL P4 2.8CG with HT
matlab7.4中multithreading开启後会抓到两个core
我用catherinejoy版友的小程式计时了一下
1 core
Elapsed time is 68.530766 seconds.
Elapsed time is 3.432436 seconds.
Elapsed time is 0.211274 seconds.
Elapsed time is 9.084159 seconds.
Elapsed time is 6.800764 seconds.
2 cores
Elapsed time is 88.174566 seconds.
Elapsed time is 4.598900 seconds.
Elapsed time is 0.213690 seconds.
Elapsed time is 11.354454 seconds.
Elapsed time is 8.945655 seconds.
看来只有HT的旧P4应该是选1?
%% 唉 想换个C2D来玩看看
※ 引述《emitter ()》之铭言:
: 根据Matlab help上说的
: Accepting the Automatic option is recommended—MATLAB
: automatically sets the value to the actual number of computational cores on
: your system. Note that if your system uses hyperthreading (where one
: processor is logically configured as two), MATLAB
: sets the value to 1.
: 我的CPU是P4 2.8CG with HT
: 并非真实的双核心
: 按照文件上说的应该是选了自动後他会设定为1
: 不过我看了一下他还是自动定为2
: 还是我误解文件的意思?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.144.250
1F:→ emitter:关往建议我关掉此功能.... 10/23 01:29
2F:→ emitter:看来只支援实体双核心或是多核心的CPU了 10/23 01:30
3F:→ emitter:官网说在HT下侦测到两个processor是个bug 10/23 02:17
4F:→ emitter:这个问题在R2007b被修正了 @@ 10/23 02:17