Re: APIC/SMP on UP? (was Re: Load average with CURRENT)

From: Conrad Sabatier <conrads_at_cox.net>
Date: Tue, 09 Mar 2004 19:20:33 -0600 (CST)
On 09-Mar-2004 Jon Noack wrote:
> On 3/9/2004 10:17 AM, Justin Dossey wrote:
>> On Tue, 9 Mar 2004, Conrad Sabatier wrote:
>>>I've been meaning to ask about this.  Is there anything to be gained on a UP
>>>box by enabling APIC and/or SMP?
>> 
>> I'd say yes, there is.  APIC reduces interrupt overhead and provides
>> an on-chip timer. It also provides better interrupt sharing.
> 
> APIC, yes (see above).  SMP incurs a fairly significant amount of 
> overhead (extra locking, etc.).  I think I heard something a while back 
> about attempts to selectively enable SMP locking at runtime (so that 
> leaving SMP enabled in GENERIC doesn't hurt so much for UP), but then 
> again that might have been a dream... ;-)
> 
> In any case, this is what I run on my UP boxes:
>#options       SMP             # Symmetric MultiProcessor Kernel
> device                apic            # I/O APIC

Interesting.  Thanks!

-- 
Conrad Sabatier <conrads_at_cox.net> - "In Unix veritas"
Received on Tue Mar 09 2004 - 16:20:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:46 UTC