From nobody@FreeBSD.org Sun Mar 12 12:16:27 2000 Return-Path: Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 969ED37BCEA for ; Sun, 12 Mar 2000 12:16:27 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA35704; Sun, 12 Mar 2000 12:16:22 -0800 (PST) (envelope-from nobody@FreeBSD.org) Message-Id: <200003122016.MAA35704@freefall.freebsd.org> Date: Sun, 12 Mar 2000 12:16:22 -0800 (PST) From: aron@cs.rice.edu Sender: nobody@FreeBSD.org To: freebsd-gnats-submit@FreeBSD.org Subject: APIC cannot be enabled without turning on support for SMP X-Send-Pr-Version: www-1.0 >Number: 17346 >Category: i386 >Synopsis: APIC cannot be enabled without turning on support for SMP >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 12 12:20:01 PST 2000 >Closed-Date: Sat Jul 21 17:17:31 PDT 2001 >Last-Modified: Sat Jul 21 17:19:10 PDT 2001 >Originator: Mohit Aron >Release: FreeBSD-current >Organization: Rice University >Environment: FreeBSD aurora.cs.rice.edu 4.0-20000208-CURRENT FreeBSD 4.0-20000208-CURRENT #1: Mon Feb 14 19:59:00 CST 2000 root@vaddr.cs.rice.edu:/usr/src/sys/compile/VADDR i386 >Description: The FreeBSD kernel only supports enabling the APIC when SMP support is configured in the kernel. APICs are desirable even in uniprocessor systems because they provide 1) on chip timers 2) larger number of IRQs and 3) low interrupt overheads. Unfortunately, if the FreeBSD kernel is compiled with SMP support, the performance drops down - possibly due to the various locking mechanisms that get turned on. A webserver's performance drops down by 22% when SMP support is turnedon a an otherwise uniprocessor machine. >How-To-Repeat: Trying compiling the kernel after turning on the option APIC_IO in the kernel configuration file. Make sure that the option SMP is not turned on. Kernel wouldn't compile. >Fix: The FreeBSD kernel should support turning on the APIC without turning on SMP support. This is useful in uniprocessor systems. >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: mike State-Changed-When: Sat Jul 21 17:17:31 PDT 2001 State-Changed-Why: This PR addresses a general problem with SMP. That it is slower under some circumstances. 5.0-RELEASE should fix this; thereby resolving this PR. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17346 >Unformatted: