From owner-freebsd-current@FreeBSD.ORG Mon Mar 12 19:33:20 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3AA7106564A; Mon, 12 Mar 2012 19:33:20 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm2.ukr.net (fsm2.ukr.net [195.214.192.121]) by mx1.freebsd.org (Postfix) with ESMTP id 65CB48FC1F; Mon, 12 Mar 2012 19:33:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=zDVuTKmA0Z7Rxh3qT7/gz20Wp15PdNYZREiBfOQGD64=; b=Lhv+UbPko5b87maygyVi2VutLWfhyqtLblgSyxL7zuJvtCcFo2fyGWMZZDGWD+mvGpwxIs1KAuSn+8zMNihLPSzbeIHqLu07xJpr0nIKhX+IlQyUNxJHVZ196QI2JHW2i1DNVOOwoPoZjreu2wAZyexqu3IssYW2Vh4cDwwjdvE=; Received: from [178.137.138.140] (helo=nonamehost.) by fsm2.ukr.net with esmtpsa ID 1S7AzV-00045V-MB ; Mon, 12 Mar 2012 21:33:10 +0200 Date: Mon, 12 Mar 2012 21:33:07 +0200 From: Ivan Klymenko To: Alexander Motin Message-ID: <20120312213307.2be6bdf9@nonamehost.> In-Reply-To: <4F5E4B57.1050605@FreeBSD.org> References: <4F5E4B57.1050605@FreeBSD.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-performance@FreeBSD.org, FreeBSD current Subject: Re: Improved Intel Turbo Boost status/control X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 19:33:20 -0000 =D0=92 Mon, 12 Mar 2012 21:15:35 +0200 Alexander Motin =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Hi. >=20 > I'd like to note that recent r232793 change to cpufreq(4) in HEAD > opened simple access to the Intel Turbo Boost status/control. I've > found that at least two of my desktop systems (based Nehalem and > SandyBridge Core i7s) with enabled Intel Turbo Boost in BIOS it is > not use it by default, unless powerd is enabled. And before this > change it was difficult to detect/fix. >=20 > ACPI reports extra performance level with frequency 1MHz above the=20 > nominal to control Intel Turbo Boost operation. It is not a bug, but=20 > feature: > dev.cpu.0.freq_levels: 2934/106000 2933/95000 2800/82000 ... > In this case value 2933 means 2.93GHz, but 2934 means 3.2-3.6GHz. >=20 > After boot with default settings I see: > dev.cpu.0.freq: 2933 > , that means Turbo Boost is disabled. >=20 > Enabling powerd or just adding to rc.conf > performance_cpu_freq=3D"HIGH" > enables Turbo Boost and adds extra 10-20% to the system performance. >=20 > Turbo Boost operation can be monitored in run-time via the PMC with=20 > command that prints number or really executed cycles per CPU core: > pmcstat -s unhalted-core-cycles -w 1 >=20 Thank you very much! performance_cpu_freq=3D"HIGH" and as this option must be combined with state of the processor C1 C2 C3? performance_cx_lowest=3D"XX" economy_cx_lowest=3D"XX"