From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 4 18:45:49 2012 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBDB8106566C for ; Wed, 4 Jan 2012 18:45:49 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5BF238FC08 for ; Wed, 4 Jan 2012 18:45:48 +0000 (UTC) Received: by eekc50 with SMTP id c50so20084025eek.13 for ; Wed, 04 Jan 2012 10:45:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=Hh2ED0rDBnyz5HfWGDdHmzuNLpcZzotpFoceYRzN5Sk=; b=JIfleN6RR6z4YUslcJ/d16oC5LxUYnhcta2xeTGexmdz8JCRU3EuIfG7Up4ihUjZXf dFwfR+ORYUke9e4VpPzDEazwDgOlRAc19SbJjk1e3lZEv/rE4cHjMrSzL0CUuySi79/j rMoI5S0cF7IaMwXPQBnPV/LMqDFd2YolFDYb4= Received: by 10.14.127.197 with SMTP id d45mr24022689eei.91.1325702748249; Wed, 04 Jan 2012 10:45:48 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id s16sm222935608eef.2.2012.01.04.10.45.46 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Jan 2012 10:45:46 -0800 (PST) Sender: Alexander Motin Message-ID: <4F049E58.5040404@FreeBSD.org> Date: Wed, 04 Jan 2012 20:45:44 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111227 Thunderbird/9.0 MIME-Version: 1.0 To: "Julian H. Stacey" References: <201201041822.q04IMlQJ060929@fire.js.berklix.net> In-Reply-To: <201201041822.q04IMlQJ060929@fire.js.berklix.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: mobile@freebsd.org Subject: Re: powerd to use sysctl to import temps to drop freq to avoid heat crash X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 18:45:49 -0000 On 01/04/12 20:22, Julian H. Stacey wrote: > Question: > In your > dev.cpu.0.freq_levels: 2400/35000 2000/28000 1600/22000 1200/16000 800/14000 > 1st numbers are frequency, what are 2nd numbers after / ? Relative power consumption under full CPU load. > Presumably not voltages, as mine have such a wide span : > dev.cpu.0.freq_levels: 1592/100000 1393/87500 1194/75000 995/62500 > 796/35457 696/31024 597/26592 497/22160 398/17728 298/13296 > 199/8864 99/4432 > (We should send-pr longer text to be produced by > sysctl -d dev.cpu.0.freq_levels > dev.cpu.0.freq_levels: CPU frequency levels > ) For EIST and probably PowerNow! frequencies it is relative power levels. But for frequencies created by throttling they are incorrect. If you disable throttling, you should see only "real" value. > Question > "It is not recommended to set the system timer tick rate below 250 HZ and" > Do you mean as shown by > kern.clockrate: { hz = 1000, tick = 1000, > Not kern.hz ? Generally kern.hz, but for freqs below 1000Hz they are equal. -- Alexander Motin