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

Julien Cristau jcristau at debian.org
Wed Oct 8 02:48:43 PDT 2008


On Wed, Oct  8, 2008 at 01:09:56 -0700, Barton C Massey wrote:

> In message <194f62550810071217q2057558y1998497a957aa1c1 at mail.gmail.com> you wrote:
> > > 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?
> 
> The issue is whether stuff linked with XCB (statically or
> dynamically) is making assumptions about the buffer size.
> Theyre not *supposed* to (except maybe Xlib)...
> 
Even then, changing the buffer size at build time or through an env var
is pretty much equivalent, as far as I can tell.  (But then, I don't
really care about being able to change it, as long as the default is
sane. :) )

Cheers,
Julien


More information about the Xcb mailing list