Samba 4 testsuite analysis

Jelmer Vernooij jelmer at samba.org
Thu Sep 23 02:24:22 MDT 2010


Hi Matthias,

On Thu, 2010-09-23 at 10:19 +0200, Matthias Dieter Wallnöfer wrote:
> nice that you share my opinion - which I've stated already. We really 
> need to do some performance improvements on "make test".
> Have I understood it correctly that part of the problem lies in the 
> "fsync"s in the LDB transaction code? Probably we could add some bypass 
> code for them when run under "make test".
I'm not sure yet if that will help. This analysis only tells us which
tests are slow, not why they are slow. 

Cheers,

Jelmer

> Jelmer Vernooij wrote:
> > The Samba 4 test suite is taking increasingly long to run - on my
> > machine it takes almost an hour.
> >
> > Now that we've got subunit in place I've done some analysis to see what
> > tests exactly is causing the test suite to take so long, and hopefully
> > what we can do about it.
> >
> > The full list of (6000) tests sorted by run time can be found at:
> >
> > http://samba.org/~jelmer/samba4-test-times.ods
> >
> > This document was created by running "subunit-ls --times
> > --no-passthrough" on st/subunit and sorting the resulting data.
> >
> > Hopefully we can improve the run time of some of the slowest tests
> > and/or split them up a bit further.
> >
> > Cheers,
> >
> > Jelmer
> >    
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100923/61652931/attachment.pgp>


More information about the samba-technical mailing list