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 <keithp@keithp.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Keith Packard 2016-05-26 10:22:17 -07:00
parent 714736124f
commit 0d16a0c3b9
1 changed files with 2 additions and 2 deletions

View File

@ -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: