summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-12-03 18:01:53 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-12-03 18:01:53 +0900
commit2de9f552b9e54533a36dec285b9bfedcb6acc3f4 (patch)
tree4c16344ca80b6dea386af8dfc98b013d55078fff /src/lib/eio
parent9e8257367df8cf1797ad474b0e8197353651ee5c (diff)
eio - have a smaller mempool as i can see 270k of stuff hanging about
eio seems to consume memory even when not in active use. this saves most of 270k even when no longer needed. the mempool just keeps stuff around pretty much forever. also the memory size limit doesn't work at asll if yous set it to something other than -1. it just locks eio up. @optimize
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/eio_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eio/eio_private.h b/src/lib/eio/eio_private.h
index dece4c1811..f1466b681a 100644
--- a/src/lib/eio/eio_private.h
+++ b/src/lib/eio/eio_private.h
@@ -68,8 +68,8 @@ typedef struct stat _eio_stat_t;
68# include <pwd.h> 68# include <pwd.h>
69#endif 69#endif
70 70
71/* Keeping 32 Eio_File_Progress alive should be enought */ 71/* Keeping 8 Eio_File_Progress alive should be enought */
72#define EIO_PROGRESS_LIMIT 32 72#define EIO_PROGRESS_LIMIT 8
73 73
74/* Huge TLB == 16M on most system */ 74/* Huge TLB == 16M on most system */
75#define EIO_PACKET_SIZE 65536 75#define EIO_PACKET_SIZE 65536