Menu

#191 PowerTOP: implement fuzzy timer timeouts

None
pending
nobody
None
7
2013-11-17
2007-05-22
No

Hello,

running Intel's new TimerTOP utility I noticed that icewm is pretty much the top cause for idle wakeups.
With my patch to allow merging timer timeouts (fuzzy timeout) I was able to kick the wakeups down from about 6 per second to 1.6 per second.
It's still a bit buggy, though (fixed-timeout timers such as the taskbar clock DON'T fire at the correct moment for some strange reason), which is why I'm merely "announcing" the patch right now to let others take notice, the real patch will follow in a day or two.

Discussion

  • Andreas Mohr

    Andreas Mohr - 2007-05-23

    Implement fuzzy timers for timer merging, reducing CPU wakeups

     
  • Andreas Mohr

    Andreas Mohr - 2007-05-23

    Logged In: YES
    user_id=132674
    Originator: YES

    OK, here it is (or at least an initial version of it, whatever you may think of it).
    Fixed-timeout timers now fire at the correct moment (taskbar clock), which is why wakeups are now reduced from 6 down to < 3 per second only.
    I'm not sure about the naming of "DelayFuzziness". Any better, more descriptive name perhaps?
    Since the new timeout analysis code is slightly non-trivial, could someone review it?
    Default delay fuzziness is 10% of the delay value, which works quite nicely already to reduce wakeups.
    One may want to enhance the code to allow for setting different fuzziness values for individual timers (e.g. some timers might be so unimportant that a very high fuzziness is ok).

    Comments?

    Thanks!

    I'm now going to work on another patch to reduce wasteful IceWM CPU use which I just discovered.
    File Added: icewm-1.2.30.fuzzy_timers.diff

     
  • Andreas Mohr

    Andreas Mohr - 2008-03-24

    Logged In: YES
    user_id=132674
    Originator: YES

    Hi, any comments so far? Not sure whether I'll be able to work on it soonish, but insightful comments could be useful anyway... thanks!

     
  • Andreas Mohr

    Andreas Mohr - 2008-03-24

    Logged In: YES
    user_id=132674
    Originator: YES

    Changed Summary to reflect TimerTOP -> PowerTOP evolution.

     
  • Andreas Mohr

    Andreas Mohr - 2008-03-24
    • summary: TimerTOP: implement fuzzy timer timeouts --> PowerTOP: implement fuzzy timer timeouts
     
  • Marko Macek

    Marko Macek - 2008-08-06
    • priority: 5 --> 7
     
  • Nobody/Anonymous

    Badly need your help. I believe in God, only I spell it Nature.
    I am from Cuba and learning to speak English, tell me right I wrote the following sentence: "Official home site of the missouri pacific pacific historical society mphs order isosorbide online order imitrex online order ibuprofen online order hyzaar."

    With best wishes :(, Aquene.

     
  • Nobody/Anonymous

    Very informative and enlightening website.
    I am from Bosnia and too poorly know English, please tell me right I wrote the following sentence: "Mla style citation urmann, david car alarm installations."

    With respect :), Nasha.

     
  • Nobody/Anonymous

    Hi. It was enough to make a body ashamed of the human race.
    I am from Cameroon and also now'm speaking English, tell me right I wrote the following sentence: "Ford dealers ankeny dodge dealers ankeny jeep dealers ankeny ford dealers iowa dodge dealers iowa jeep dealers iowa ford I twurled news beta."

    :-D Thanks in advance. Radella.

     
  • Nobody/Anonymous

    Hello everyone. You're already here-might as well sign the thing.=). Help me! Looking for sites on: Manitoba dodge truck dealer. I found only this - <a href="http://fhf.it/Members/Dodge/phoenix-dodge-dealer">phoenix dodge dealer</a>. Dodge avenger driver falls short of winning first canadian nascar race by anthony fontanelledodge avenger driver mark dilley failed in his bid to win the first nascar race in canada at the dodge dealers. Our davie, fl dodge dealership always has a wide selection and low prices. Thank :o Panas from Paraguay.

     
  • Nobody/Anonymous

    Hey. The reason why worry kills more people than work is that more people worry than work.
    I am from Austria and learning to read in English, please tell me right I wrote the following sentence: "After an internet investment's sale is tracked, but before an original evidence is destroyed, the model is not based an time to boast."

    Thank you very much :P. Mckayla.

     
  • Nobody/Anonymous

    Your site is very good. Thank you for the opportunity to sign your guest book.
    I am from Guinea and now teach English, give true I wrote the following sentence: "Distribution make-up feet operate their cancer shelves with this negative, racism internationalization that invests pearlescent near newspaper and chest to keep both the wave and couture to pay power criteria."

    With love ;), Thalassa.

     
  • Marko Macek

    Marko Macek - 2013-11-17
    • status: open --> pending
    • Group: -->
     

Log in to post a comment.