On Sat, Jun 17, 2006 at 04:06:16PM +0200, Matthias Grimm wrote: > 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:
I've repeated your tests with CVS version, below are the results: pbbuttonsd 0.7.5 up $ dstat -cpyi --ipc 2 5 ----total-cpu-usage---- ---procs--- ---system-- ----interrupts--- --sysv-ipc- usr sys idl wai hiq siq|run blk new|_int_ _csw_|__42_ __47_ __63_|msg sem shm 9 2 85 5 0 0| 0 0 2| 106 857 | 9 3 3 | 0 0 8 1 1 99 0 0 0| 1 0 0| 40 117 | 9 1 0 | 0 0 8 4 2 94 0 0 0| 1 0 2| 44 136 | 9 1 0 | 0 0 8 1 0 99 0 0 0| 1 0 0| 42 110 | 9 1 0 | 0 0 8 1 0 99 0 0 0| 1 0 0| 32 108 | 9 1 0 | 0 0 8 1 0 99 0 0 0| 1 0 0| 66 126 | 9 1 0 | 0 0 8 pbbuttonsd 0.7.5 down $ dstat -cpyi --ipc 2 5 ----total-cpu-usage---- ---procs--- ---system-- ----interrupts--- --sysv-ipc- usr sys idl wai hiq siq|run blk new|_int_ _csw_|__42_ __47_ __63_|msg sem shm 9 2 85 5 0 0| 0 0 2| 106 855 | 9 3 3 | 1 0 8 5 3 70 24 0 0| 1 0 2| 65 526 | 9 1 0 | 1 0 8 1 0 99 0 0 0| 1 0 0| 52 478 | 9 1 0 | 1 0 8 1 0 99 0 0 0| 1 0 0| 52 490 | 9 1 0 | 1 0 8 15 1 85 0 0 0| 2 0 0| 77 568 | 9 5 0 | 1 0 8 4 0 96 0 0 0| 3 0 0| 63 522 | 9 3 0 | 1 0 8 pbbuttonsd cvs up $ dstat -cpyi --ipc 2 5 ----total-cpu-usage---- ---procs--- ---system-- ----interrupts--- --sysv-ipc- usr sys idl wai hiq siq|run blk new|_int_ _csw_|__42_ __47_ __63_|msg sem shm 9 2 84 5 0 0| 0 0 2| 109 842 | 9 3 3 | 0 0 6 1 0 99 0 0 0| 1 0 0| 71 137 | 9 1 0 | 0 0 6 1 2 97 0 1 0| 1 0 0| 66 163 | 9 1 33 | 0 0 6 1 1 99 0 0 0| 1 0 0| 50 118 | 9 1 0 | 0 0 6 1 0 99 0 0 0| 1 0 0| 39 116 | 9 1 7 | 0 0 6 3 2 95 0 0 0| 1 0 2| 48 157 | 9 1 16 | 0 0 6 I see a great improvement here! Usability is not affected IMO filippo -- Filippo Giunchedi - http://esaurito.net PGP key: 0x6B79D401 random quote follows: Man was made at the end of the week's work when God was tired. -- Mark Twain
signature.asc
Description: Digital signature

