[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] BSD Buildbots
From: |
Lapo Luchini |
Subject: |
Re: [Monotone-devel] BSD Buildbots |
Date: |
Sun, 03 Feb 2008 11:55:33 +0100 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20071228) |
Zack Weinberg wrote:
> I think there might be something else weird with those buildbots.
> That test shouldn't use anything like 256MB of memory - in fact,
> massif claims it never gets above 10MB (see attached graph). It does
> repeatedly allocate and then free about 10MB of memory, though; the
> only thing I can think of is that the malloc() implementation on the
> buildbot is stuck in some debugging mode where it never reuses a
> memory block, and that it has substantially more overhead than
> massif's (fairly dumb) guess.
Indeed "time -l" confirms that (and AFAIK that reads kernel data about
actual max memory used, it's not an approximation).
% /usr/bin/time -l softlimit -d11000000 sh -c './unit_tester
refiner:various_counts 2>/dev/null'
load: 0.99 cmd: unit_tester 49383 [runnable] 312.86u 3.36s 98% 9704k
602,70 real 573,98 user 6,34 sys
10768 maximum resident set size
4564 average shared memory size
6080 average unshared data size
131 average unshared stack size
64920 page reclaims
0 page faults
0 swaps
0 block input operations
0 block output operations
0 messages sent
0 messages received
0 signals received
9 voluntary context switches
599723 involuntary context switches
About the hypotetic "debug mode"... I don't know nothing about that,
i.e. if something of that sort is in place it's not intentional (but I
really know nothing about the python/twistd part of the bot).
--
Lapo Luchini
address@hidden (OpenPGP & X.509)
www.lapo.it (Jabber, ICQ, MSN)