Improving the speed of make test

Matthieu Patou mat at samba.org
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 :https://bugzilla.samba.org/show_bug.cgi?id=8582

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

-- 
Matthieu Patou
Samba Team
http://samba.org



More information about the samba-technical mailing list