Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: IDL Matrix ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 6 Topic 5725 of 5734
Post > Topic >>

Re: IDL Matrix Multiply and Dual-Core CPUs

by s.haenger@[EMAIL PROTECTED] May 9, 2008 at 11:28 AM

On 9 Mai, 20:20, F=D6LDY Lajos <fo...@[EMAIL PROTECTED]
> wrote:
> oops, I have written IDL 7 time to the ATLAS test. Corrected below.
>
> lajos
>
> I have run some tests on a quad-core Intel Core2 Q6600 / linux 64 bit
> machine.
>
> On Fri, 9 May 2008, s.haen...@[EMAIL PROTECTED]
 wrote:
>
>   Hi,
>
>   I have a Problem with IDL 7.0
>   We have to multiply large matrices. With some matrix sizes, the CPU
>   usage is 100% but for most of the matrices it is 50%. (I'm runnning it
>   on a Intel T7250 (Dual Core, 2GHz, 2MB L2 Cache))
>
>   The CPU System Variable is configured like this:
>   IDL> print, !CPU
>   {           0           0           2           2
>   100000           0}
>
>   Now we do this:
>   matA =3D randomn(42, 2000, 2200)
>   matB =3D randomn(43, 2020, 2000)
>   matIdl =3D matA##matB
>
>   So now i've got a CPU usage of 100%
>
>    # of threads    IDL 7 time
>          1          12.476210
>          2           6.5931890
>          3           5.2085290
>          4           4.9191489
>
> it scales well for two cores, so the CPU usage should be near 100% for
two=

> threads.
>
>   but with this:
>   matA =3D randomn(42, 2500, 2500)
>   matB =3D randomn(43, 2520, 2500)
>   matIdl =3D matA##matB
>
>   the cpu usage is around 50%-60%
>
>    # of threads    IDL 7 time
>          1         22.034877
>          2         11.681226
>          3          9.7771089
>          4          9.3093379
>
> again, CPU usage should be near 100% for two cores.
>
> Just for comparison, ATLAS (http://math-atlas.sf.net)
times:
>
>    # of threads    ATLAS time
>          1          4.4285851
>          4          1.1784132
>
> and
>
>    # of threads    ATLAS time
>          1          7.8148808
>          4          2.1345751
>
> regards,
> lajos
>
>

Sorry, I forgot to mention... I'm running Windows XP 32bit with 2GB of
Ram
I also tested it on a second machine with a 3GHz Dual Core and it
showed the same cpu usages...

regards,
Samue=F6




 6 Posts in Topic:
IDL Matrix Multiply and Dual-Core CPUs
s.haenger@[EMAIL PROTECTE  2008-05-09 07:27:39 
Re: IDL Matrix Multiply and Dual-Core CPUs
Bringfried Stecklum <s  2008-05-09 18:09:57 
Re: IDL Matrix Multiply and Dual-Core CPUs
=?ISO-8859-2?Q?F=D6LDY_La  2008-05-09 20:16:12 
Re: IDL Matrix Multiply and Dual-Core CPUs
=?ISO-8859-2?Q?F=D6LDY_La  2008-05-09 20:20:09 
Re: IDL Matrix Multiply and Dual-Core CPUs
s.haenger@[EMAIL PROTECTE  2008-05-09 11:28:58 
Re: IDL Matrix Multiply and Dual-Core CPUs
Pierre <pierre.villene  2008-05-09 11:34:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 0:27:18 CDT 2008.