Messages in this thread | | | Date | Wed, 10 Mar 2010 01:10:51 +0100 | From | Frederic Weisbecker <> | Subject | Re: [PATCH 1/3] lockdep: Move lock events under lockdep recursion protection |
| |
On Tue, Mar 09, 2010 at 04:18:58PM +0900, Hitoshi Mitake wrote: > Thanks a lot, Frederic! > > I tested perf lock with your patch, result is like this, > > Typical scores: > > before: > % sudo ./perf lock record ./perf bench sched messaging > # Running sched/messaging benchmark... > # 20 sender and receiver processes per group > # 10 groups == 400 processes run > > Total time: 3.265 [sec] > [ perf record: Woken up 0 times to write data ] > [ perf record: Captured and wrote 143.952 MB perf.data (~6289344 samples) ] > > after: > % sudo ./perf lock record ./perf bench sched messaging > # Running sched/messaging benchmark... > # 20 sender and receiver processes per group > # 10 groups == 400 processes run > > Total time: 1.943 [sec] <--- about x1.5 faster! > [ perf record: Woken up 0 times to write data ] > [ perf record: Captured and wrote 98.161 MB perf.data (~4288734 samples) > ] <--- size of perf.data is also reduced >
Oh great! Yeah this recursion thing was really bad.
Thanks.
| |