#1 reduce cpu wakeups

closed
nobody
None
5
2007-08-13
2007-06-16
Nico
No

With the PowerTOP power usage analyzer I found that kooldock wakes the CPU about 250 times a second. That hinders the CPU from going into favorable C3 and C4 states.

Discussion

  • Nico
    Nico
    2007-06-16

    PowerTOP output

     
    Attachments
  • Bisiek
    Bisiek
    2007-06-27

    Logged In: YES
    user_id=1680414
    Originator: NO

    I'm trying to reduce CPU wakeups, especially when it's collapsed. Actually i don't know lot about CPU states, so I'm not sure whether it will be enough.

     
  • Nico
    Nico
    2007-06-28

    Logged In: YES
    user_id=1819285
    Originator: YES

    Well, I guess I can't help here either; there may be hints on the linuxpowertop mailing lists.
    Anyway I'd be happy to /test/ the code for reduced wakeups, once the work has started...

     
  • Bisiek
    Bisiek
    2007-08-11

    • status: open --> closed
     
  • Bisiek
    Bisiek
    2007-08-11

    Logged In: YES
    user_id=1680414
    Originator: NO

    Done - version on svn should wake CPU only 4 times per second.

     
  • Nico
    Nico
    2007-08-11

    • status: closed --> open
     
  • Nico
    Nico
    2007-08-11

     
    Attachments
  • Nico
    Nico
    2007-08-11

    Logged In: YES
    user_id=1819285
    Originator: YES

    _Not_ confirmed here. Using

    Qt: 3.3.8
    KDE: 3.5.7
    KoolDock: 0.4.7 (that is, svn 26)

    I still get way too many wakeups. Powertop output enclosed.
    File Added: powertop-svn-26.txt

     
  • Bisiek
    Bisiek
    2007-08-11

    • status: open --> pending
     
  • Bisiek
    Bisiek
    2007-08-11

    Logged In: YES
    user_id=1680414
    Originator: NO

    Ok, I've updated it again, and now it should really be 4-8 wakeups per second (more when settings windows is opened).

     
  • Bisiek
    Bisiek
    2007-08-11

    Logged In: YES
    user_id=1680414
    Originator: NO

    Ok, I've updated it again, and now it should really be 4-8 wakeups per second (more when settings windows is opened).

     
  • Nico
    Nico
    2007-08-12

    Logged In: YES
    user_id=1819285
    Originator: YES

    _Confirmed_ with

    Qt: 3.3.8
    KDE: 3.5.7
    KoolDock: 0.4.7 (that is, svn 27)

    Nicely done! That should really help keeping power consumption low.

    Btw, I get a couple of "bitBlt: Cannot bitBlt to device" now when starting with rev27. Everything working like a charm, though.

     
  • Nico
    Nico
    2007-08-12

    • status: pending --> open
     
  • Bisiek
    Bisiek
    2007-08-13

    Logged In: YES
    user_id=1680414
    Originator: NO

    Ok, fixed BitBlt on start, while using xosd, and QPainter warnings.

     
  • Bisiek
    Bisiek
    2007-08-13

    • status: open --> closed