Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH] fio: increase max smalloc pools
@ 2015-03-03 11:44 Christian Ehrhardt
  2015-03-03 22:03 ` Jens Axboe
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Ehrhardt @ 2015-03-03 11:44 UTC (permalink / raw)
  To: fio; +Cc: Christian Ehrhardt, Christian Ehrhardt

From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>

For our tests with about 250k files we found the smalloc pool being depleated.
Now for us values of 3-4 would be enough, but since it is a compile time switch
I'd like to make it safe for everybody and set 8.

Since it is a dynamic sizing anyway that should hopefully be ok for everybody.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
---

[diffstat]

[diff]

---
 smalloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/smalloc.c
+++ b/smalloc.c
@@ -26,7 +26,7 @@
 #define SMALLOC_BPL	(SMALLOC_BPB * SMALLOC_BPI)
 
 #define INITIAL_SIZE	16*1024*1024	/* new pool size */
-#define MAX_POOLS	1		/* maximum number of pools to setup */
+#define MAX_POOLS	8		/* maximum number of pools to setup */
 
 #define SMALLOC_PRE_RED		0xdeadbeefU
 #define SMALLOC_POST_RED	0x5aa55aa5U


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-04 15:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03 11:44 [PATCH] fio: increase max smalloc pools Christian Ehrhardt
2015-03-03 22:03 ` Jens Axboe
2015-03-03 22:10   ` Jens Axboe
2015-03-04 12:16     ` Christian Ehrhardt
2015-03-04 15:22       ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox