[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#487635: The perfomance degrading since lenny also affects to ltsp clients



On Mon, May 11, 2009 at 16:56:52 +0200, José Luis Redrejo Rodríguez wrote:

> I didn't know that was possible. After reading
>  http://lists.freedesktop.org/archives/xcb/2008-September/003906.html  it
> seems that setting the env variable
> LIBXCB_QUEUE_BUFFER_SIZE makes it possible, but according to
> http://lists.freedesktop.org/archives/xcb/2008-September/003905.html the
> default value is already xcb_queue_buffer_size=16384. So
> - are these patches available in lenny or squeeze versions of libxcb1 in
> Debian?

the queue size is set at build time, not run time.  in lenny, it's 4k;
in squeeze, it's 16k (just as it was in plain Xlib in etch and before).

in order to change the queue size in the lenny version, change the size
of the queue array in struct _xcb_out.

do you have a good test case for this bug that doesn't involve java
code?  how big is the performance difference between
1) etch xlib
2) lenny xlib
3) lenny xlib with 16k buffer
4) squeeze xlib
all talking to the same server?

Cheers,
Julien



Reply to: