From: Jens Axboe Date: Wed, 26 Mar 2008 09:05:43 +0000 (+0100) Subject: smalloc: increase initial pool size from 64k to 1m X-Git-Tag: fio-1.20-rc4~9^2~2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=85f467031d14d98940f56941016faa481a628c0f smalloc: increase initial pool size from 64k to 1m We allocate randommaps from that pool as well and they can grow quite large. Signed-off-by: Jens Axboe --- diff --git a/smalloc.c b/smalloc.c index b7502dc9..fd0e9bd0 100644 --- a/smalloc.c +++ b/smalloc.c @@ -16,7 +16,7 @@ #undef ENABLE_RESIZE /* define to enable pool resizing */ #define MP_SAFE /* define to made allocator thread safe */ -#define INITIAL_SIZE 65536 /* new pool size */ +#define INITIAL_SIZE 1048576 /* new pool size */ #define MAX_POOLS 32 /* maximum number of pools to setup */ #ifdef ENABLE_RESIZE