Re: SMP speed on 6x86 UP

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Wed, 18 Mar 1998 18:48:53 +0100 (CET)


> Anybody got any idea. May the APIC code touch chipset or processor
> ports?

i suspect it's the LOCK overhead. If it's a single-CPU system, then could
you edit asm-i386/atomic.h, and do:

#define LOCK ""

even if it's compiled as SMP? It might be that LOCK prefix overhead is
huge on the 686. You'll still have true spinlock behavior and semantics.

generally, the APIC(s) is rarely touched except at initialization time. So
it cant really be the APIC stuff. And it's _never_ supposed to be touched
if it's not detected at bootup ...

-- mingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu