diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2016-12-03 18:01:53 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2016-12-03 18:01:53 +0900 |
commit | 2de9f552b9e54533a36dec285b9bfedcb6acc3f4 (patch) | |
tree | 4c16344ca80b6dea386af8dfc98b013d55078fff /src | |
parent | 9e8257367df8cf1797ad474b0e8197353651ee5c (diff) | |
download | efl-2de9f552b9e54533a36dec285b9bfedcb6acc3f4.tar.gz |
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')
-rw-r--r-- | src/lib/eio/eio_private.h | 4 |
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; # include <pwd.h> #endif -/* Keeping 32 Eio_File_Progress alive should be enought */ -#define EIO_PROGRESS_LIMIT 32 +/* Keeping 8 Eio_File_Progress alive should be enought */ +#define EIO_PROGRESS_LIMIT 8 /* Huge TLB == 16M on most system */ #define EIO_PACKET_SIZE 65536 |