IO performances greatly improved under high writes load

This commit is contained in:
antirez
2011-01-05 12:34:14 +01:00
parent 6eaad66373
commit f771dc23a0
2 changed files with 116 additions and 83 deletions

View File

@ -125,6 +125,10 @@
#define REDIS_IO_LOADINPROG 4
#define REDIS_IO_SAVEINPROG 8
/* Generic IO flags */
#define REDIS_IO_ONLYLOADS 1
#define REDIS_IO_ASAP 2
#define REDIS_MAX_COMPLETED_JOBS_PROCESSED 1
#define REDIS_THREAD_STACK_SIZE (1024*1024*4)