Re: Linux Multi-CPU performance
- From: John-Paul Stewart <jpstewart@xxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jan 2006 13:07:53 -0500
Tommy Reynolds wrote:
On Mon, 30 Jan 2006 14:29:03 +0200, Scott Hazelhurst wrote:
We've developed an SMP version of a program we had previously successfully parallelised on a cluster. The results were very disappointing with no obvious reasons for such poor performance.
An SMP-aware application? Exactly what have you done to make the application an SMP version?
Unless you are setting the CPU affinity for a process, I don't understand this at all.
Generally, an "SMP aware" application is any multi-threaded application. It's even better if the application can tailor the number of threads started to the number of CPUs detected at run-time. (Occasionally you'll find a two-threaded application that won't benefit from additional CPUs. More often you'll find apps that start 15 or 20 threads whether they're running on 1 CPU or 20.)
A single threaded application is most certainly not "SMP aware", and would not benefit from multiple processors.
.
- References:
- Re: Linux Multi-CPU performance
- From: Tommy Reynolds
- Re: Linux Multi-CPU performance
- Prev by Date: /home out of space
- Next by Date: I Want to identify best Linux approach, and any pitfalls.
- Previous by thread: Re: Linux Multi-CPU performance
- Next by thread: Re: Linux Multi-CPU performance
- Index(es):
Relevant Pages
|