xfs
[Top] [All Lists]

Re: performance of filesystem xattrs with Samba4

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: performance of filesystem xattrs with Samba4
From: tridge@xxxxxxxxx
Date: Mon, 22 Nov 2004 10:43:40 +1100
Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <20041121222123.GB704@frodo>
References: <1098383538.987.359.camel@new.localdomain> <16797.41728.984065.479474@samba.org> <20041121222123.GB704@frodo>
Reply-to: tridge@xxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
Nathan,

 > I'm curious why you went to 2K inodes instead of 512 - I guess
 > because thats the largest inode size with a 4K blocksize?  If
 > the defaults were changed, I expect it would be to switch over
 > to 512 byte inodes - do you have numbers for that?

It was a fairly arbitrary choice. For the test I was running the
xattrs were small (44 bytes), so 512 would have been fine, but some
other tests I run use larger xattrs (for NT ACLs, streams, DOS EAs
etc). 

 > Ah great, thanks, I'll be keen to try that when its available.

It's now released. You can grab it at:

  http://samba.org/ftp/tridge/dbench/dbench-3.0.tar.gz

It should produce much more consistent results than previous versions
of dbench, plus it has a -x option to enable xattr support. Other
changes include:

 - the runs are now time limited, rather than being a fixed number of
   operations. This gives much more consisten results, especially for
   fast machines.

 - I've changed the mapping of the filesystem operations to be much
   closer to what Samba4 does, including the directory scans for case
   insensitivity, the stat() calls in name resolution and things like
   statfs() calls. The modelling could still be improved, but its
   much better than it was.

 - the load file is now compatible with the smbtorture NBENCH test
   again (the two diverged a while back).

 - the default load file has been updated to be based on NetBench
   7.0.3, running a enterprise disk mix.

 - the warmup/execute/cleanup phases are now better separated

Cheers, Tridge


<Prev in Thread] Current Thread [Next in Thread>