diff options
author | Keith Packard <keithp@keithp.com> | 2016-05-26 10:22:17 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2016-05-27 10:34:33 -0700 |
commit | 0d16a0c3b95d4ac446a07d8b95e634de5cb8055f (patch) | |
tree | 44134f520e168fa400a8dfc0f87fa181c39f8d6d /os | |
parent | 714736124f2bfba9ede076eff3bf017f986ce6c4 (diff) |
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>
Diffstat (limited to 'os')
-rw-r--r-- | os/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |