in reply to Poor performances with threads
... calculate the standard deviation of the values of a small slice of the initial array ...
If it takes longer to spawn the thread, than to process that small slice, you have a net slowdown.
How long does a single (non-threaded) solution take? How many cores do you have? How many concurrent threads does that graph represent?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Poor performances with threads
by olafmar (Novice) on Oct 23, 2009 at 10:20 UTC |