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 #89731 is a reply to message #89726] Fri, 21 November 2014 03:59 Go to previous messageGo to previous message
Sergey Anfinogentov is currently offline  Sergey Anfinogentov
Messages: 11
Registered: September 2012
Junior Member
It depends on the code.
The best way is to make an experiment using your computer and your code.

You can measure the execution time of your program with default settings then you can change threads count via "cpu,TPOOL_NTHREADS = 4" and ,measure the execution time again.


четверг, 20 ноября 2014 г., 18:04:10 UTC пользователь chu xiangning написал:
> Hi All
> It has always been confusing to me how IDL handles nthread and ncores.
> I have an i7 which has 4 physical cores and 8 threads.
> Matlab recognizes i7 as 4 cores and uses 4 threads. IDL recognizes i7 as 8 threads.
> In my opinion, in a computation-heavy program, 4 threads should be used instead of 8, because using 8 threads actually slows down the program.
> Is this correct?
[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 18:05:06 PDT 2025

Total time taken to generate the page: 0.00510 seconds