Re: Linux Multi-CPU performance



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.
.




Relevant Pages

  • Re: X200: Brightness broken since 2.6.29-rc4-58-g4c098bc
    ... ACPI: Local APIC address 0xfee00000 ... Using ACPI for SMP configuration information ... Extended CMOS year: 2000 ... Switched to high resolution mode on CPU 1 ...
    (Linux-Kernel)
  • Re: 2.6.{26.2,27-rc} oops on virtualbox
    ... ACPI: PM-Timer IO Port: 0x4008 ... SMP: Allowing 1 CPUs, 0 hotplug CPUs ... PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 ... CPU: Trace cache: 12K uops, ...
    (Linux-Kernel)
  • Re: 2.6.{26.2,27-rc} oops on virtualbox
    ... ACPI: PM-Timer IO Port: 0x4008 ... SMP: Allowing 1 CPUs, 0 hotplug CPUs ... PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 ... CPU: Trace cache: 12K uops, ...
    (Linux-Kernel)
  • Re: OS2 on Core Duo Thinkpad
    ... -> The CPU monitor showed both processors pegged at 99.99% ... Are you using the OS/2 SMP kernel? ... -> session manager to reenter a line from the session log causes the ... -> CPU Monitor to disable the second processor, ...
    (comp.os.os2.setup.misc)
  • Re: Hifn driver in SMP (was Re: GELI - disk encryption GEOM class committed.)
    ... I just booted RELENG_4_11 on the box and installed an SMP kernel. ... CPU: Pentium III/Pentium III Xeon/Celeron ... pci0: <PCI bus> on pcib0 ...
    (freebsd-current)