noux: increase Chunk size to 64KiB

Increasing the size leads to less context-switches when doing file I/O
and to better throughput.

Issue #2752.
This commit is contained in:
Josef Söntgen 2018-03-29 14:37:28 +02:00 committed by Christian Helmuth
parent 7091f5febe
commit 970f8cf3ed

View File

@ -51,7 +51,7 @@ struct Noux::Sysio
enum { MAX_PATH_LEN = 512 };
typedef char Path[MAX_PATH_LEN];
enum { CHUNK_SIZE = 11*1024 };
enum { CHUNK_SIZE = 64*1024 };
typedef char Chunk[CHUNK_SIZE];
enum { ARGS_MAX_LEN = 5*1024 };