Improving the speed of make test

Matthieu Patou mat at
Mon Mar 5 15:50:05 MST 2012

On 03/05/2012 12:23 AM, Volker Lendecke wrote:
> On Mon, Mar 05, 2012 at 06:36:57PM +1100, Andrew Bartlett wrote:
>> Jelmer and others interested in selftest:
>> A while back, I started doing some profiling to determine where the time
>> is spent in 'make test', using 'perf'.
>> I was surprised to find that 15% of our time is spent in routines
> Is that total time or CPU time? Quite some of the tests in
> the file server area look at or depend on timeout behaviour.
> The tests for share modes for example come to mind. With
> some care (independent file names), they could probably very
> well run in parallel and gain quite a bit of total time.
I suggested here :

that we run tests in environment in parallel (ie. samba3.* tests while 
doing samba4.* dc  and samba4 fl2000, ...) on machines with more that 2 
cores this could prove to be very valuable I'm sure.


Matthieu Patou
Samba Team

More information about the samba-technical mailing list