cvs commit: src/sys/conf files src/sys/modules/acpi/acpi Makefile src/sys/dev/acpica acpi_battery.c acpi_smbat.c acpi_smbus.h acpiio.h

Poul-Henning Kamp phk at
Sun Nov 6 15:55:56 PST 2005

In message <436E860D.6000201 at>, Nate Lawson writes:
>Poul-Henning Kamp wrote:
>> In message <436E5797.7090605 at>, Nate Lawson writes:
>>>I've said it many times: we need a real predictive algorithm.  Taking a 
>>>single sample will always have hysteresis problems.
>> I implemented my own algorithm and it works OK for me.  Not perfect,
>> but OK:
>I think that's what we have in -current, except we promote by 2 instead 
>of 3.  That version was contributed by multiple people, including you 
>earlier.  Is this version substantially different?

Ahh ok, I wasn't aware that the stuff in the tree had been changed.

I've found that a promotion by three steps felt better than just
promoting by two steps, but this is a very subjective thing and it
obviously depends on the size of the steps.

A good strategy might be to let the decay remain at one, but make
the promotion be controllable from the command line.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the cvs-src mailing list