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

Home » Public Forums » archive » Re: IDL Matrix Multiply and Dual-Core CPUs
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: IDL Matrix Multiply and Dual-Core CPUs [message #60328 is a reply to message #60249] Tue, 20 May 2008 00:21 Go to previous messageGo to previous message
s.haenger is currently offline  s.haenger
Messages: 4
Registered: May 2008
Junior Member
On 9 Mai, 20:34, Pierre <pierre.villene...@gmail.com> wrote:
> Hi Samuel,
>
> I saw a very similar problem with my quad-core PC running XP (32 bit)
> with 4gigs of ram. I re-ran my test script on our two-core, 4-gig
> linux box and got similar results with just slightly different array
> sizes. Here is the script I ran:
>
> cpu, /reset
>
> help, !cpu, /str
>
> Nk = 258
> K = fltarr(Nk, Nk)
>
> ;
> ; Case 1.
> ;
> Npix = 129047
> d = fltarr(Npix, Nk)
> t0 = systime(1)
>
> d #= K
>
> t1 = systime(1) - t0
>
> print, 'Case #1: ', Npix, t1
>
> ;
> ; Case 2.
> ;
> Npix = Npix + 1
> d = fltarr(Npix, Nk)
> t0 = systime(1)
>
> d #= K
>
> t2 = systime(1) - t0
>
> print, 'Case #2: ', Npix, t2
>
> On each of our computers case #2 used all available cores while case
> #1 only used one core. The only difference between them is the
> dimension of one of the arrays (Npix) is simply incremented by one.
> The total memory used by the IDL process during this test is never
> more and two-hundred megs or so. There is no way this problem is due
> to a lack of physical memory. The sizes of these arrays are also
> significantly larger then the default minimum number of elements
> (default = 10000) required to enable multi-threading.
>
> Any ideas?
> Pierre

It's not a Windows Problem. We have the same Problem also with
Ubuntu...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: appending to column
Next Topic: a question about IDLgrSurface

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

Current Time: Tue Dec 02 04:19:30 PST 2025

Total time taken to generate the page: 1.04362 seconds