In message <[EMAIL PROTECTED]>, Nate Lawson writes:
>Poul-Henning Kamp wrote:
>> In message <[EMAIL PROTECTED]>, 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:
>>      http://phk.freebsd.dk/patch/powerd.patch
>
>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
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to