[Cluster-devel] [PATCH 0/3] dlm_controld: Improvement on plock searching efficiency

Jiaju Zhang jjzhang.linux at gmail.com
Sat May 28 05:13:09 UTC 2011


On Fri, May 27, 2011 at 10:24:58AM -0400, David Teigland wrote:
> On Fri, May 27, 2011 at 07:44:03AM +0800, Jiaju Zhang wrote:
> > This series introduces a RB tree for improving plock resources searching
> > efficiency. We met this performance issue when running Samba on top of
> > cluster filesystem, profiling during nbench runs with num-progs=500, the
> > dlm_controld process can often be observed consuming an entire CPU core.
> 
> Thanks, the patches look good, I'll push them out to dlm.git.
> I'm curious how many resources (files) you had before you saw
> significant benefit from this patch?

Oh, sorry I don't know the exact resources either since this issue was
reported and the patches were verified by one of the users, I haven't
tested it myself;)

But I know their testing environment:
 - 2-node cluster
 - ocfs2 with user-space cluster stack, which depends on dlm to
   provide distributed locking
 - CTDB as resource agent, which enabled Samba in the clustered
   environment
 - LVS on top of the above.
and the testing they did is:
 smbtorture <ocfs2_volume> --num-progs=500 BENCH-NBENCH

As far as I know, smbtorture is a testsuite for SMB server, but I
haven't digged more into that to see the details of what smbtorture
will do to filesystem;)

Many thanks for your review!

Thanks,
Jiaju




More information about the Cluster-devel mailing list