On Fri, 16 Jun 2006 17:53:12 +0200
Filippo Giunchedi <[EMAIL PROTECTED]> wrote:

I looked a bit deeper into the code and found some more
actions that will improve the performance:
  1. Increase poll interval of IPC messages from 10ms to 100ms
  2. allow the display module to use a 100ms interval to change
     display or keyboard brightness, if fading is disabled
  3. terminate 10ms timer function, if it is not needed (That's
     the case now, if fading was disabled).

This actions don't seem to have a at least noticeable impact on
usability and functionality. I see no difference on my machine.
I'm curious how the results are on your machine. 

I put the code into CVS, so you might be able to try it out. If you
have trouble checking the code out let me know. I will send you a
package then.

At the end some more numbers for the different cases

1. witout pbbuttonsd running

$ dstat -cpyi --ipc 2 5
----total-cpu-usage---- ---procs--- ---system-- ----interrupts--- --sysv-ipc-
usr sys idl wai hiq siq|run blk new|_int_ _csw_|__47_ __48_ __57_|msg sem shm
  8   1  90   1   0   0|  0   0   1| 129   645 |   2    60     5 |  3   1  18
  7   0  93   0   0   0|  0   0   0|  74   280 |   0    60     0 |  3   1  18
  5   0  95   0   0   0|  0   0   2|  73   286 |   0    60     0 |  3   1  18
  4   1  95   0   0   0|  0   0   0|  85   266 |   0    61    11 |  3   1  18
  4   0  96   0   0   0|  0   0   1|  91   262 |   0    60    11 |  3   1  18
  4   0  95   0   0   0|  0   0   1|  74   278 |   0    61     0 |  3   1  18

2. pbbuttonsd 0.7.5-1 is running

$ dstat -cpyi --ipc 2 5
----total-cpu-usage---- ---procs--- ---system-- ----interrupts--- --sysv-ipc-
usr sys idl wai hiq siq|run blk new|_int_ _csw_|__47_ __48_ __57_|msg sem shm
  8   1  90   1   0   0|  0   0   1| 129   645 |   2    60     5 |  4   1  18
  9   0  91   0   0   0|  0   0   1| 104   451 |   0    60    11 |  4   1  18
  4   1  95   0   0   0|  0   0   0|  94   443 |   0    61     0 |  4   1  18
  5   0  95   0   0   0|  0   0   2|  93   440 |   0    60     0 |  4   1  18
  5   0  95   0   0   0|  0   0   0|  94   417 |   0    61     0 |  4   1  18
  5   0  95   0   0   0|  0   0   0| 101   420 |   0    60     1 |  4   1  18

3. pbbuttonsd CVS is running

$ dstat -cpyi --ipc 2 5
----total-cpu-usage---- ---procs--- ---system-- ----interrupts--- --sysv-ipc-
usr sys idl wai hiq siq|run blk new|_int_ _csw_|__47_ __48_ __57_|msg sem shm
  8   1  90   1   0   0|  0   0   1| 129   645 |   2    60     5 |  4   1  18
  8   1  88   4   0   0|  0   0   1|  73   421 |   0    60     0 |  4   1  18
  5   0  96   0   0   0|  0   0   0|  73   410 |   0    61     0 |  4   1  18
  5   0  60  35   0   0|  0   0   0| 151   417 |   0    60     0 |  4   1  18
  4   0  96   0   0   0|  0   0   1| 108   411 |   0    60     0 |  4   1  18
  5   0  96   0   0   0|  0   0   0|  75   407 |   0    61     1 |  4   1  18

4. pbbuttonsd CVS is running, fadingspeed = 0 (KBD and LCD)

$ dstat -cpyi --ipc 2 5
----total-cpu-usage---- ---procs--- ---system-- ----interrupts--- --sysv-ipc-
usr sys idl wai hiq siq|run blk new|_int_ _csw_|__47_ __48_ __57_|msg sem shm
  8   1  90   1   0   0|  0   0   1| 129   645 |   2    60     5 |  4   1  18
  8   1  92   0   0   0|  0   0   0|  73   274 |   0    61     0 |  4   1  18
  4   0  95   0   0   0|  0   0   0|  74   272 |   0    60     0 |  4   1  18
  5   0  96   0   0   0|  0   0   1|  74   296 |   0    61     1 |  4   1  18
  4   0  96   0   0   0|  0   0   0|  74   285 |   0    60     0 |  4   1  18
  4   1  71  23   0   0|  0   0   2| 109   307 |   0    61     0 |  4   1  18

  Best Regards
   Matthias



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to