[Xcb] [PATCH] allow runtime change of XCB buffer size

Clemens Eisserer linuxhippy at gmail.com
Tue Oct 7 12:17:26 PDT 2008


> Thanks for taking the initiative in proposing a patch for
> this!
I can only second that, thanks a lot :)
I already started looking at the code yesterday because of that issue
but left quite puzzled.
One program I work on would perform way better with a larger buffer (about 2x).

> Failing good QA, I think just bumping the default buffer
> size to something like 64KB and calling it a day is a better
> plan.  This should be sufficient to solve our immediate
> problem, without creating new things to tweak and manage.
Ok,  I agree on changing the buffer-size at runtime could be problematic.
But from a could-fail point of view I can't see any difference between
setting the buffer size at compile-time or setting the buffer size
before the connection is etablished (API or enviroment variable
based), or do I forget something?

Thanks again for working on this, Clemens


More information about the Xcb mailing list