projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd199f2
)
smalloc: increase initial pool size from 64k to 1m
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 26 Mar 2008 09:05:43 +0000
(10:05 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 26 Mar 2008 09:05:43 +0000
(10:05 +0100)
We allocate randommaps from that pool as well and they can grow
quite large.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
smalloc.c
patch
|
blob
|
blame
|
history
diff --git
a/smalloc.c
b/smalloc.c
index b7502dc9616a25b0292947c51be0b4daf2022487..fd0e9bd05fe81e1a91750933ca4f405937dd3a8a 100644
(file)
--- 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