linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* more dput lock contentions in 2.6.38-rc?
@ 2011-01-25  0:35 Shaohua Li
  2011-01-25  1:04 ` Nick Piggin
  0 siblings, 1 reply; 11+ messages in thread
From: Shaohua Li @ 2011-01-25  0:35 UTC (permalink / raw)
  To: linux-fsdevel@vger.kernel.org, lkml
  Cc: Andrew Morton, Nick Piggin, Chen, Tim C

Hi,
we are testing dbench benchmark and see big drop of 2.6.38-rc compared
to 2.6.37 in several machines with 2 sockets or 4 sockets. We have 12
disks mount to /mnt/stp/dbenchdata/sd*/ and dbench runs against data of
the disks. According to perf, we saw more lock contentions:
In 2.6.37: 13.00%        dbench  [kernel.kallsyms]   [k] _raw_spin_lock
In 2.6.38-rc: 69.45%        dbench  [kernel.kallsyms]   [k]_raw_spin_lock
-     69.45%        dbench  [kernel.kallsyms]   [k] _raw_spin_lock
   - _raw_spin_lock
      - 48.41% dput
         - 61.17% path_put
            - 60.47% do_path_lookup
               + 53.18% user_path_at
               + 42.13% do_filp_open
               + 4.69% user_path_parent
            - 35.56% d_path
                 seq_path
                 show_vfsmnt
                 seq_read
                 vfs_read
                 sys_read
                 system_call_fastpath
                 __GI___libc_read
            + 2.17% do_filp_open
            + 1.72% mounts_release
         + 38.69% link_path_walk
      + 30.21% path_get
      + 19.08% nameidata_drop_rcu
      + 0.83% __d_lookup
it appears there are heavy lock contention when dput release '/', 'mnt',
'stp', 'dbenchdata' and 'proc' when dbench is running.

Thanks,
Shaohua

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-02-23  3:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-25  0:35 more dput lock contentions in 2.6.38-rc? Shaohua Li
2011-01-25  1:04 ` Nick Piggin
2011-01-25  1:11   ` Shaohua Li
2011-01-25  1:26     ` Nick Piggin
2011-01-25  1:34       ` Shaohua Li
2011-01-25  1:44         ` Nick Piggin
2011-01-25  2:01           ` Shaohua Li
2011-01-25  2:09             ` Nick Piggin
2011-01-25  2:46               ` Shaohua Li
2011-01-25  3:04                 ` Nick Piggin
2011-02-23  3:26         ` Shaohua Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).