CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   OMP (http://www.cfd-online.com/Forums/main/4858-omp.html)

Tareq Al-shaalan June 22, 2002 01:46

OMP
 
I create small program in fro tan 90. This program just add two vectors, such that

A = B + C

The size of A, B, and C are 1,000,000. I run this program on IBM winterhawk II with 16 CPU on OMP paradigm. However I found it to be unscalable.

(The Speed of 16 CPU)/ (The Speed of 1 CPU) ~ 6

So, any idea why I do not get good scalability. Ideally addition of the two vectors should be 100% scalable.

Thanks

Tarq

Julian July 5, 2002 04:34

Re: OMP
 
Do you hav OMP_SET_DYNAMIC set to true or false? Are you actually running on 16 processors all of the time or is the number varying as processors become available.

What is the speedup for 2, 4, and 8 processors? Is this linear? Parallel speedup = (time for 1 processor)/(time for n processors)

What is the efficiency of the code? Parallel efficiency = (speedup)/(number of processors)

(Definitions from Edinburgh Parallel computing centre)

Have you varied the size of the problem and how does this scale on different numbers of processors?

Julian


All times are GMT -4. The time now is 16:37.