From owner-cvs-all@FreeBSD.ORG Wed Mar 2 14:17:44 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C03816A4CE; Wed, 2 Mar 2005 14:17:44 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E49B943D46; Wed, 2 Mar 2005 14:17:43 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j22EHhNO076834; Wed, 2 Mar 2005 14:17:43 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j22EHhjH076833; Wed, 2 Mar 2005 14:17:43 GMT (envelope-from jhb) Message-Id: <200503021417.j22EHhjH076833@repoman.freebsd.org> From: John Baldwin Date: Wed, 2 Mar 2005 14:17:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 local_apic.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 14:17:44 -0000 jhb 2005-03-02 14:17:43 UTC FreeBSD src repository Modified files: sys/i386/i386 local_apic.c Log: Tweak the lapic timer code to get the performance closer to the pre-lapic timer case: - Remove the virtual fooclock interrupt counters as they have served their purpose. - Adjust the dividers for the different clock such that profhz is now a multiple of stathz as in the non-lapic case, and the timer now runs at hz * 2 rather than hz * 3. With the new divisors, the default clock rates are: kern.clockrate: { hz = 1000, tick = 1000, profhz = 666, stathz = 133 } Revision Changes Path 1.14 +5 -15 src/sys/i386/i386/local_apic.c