Date: Mon, 10 Nov 2008 22:36:23 +0200 From: Alexander Motin <mav@FreeBSD.org> To: Nate Lawson <nate@root.org> Cc: FreeBSD acpi <freebsd-acpi@FreeBSD.org> Subject: Re: RFC: powerd algorithms enhancements Message-ID: <49189B47.7090509@FreeBSD.org> In-Reply-To: <49186111.9020103@root.org> References: <491404BF.1090807@FreeBSD.org> <49186111.9020103@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Nate Lawson wrote: > Alexander Motin wrote: >> 2. To make powerd's operation independent from number and size of >> frequency levels I have added internal frequency counter which >> translated into real frequencies only on a last stage and only as good >> as gone. Some systems may have only several power levels, while mine has >> 17 of them, so adaptation time in completely different. It would be good >> if algorithm was not depending on it. > > I don't understand the advantage of this. Universality and predictiveness. Systems with 2 and with 32 levels will drop/rise frequency with same absolute rate. If we are trying to speak about some comparing, algorithm should be hardware independent. > There's a patch Cyrille Szymanski has sent me to review that implements > the FLAT and PAST algorithms in powerd. I think we should not add new > modes that are heuristics (including this one) until we have a chance to > compare it to algorithms that have been the result of real research. So show it to us. This area is heuristic by default as there is several opposite criteriums, so any algorithm will be heuristic. -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49189B47.7090509>