From owner-freebsd-current Wed Mar 8 10:29:46 2000 Delivered-To: freebsd-current@freebsd.org Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by hub.freebsd.org (Postfix) with ESMTP id 396E837B515; Wed, 8 Mar 2000 10:29:38 -0800 (PST) (envelope-from aron@cs.rice.edu) Received: (from aron@localhost) by cs.rice.edu (8.9.0/8.9.0) id MAA14589; Wed, 8 Mar 2000 12:29:36 -0600 (CST) From: Mohit Aron Message-Id: <200003081829.MAA14589@cs.rice.edu> Subject: enabling APIC without SMP To: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Date: Wed, 8 Mar 2000 12:29:35 -0600 (CST) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm using a FreeBSD-current snapshot from 3rd January 2000. It seems that in order to enable APICs (option APIC_IO in kernel configuration file), one needs to also compile the kernel with SMP support (option SMP in kernel configuration file). While enabling the APIC is desirable even on a uniprocessor (provides more IRQs, interrupt ovhd becomes less, provides on-chip timer), enabling SMP support on a uniprocessor brings down the performance (I've noticed a degradation of 22% in performance of a webserver when a kernel was compiled with SMP support than without). Would it be possible to allow enabling the APIC without requiring support for SMP in future versions of FreeBSD ? Since I'm using a snapshot that's about two months old, I apologize if the above has already been addressed in the latest snapshots. - Mohit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message