From owner-freebsd-stable@FreeBSD.ORG Mon Mar 8 14:56:20 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A213C1065674 for ; Mon, 8 Mar 2010 14:56:20 +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 2E61F8FC0C for ; Mon, 8 Mar 2010 14:56:19 +0000 (UTC) Received: by fxm23 with SMTP id 23so4844494fxm.3 for ; Mon, 08 Mar 2010 06:56:19 -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 :x-enigmail-version:content-type:content-transfer-encoding; bh=A2jKvFBg9ICww6qwOBVhdGcwNZ1Yd18DUKf3nVYYw6U=; b=FT6mVHPZn9rnuBkM79Bu4rq2aKyCC2uZn9Ht2gI5DC0Rj9twlNT0jtjesxKY5/7SAh 4+x9QAsgWHhSKkBMTK3QdTbqY1ydSyIzKIirMFfGXkcH1IZXRNcM/8w2msR1NfurVHVJ 4a5s+gkZ0KqjgZ1xl1BmZTWgd8wQqAVgTmUkg= 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:x-enigmail-version:content-type :content-transfer-encoding; b=SniGpENa7c9NmuG0QMmljOsp3vQPW16BA0LLjE0k6eBUOcWZwNZUT6z5HVrIFsbDQk iGi/b8Un7mP4+oOr4T4a9aJfm0xx2BVg1ULsDdTztJowFPcpjJtOAdCrXx1ulhLsABKd 7LJECu4joftY13CRJpGBMMQGZJTPk30MTzXI4= Received: by 10.223.64.84 with SMTP id d20mr5918862fai.76.1268060178942; Mon, 08 Mar 2010 06:56:18 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 14sm2973457fxm.9.2010.03.08.06.56.18 (version=SSLv3 cipher=RC4-MD5); Mon, 08 Mar 2010 06:56:18 -0800 (PST) Sender: Alexander Motin Message-ID: <4B95100F.1020108@FreeBSD.org> Date: Mon, 08 Mar 2010 16:56:15 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Jeremy Chadwick References: <1268058181.00227122.1268045402@10.7.7.3> <1268058195.00227162.1268047203@10.7.7.3> <4B950F70.8030601@FreeBSD.org> In-Reply-To: <4B950F70.8030601@FreeBSD.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: powerd on 8.0, is it considered safe? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2010 14:56:20 -0000 Alexander Motin wrote: > Jeremy Chadwick wrote: >> I should note that on RELENG_7, EIST/SpeedStep didn't appear to work >> properly (cpufreq(4) driver reporting that the est piece wouldn't >> attach), which historically (for me) has resulted in ACPI throttling >> being done (which works). Based on the sysctl output below, I believe >> acpi_perf is in use, but I'm not 100% certain. The man page doesn't >> really disclose how to determine which driver is in use. >> >> The X7SBA system in question is below. Be aware I limit the lowest >> clock frequency to 1500MHz using debug.cpufreq.lowest="1500" in >> /boot/loader.conf, which is why you don't see anything lower in >> freq_levels. >> >> dev.est.0.freq_settings: 3000/35000 2667/28000 2333/22000 2000/16000 > > This is the real set of EIST supported levels. > >> dev.cpu.0.freq_levels: 3000/35000 2667/28000 2333/22000 2041/19250 > 2000/16000 1750/14000 1500/12000 > > All the rest of these are throttling. > > I would recommend you to disable it by setting: > hint.p4tcc.0.disabled=1 > hint.acpi_throttle.0.disabled=1 > dev.cpu.1.cx_supported: C1/0 C2/85 And you may also enable C2 state, as your ACPI reports it, and it should be safe now. To get maximum effect from it you may wish to reduce HZ. -- Alexander Motin