forked from enlightenment/efl
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
This commit is contained in:
parent
9e8257367d
commit
2de9f552b9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue