smalloc: enlarge pool size
authorJens Axboe <jens.axboe@oracle.com>
Fri, 31 Jul 2009 09:23:19 +0000 (11:23 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 31 Jul 2009 09:23:19 +0000 (11:23 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
smalloc.c

index ac5754d5f496119a342180eeae58bb4a229e4cf0..3dd1b4960dd9f15186399432800412fa1c45255d 100644 (file)
--- a/smalloc.c
+++ b/smalloc.c
@@ -20,7 +20,7 @@
 #define SMALLOC_BPI    (sizeof(unsigned int) * 8)
 #define SMALLOC_BPL    (SMALLOC_BPB * SMALLOC_BPI)
 
-#define INITIAL_SIZE   1024*1024       /* new pool size */
+#define INITIAL_SIZE   8192*1024       /* new pool size */
 #define MAX_POOLS      128             /* maximum number of pools to setup */
 
 #define SMALLOC_PRE_RED                0xdeadbeefU