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 2 of 6 Topic 5725 of 5734
Post > Topic >>

Re: IDL Matrix Multiply and Dual-Core CPUs

by Bringfried Stecklum <stecklum@[EMAIL PROTECTED] > May 9, 2008 at 06:09 PM

s.haenger@[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 = randomn(42, 2000, 2200)
> matB = randomn(43, 2020, 2000)
> matIdl = matA##matB
> 
> So now i've got a CPU usage of 100%
> 
> but with this:
> matA = randomn(42, 2500, 2500)
> matB = randomn(43, 2520, 2500)
> matIdl = matA##matB
> 
> the cpu usage is around 50%-60%
> 
> I've already tried to increase the TPOOL_NTHREADS and to decrease the
> TPOOL_MIN_ELTS! It didn't help!
> 
> We throught it could be because the size (2500*2520=) produces an
> overflow and the matrix size gets too small or negative, so IDL uses
> just 1 thread to compute.
> 
> Does anybody know how I can fix that problem?
> 
> 
> Thanks a lot
> Samuel
If the physical memory of your machine is not big enough to hold all
arrays
the system kernel starts to swap which eats CPU.

Regards,

	B. Stecklum




 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 2:37:27 CDT 2008.