amd64/121590: powerd(8) may not work correctly

Mike Meyer mwm at mired.org
Fri Aug 8 16:50:04 UTC 2008


The following reply was made to PR amd64/121590; it has been noted by GNATS.

From: Mike Meyer <mwm at mired.org>
To: Gavin Atkinson <gavin at FreeBSD.org>
Cc: bug-followup at FreeBSD.org
Subject: Re: amd64/121590: powerd(8) may not work correctly
Date: Fri, 8 Aug 2008 12:15:06 -0400

 On Fri, 08 Aug 2008 12:21:26 +0100
 Gavin Atkinson <gavin at FreeBSD.org> wrote:
 
 > On Wed, 2008-08-06 at 18:50 -0400, Mike Meyer wrote:
 > > Here's the sysctl dev.cpu output you requested.
 > 
 > Thanks for that.  The symptoms you were seeing was that
 > "sysctl dev.cpu.0.freq=200" would return "Invalid argument" but yet
 > appear to actually set the frequency.  Are you able to confirm that the
 > CPU speed has actually dropped (e.g. by timing a compile, or similar)?
 > It's not clear from your info whether the CPU frequency is actually
 > changing, or if it's just the sysctl value that is changing.
 > 
 > Please CC your response to bug-followup at FreeBSD.org so that it ends up
 > in the PR audit trail.
 
 I don't believe the cpu speed is actually changing:
 
 
 bhuda# sysctl dev.cpu.0.freq
 dev.cpu.0.freq: 200
 bhuda# dhry
 Dhrystone(1.1) time for 500000000 passes = 171.9
 This machine benchmarks at 2908712 dhrystones/second
 bhuda# sysctl dev.cpu.0.freq=2400
 dev.cpu.0.freq: 200
 sysctl: dev.cpu.0.freq: Invalid argument
 bhuda# sysctl dev.cpu.0.freq
 dev.cpu.0.freq: 2400
 bhuda# dhry
 Dhrystone(1.1) time for 500000000 passes = 165.4
 This machine benchmarks at 3022085 dhrystones/second
 
      <mike
 -- 
 Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
 Independent Network/Unix/Perforce consultant, email for more information.
 
 O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


More information about the freebsd-amd64 mailing list