From 0d16a0c3b95d4ac446a07d8b95e634de5cb8055f Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 26 May 2016 10:22:17 -0700 Subject: os: Increase default client buffer to 16kB This matches a change made in xcb and improves performance for a small increase in memory usage. Signed-off-by: Keith Packard Reviewed-by: Hans de Goede --- os/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os') diff --git a/os/io.c b/os/io.c index 19a449ad8..d04ebd895 100644 --- a/os/io.c +++ b/os/io.c @@ -132,8 +132,8 @@ static OsCommPtr AvailableInput = (OsCommPtr) NULL; ((xBigReq *)(req))->length) #define MAX_TIMES_PER 10 -#define BUFSIZE 4096 -#define BUFWATERMARK 8192 +#define BUFSIZE 16384 +#define BUFWATERMARK 32768 /* * A lot of the code in this file manipulates a ConnectionInputPtr: -- cgit v1.2.3