From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 7 14:15:28 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 634F6106566C for ; Sun, 7 Mar 2010 14:15:28 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by mx1.freebsd.org (Postfix) with ESMTP id E26A68FC12 for ; Sun, 7 Mar 2010 14:15:27 +0000 (UTC) Received: by fxm23 with SMTP id 23so4031650fxm.3 for ; Sun, 07 Mar 2010 06:15:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=IaOwqCnIG+cbvTObMpWf6e6Sik26fXtTXwPEI84wCFw=; b=TagUOrDXZ4NWNq6oEe9IQS/gZmWef5iwcJsVTAuoRzrSSdjXZS/tX2PMclpctYlOOZ qG5Jz+Q63touDjEuJ0yaMlrihs+emx6FFxBqYsBonpuJ3fvHjRkAE+oGvEDsvWdCjzjE gTabnMWF+vhG/lL1OEv1S+eZ8b3N3eE4bzZMU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Usxz66zNDXA8R9c2QZyhT3QNYz9sdBkmAPJ2hK104W4lBpxatPZ8WFJoLyQA7ki5Aw bKBrzmLm9q6K6mrlJsjMEZRq485hxrQ/ZpWSY2xqgp75DjuEfj4e7TuXF0SRP4tIBXb6 wF+v5cO87a+arJkDvMlTvVg8AyYldi9l4tvJM= Received: by 10.87.72.3 with SMTP id z3mr3261453fgk.31.1267971326639; Sun, 07 Mar 2010 06:15:26 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 16sm2392404fxm.3.2010.03.07.06.15.25 (version=SSLv3 cipher=RC4-MD5); Sun, 07 Mar 2010 06:15:26 -0800 (PST) Sender: Alexander Motin Message-ID: <4B93B4FB.2090408@FreeBSD.org> Date: Sun, 07 Mar 2010 16:15:23 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Kevin Day References: <1267863782.00226478.1267851002@10.7.7.3> <1267867387.00226487.1267855802@10.7.7.3> <1267870984.00226502.1267859402@10.7.7.3> In-Reply-To: <1267870984.00226502.1267859402@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: ACPI/power implementation causing performance loss with i7/Nehalem turbo boost X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2010 14:15:28 -0000 Kevin Day wrote: > On Mar 6, 2010, at 12:05 AM, Daniel O'Connor wrote: > Yeah, sorry for not mentioning that I had tried this and didn't see any change, so I thought I was on the wrong track. > > # sysctl hw.acpi.cpu.cx_lowest=C3 > hw.acpi.cpu.cx_lowest: C1 -> C3 > > but it doesn't look like it's ever leaving C1: > > hw.acpi.cpu.cx_lowest: C3 > dev.cpu.0.cx_supported: C1/3 C2/205 C3/245 > dev.cpu.0.cx_lowest: C3 > dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 500us You have too high interrupt rate for the C-states entering latencies reported by your ACPI. You should significantly reduce number of interrupts per core. For example, by setting: kern.hz=100 hint.apic.0.clock=0 hint.atrtc.0.clock=0 -- Alexander Motin