On July 27 at 21:04 EDT, Patrick McFarland hastily scribbled: > On Thursday 27 July 2006 04:54, Miles Lane wrote: > > Hello, > > > > It sounds, from comments in the discussion of CPU Hotplug locking > > problems, as though you are considering deleting the ondemand CPUFreq > > code. If this happens, I hope that something that provides the same > > functionality replaces it. I really appreciate having my power > > consumption automatically modulated on an as needed basis. Power > > management seems to be one of the areas where there is a lot of room > > for improvement. > > I think you've gotten confused. Ondemand is a horrible governor that only > flips between two cpu frequencies, the lowest and the highest. Use the > Conservative governor instead. AFAIK, ondemand implements the following. Many times per second, do the following: Calculate CPU usage since last check. If CPU usage > high threshold, set frequency to maximum. If CPU usage < low threshold, lower frequency by one level. So it will immediately jump to the highest frequency, in order to provide low latency, but will slowly decrease it until it finds the lowest frequency that provides enough CPU power to support the current load. Personally, I prefer conservative, because it isn't as "jumpy", but I can see ondemand being necessary in a server environment where the several second lag time to peak performance would hurt response time when load is low. --Thomas Tuttle
Attachment:
pgpUobvRduL1j.pgp
Description: PGP signature
- Follow-Ups:
- Re: The ondemand CPUFreq code -- I hope the functionality stays
- From: Arjan van de Ven <[email protected]>
- Re: The ondemand CPUFreq code -- I hope the functionality stays
- References:
- The ondemand CPUFreq code -- I hope the functionality stays
- From: "Miles Lane" <[email protected]>
- Re: The ondemand CPUFreq code -- I hope the functionality stays
- From: Patrick McFarland <[email protected]>
- The ondemand CPUFreq code -- I hope the functionality stays
- Prev by Date: Re: [NFS] [PATCH 005 of 9] knfsd: Be more selective in which sockets lockd listens on.
- Next by Date: Re: Linux v2.4.33-rc3 (and a new v2.4 maintainer)
- Previous by thread: Re: The ondemand CPUFreq code -- I hope the functionality stays
- Next by thread: Re: The ondemand CPUFreq code -- I hope the functionality stays
- Index(es):