Re: [問題] 關於7.4的multithreading
我的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
→
10/23 01:29, , 1F
10/23 01:29, 1F
→
10/23 01:30, , 2F
10/23 01:30, 2F
→
10/23 02:17, , 3F
10/23 02:17, 3F
→
10/23 02:17, , 4F
10/23 02:17, 4F
MATLAB 近期熱門文章
PTT數位生活區 即時熱門文章