[Sheepdog] [PATCH] use tcmalloc if it is available
Christoph Hellwig
hch at infradead.org
Mon Nov 21 11:17:38 CET 2011
On Wed, Nov 16, 2011 at 09:41:17PM +0900, MORITA Kazutaka wrote:
> There were no obvious difference between them, so for now I think of
> dropping the tcmalloc patch. Let me know if anyone got different
> results.
As far as I can see sheepdog isn't really the pattern it's optimized
for. The sheep daemon actually doesn't seem to do all that much
memory allocations, and especially the worker thread seem to avoid
them nicely.
One reason to still allow linking against tcmalloc optionally is
that is has a nice heap profile which shows how often each malloc
callsite allocates memorry, and how much it consumes.
More information about the sheepdog
mailing list