From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 18:57:35 2011 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 286C21065670 for ; Tue, 12 Apr 2011 18:57:35 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id AABE68FC15 for ; Tue, 12 Apr 2011 18:57:34 +0000 (UTC) Received: by fxm11 with SMTP id 11so5982976fxm.13 for ; Tue, 12 Apr 2011 11:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=nbBwoSwciH3Aw2nhEbuDf0G1wPuRyuuJlyds9nn2Thw=; b=UaBsnA6r8uxEItePMABrNi9R6VgdaN9Y4MojsAY4tVvqxncKYCHuuHKEhrrc01ZHWi xtJhPAoaOrP0X7LcipEcGQQLizjoeT2UafVZwItTEpOhK6U7RID9hDOtr6WMgeWP+Gqg oc1GkbD+ssPiwNLigW7UK19x6I5LbK0EIeSco= 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=rTPYINc7pPtOpl8wMBz65huPKOqEal40iNQZXSjyr+YQQX5036+D7mzfP5iSzEmIAb UX3n8oolmi+vRNQYwvrB/w9VLAzCSbDbliJttyOSxMWEYuIMPkSRaoDCUuL8WZIltHOI d1J5cpzVT3gwjHgserC8SZp9Mm4WXrExBrAJA= Received: by 10.223.101.72 with SMTP id b8mr229912fao.15.1302634653436; Tue, 12 Apr 2011 11:57:33 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id n9sm2090693fax.3.2011.04.12.11.57.31 (version=SSLv3 cipher=OTHER); Tue, 12 Apr 2011 11:57:32 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DA4A08E.6020505@FreeBSD.org> Date: Tue, 12 Apr 2011 21:57:18 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Ian Smith References: <4DA37E31.4020700@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable Subject: Re: powerd / cpufreq question 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: Tue, 12 Apr 2011 18:57:35 -0000 Ian Smith wrote: > On Tue, 12 Apr 2011, Daniel Gerzo wrote: > > On 11.4.2011 6:08, Ian Smith wrote: > > > > > > As you see, total of differences for each cpu is here 89 ticks, but I've > > > no idea of the interval between your two readings, or your value of HZ? > > > > the interval may have been around 1-2 seconds. > > My value of HZ is default, 1000. > > Ok, seems it depends on stathz, not HZ, so 89'd be less than 1 second if > your stathz is 128 .. I gather that may be changed with the 9.x timers? 9-CURRENT tries to set stathz to 127, or at least somewhere around. The main difference there is that clocks really tick only when CPU is running and emulated during idle periods to allow C-states do their job. -- Alexander Motin