powerd to use sysctl to import temps to drop freq to avoid heat crash

Julian H. Stacey jhs at berklix.com
Wed Jan 4 18:23:09 UTC 2012


Alexander Motin wrote:
> That's my presentation about the same topic in Russian for KyivBSD 2010 
> conference. The mentioned guide in English can be found here:
> http://wiki.freebsd.org/TuningPowerConsumption

Thanks, I just linked to it from my
  http://berklix.com/~jhs/hardware/hp/pavilion/dm3-1155ea


> I've just added there some points about AMD C1E state and its support in 
> FreeBSD 8.x and 9.x from my knowledge. Unluckily I never had laptop with 
> AMD CPU to really test power management there.

For your page:

Suggestion
  To help people find what "EIST frequencies" is, swap it to:

  <a href="http://http://www.intel.com/support/processors/sb/cs-028855.htm>
  EIST <small>(Enhanced Intel SpeedStep Technology)</small> frequencies</A>


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 / ?

  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
   )


Suggestion
  Section name "C-states"
  Link to 
	http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface#Processor_states


Note
  performance_cx_lowest=
	I don't have that (so maybe mark as FreeBSD version on
	Intel/AMD specific ?, I have:
  dev.cpu.0.cx_supported: C1/0
  dev.cpu.1.cx_supported: C1/0
  sysctl -d dev.cpu.1.cx_supported
	dev.cpu.1.cx_supported: Cx/microsecond values for supported Cx states

  hint.pcm.0.buffersize=65536
	I don't have that, I have:
        dev.pcm.0.buffersize: 16384
        sysctl -d dev.pcm.0.buffersize : allocated buffer size
  
  hint.pcm.1.buffersize=65536
        dev.pcm.1.buffersize: 16384
 
  hw.snd.feeder_buffersize
	I don't have that, I have:
        hw.snd.feeder_rate_quality: 1
        hw.snd.feeder_rate_round: 25
        hw.snd.feeder_rate_max: 2016000
        hw.snd.feeder_rate_min: 1
        hw.snd.feeder_rate_polyphase_max: 183040
        hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
        hw.snd.feeder_eq_exact_rate: 0
	hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,
		48000,88200,96000,176400,192000


  hint.atrtc.0.clock
	I don't have that, I have:
	dev.atrtc.0.%desc: AT realtime clock
	dev.atrtc.0.%driver: atrtc
	dev.atrtc.0.%location: handle=\_SB_.PCI0.LPC0.RTC_
	dev.atrtc.0.%pnpinfo: _HID=PNP0B00 _UID=0
	dev.atrtc.0.%parent: acpi0

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 ?

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script, & indent with "> ".
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.


More information about the freebsd-mobile mailing list