Re: [問題] 關於7.4的multithreading

看板MATLAB作者時間17年前 (2007/10/22 18:39), 編輯推噓0(004)
留言4則, 1人參與, 最新討論串1/1
我的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
看來只支援實體雙核心或是多核心的CPU了
10/23 01:30, 2F

10/23 02:17, , 3F
官網說在HT下偵測到兩個processor是個bug
10/23 02:17, 3F

10/23 02:17, , 4F
這個問題在R2007b被修正了 @@
10/23 02:17, 4F
文章代碼(AID): #1777tpL5 (MATLAB)
文章代碼(AID): #1777tpL5 (MATLAB)