comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Confusion about nthread and ncore
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Confusion about nthread and ncore [message #89737 is a reply to message #89731] Tue, 25 November 2014 09:38 Go to previous messageGo to previous message
chuxiangning is currently offline  chuxiangning
Messages: 17
Registered: September 2012
Junior Member
Thanks for your suggestion!
I've tested my program under different cases by setting nthreads to different values. (cpu,tpool_nthreads = 3)
I have an i7 cpu, which has 4 cores and 8 threads(2 per cpu).
It turns out the program runs faster when I set nthread to 4 instead of 8 (IDL default). This result is expected anyway.
As a suggestion to IDL, I would suggest they change the default value of nthreads according to number of cores.


nthread time (sec)
1 7.923
2 4.458
3 3.451
4 3.055
6 3.162
8 3.298
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: rebinning two arrays? or re: finding exclusive elements between 2 not-quite identical arrays?
Next Topic: How to check if the widget_table is empty?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:12:34 PDT 2025

Total time taken to generate the page: 0.00430 seconds