From owner-svn-src-head@FreeBSD.ORG Mon Mar 11 12:02:04 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1EFAE69E; Mon, 11 Mar 2013 12:02:04 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 0D154CDF; Mon, 11 Mar 2013 12:02:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2BC23w5020233; Mon, 11 Mar 2013 12:02:03 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2BC23HC020232; Mon, 11 Mar 2013 12:02:03 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <201303111202.r2BC23HC020232@svn.freebsd.org> From: Alexander Motin Date: Mon, 11 Mar 2013 12:02:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r248154 - head/sys/dev/acpica X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 12:02:04 -0000 Author: mav Date: Mon Mar 11 12:02:03 2013 New Revision: 248154 URL: http://svnweb.freebsd.org/changeset/base/248154 Log: Reduce HPET eventtimer priority on systems with 8 or more cores. Price of the lock congestion may be too high there (2.5% on 4x4 core AMD Opteron). Modified: head/sys/dev/acpica/acpi_hpet.c Modified: head/sys/dev/acpica/acpi_hpet.c ============================================================================== --- head/sys/dev/acpica/acpi_hpet.c Mon Mar 11 10:56:46 2013 (r248153) +++ head/sys/dev/acpica/acpi_hpet.c Mon Mar 11 12:02:03 2013 (r248154) @@ -675,7 +675,8 @@ hpet_attach(device_t dev) if (t->pcpu_master >= 0) { t->et.et_flags |= ET_FLAGS_PERCPU; t->et.et_quality += 100; - } + } if (mp_ncpus >= 8) + t->et.et_quality -= 100; if ((t->caps & HPET_TCAP_PER_INT) == 0) t->et.et_quality -= 10; t->et.et_frequency = sc->freq;