On 02/14/2010 09:40 PM, Alex Rufon wrote: > now i'm wondering, using the same parallel algorithm which one would > perform better? a 1 cpu quadcore machine or 4 cpu single core machine? > Hard to say, as it will depend upon the specific architectures (I/O, memory, core), the nature of the work load, and how the work load is distributed among the available cores. Performance optimization for such systems is pretty much an art, much like signal processing and control systems were in 1940 when ideas from statistical mechanics began to be applied to these disciplines. Until some similar insight is made with respect to multicore computing, I think the best approach is to benchmark and profile your systems with the same workloads (representative of real world workloads). If benchmarks show a significant difference, profiling may give you insight into where you might change your approach on the newer systems to make better use of their resources.
-- Steve ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
