Messages in this thread | | | Date | Fri, 15 Jun 2012 08:29:59 +0800 | From | Fengguang Wu <> | Subject | Re: [PATCH v2] writeback: avoid race when update bandwidth |
| |
On Fri, Jun 15, 2012 at 10:06:33AM +1000, Dave Chinner wrote: > On Thu, Jun 14, 2012 at 10:00:06PM +0800, Fengguang Wu wrote: > > On Thu, Jun 14, 2012 at 12:05:59PM +1000, Dave Chinner wrote: > > > On Wed, Jun 13, 2012 at 08:14:34PM +0800, Fengguang Wu wrote: > > I wonder if anyone has a simple script for sorting lock_stat output > > based on that (and perhaps other selectable) criterion? It should be > > possible to write on myself, but still.. ;-) > > > > Default lock_stat output is sorted by absolute number of contentions. > > No that I know of. The default is pretty sane, because a highly > contended lock that is causing performance problems will always show > up near the top. If it's not in the top 10, then it's usually not > worth worrying about until you've dealt with the those above it....
Okay, thanks for the tip!
Thanks, Fengguang
| |