Date: Sun, 4 May 2014 11:28:07 +0200 From: Marko Zec <zec@fer.hr> To: Adrian Chadd <adrian@freebsd.org> Cc: Kevin Oberman <rkoberman@gmail.com>, "freebsd-hackers@freebsd.org" <hackers@freebsd.org>, Nathan Whitehorn <nwhitehorn@freebsd.org>, Jordan Hubbard <jkh@mail.turbofuzz.com>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: Re: Leaving the Desktop Market Message-ID: <20140504112807.1136d108@x23> In-Reply-To: <CAJ-Vmokq-e7qMNZq_XVh3XBidAg7o6y4MOscvJYXSZB=dN9EjA@mail.gmail.com> References: <CAF6rxgkeBozvfV-L0%2BrFZ6fWRn0=Gi3BNq1kPL=-HTq0TD6MkQ@mail.gmail.com> <A70900DF-4BAA-427F-8731-01211FFD1887@mail.turbofuzz.com> <3F7430D7-3C0F-43E1-8EBD-8AA4F701497C@FreeBSD.org> <20140503155745.GA2457@La-Habana> <CAJ-VmokHQvb2S-1c08J3RECUMosQ%2Bcd1gdB91LAb5famfKqP5w@mail.gmail.com> <20140503192305.GA1847@La-Habana> <CAJ-Vmon1ZYX18SN1f=z9N=hSgpZrAxXMxiJBUDWk6LYvMRiHmw@mail.gmail.com> <CAN6yY1uo08PDsYJ2KQNjw4hYuNsNJUvRu1b0cG%2B387F6Owkukg@mail.gmail.com> <536592D1.7080403@freebsd.org> <CAN6yY1tdsitXmGeu87OBw6RZ_s0qDvuoYXbTJVjnr74k6oM4Ag@mail.gmail.com> <CAJ-Vmo=zXyuyARapz4UCaTwMtWtW_8ys0pgssHOOUhnA-5Bt4g@mail.gmail.com> <CAN6yY1ukYxuf=jwBVbepCg84k54HdquyCiwpRx%2BB=SQ1hb0efg@mail.gmail.com> <CAJ-Vmokq-e7qMNZq_XVh3XBidAg7o6y4MOscvJYXSZB=dN9EjA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 May 2014 01:13:48 -0700 Adrian Chadd <adrian@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140504112807.1136d108>