Leaving the Desktop Market

Marko Zec zec at fer.hr
Sun May 4 09:28:58 UTC 2014


On Sun, 4 May 2014 01:13:48 -0700
Adrian Chadd <adrian at freebsd.org> wrote:

> [snip]
> 
> ok, how about this to start with:
> 
> http://people.freebsd.org/~adrian/power/20140504-powerd-1.diff
> 
> This defaults powerd to set minfreq to 50% of the hardware available
> maxfreq, unless minfreq is explicitly given on the command line.

As already noted earlier in this thread, if you disable

hint.p4tcc.0.disabled=1
hint.acpi_throttle.0.disabled=1

then the kernel does not even expose expose those silly minimum
"frequencies", and your problem goes away without patching powerd.

A more reasonable and simpler patch would be to disable the two
offending throttling drivers by default, I really cannot see a single
reason why do we need them at all, less why they are enabled.

Marko

> This should at least fix some of the really silly default decisions
> made by powerd during idle.
> 
> This code sorely needs an update to the cpufreq_*() routines. That can
> come later.
> 
> Does anyone have any issues?
> 
> 
> 
> -a
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-arch mailing list