Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1223248
| From | Davidlohr Bueso <dave@stgolabs.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v6 4/6] locking/pvqspinlock: Collect slowpath lock statistics |
| Date | 2015-09-12 01:20 +0200 |
| Message-ID | <q7FLR-7Un-49@gated-at.bofh.it> (permalink) |
| References | <q7BoS-1rn-5@gated-at.bofh.it> <q7BoS-1rn-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 11 Sep 2015, Waiman Long wrote: >A sample of statistics counts after system bootup (with vCPU >overcommit) was: > >hash_hops_count=9001 >kick_latencies=138047878 >kick_unlock_count=9001 >kick_wait_count=9000 >spurious_wakeup=3 >wait_again_count=2 >wait_head_count=10 >wait_node_count=8994 >wake_latencies=713195944 Any reason you chose not to make the stats per-cpu? The locking numbers don't have to be exact, so you can easily get away with it and suffer from much less overhead that resorting to atomics. Obviously assuming that reading/collecting the stats is done infrequently, such as between workloads or at bootup as you did. Thanks, Davidlohr -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v6 4/6] locking/pvqspinlock: Collect slowpath lock statistics Waiman Long <Waiman.Long@hpe.com> - 2015-09-11 20:40 +0200
Re: [PATCH v6 4/6] locking/pvqspinlock: Collect slowpath lock statistics Davidlohr Bueso <dave@stgolabs.net> - 2015-09-12 01:20 +0200
Re: [PATCH v6 4/6] locking/pvqspinlock: Collect slowpath lock statistics Waiman Long <waiman.long@hpe.com> - 2015-09-14 17:30 +0200
Re: [PATCH v6 4/6] locking/pvqspinlock: Collect slowpath lock statistics Davidlohr Bueso <dave@stgolabs.net> - 2015-09-14 23:50 +0200
Re: [PATCH v6 4/6] locking/pvqspinlock: Collect slowpath lock statistics Waiman Long <waiman.long@hpe.com> - 2015-09-15 05:50 +0200
csiph-web