Roland Mainz wrote:
2. libX11: http://bugs.xfree86.org//cgi-bin/bugzilla/show_bug.cgi?id=466 - "RFE:
Increase libX11 default buffer size (and provide a new env variable as
tuneable"

As noted in the bug, we made a similar change in Solaris Xsun a while ago. This change increases the amount of requests/data that can be buffered in the library before a flush to server has to be done. For many apps it makes little difference, since they flush on their own, either explicitly or because they made a request which requires response. For some though, it does reduce the number of times you have to context switch when sending large numbers of non-interactive requests or requests with large data to the server. We found on a local connection it gave a boost around 1% to x11perf/Xmarks.

We also found a similar benefit in increasing the BUFSIZE used in
xc/programs/Xserver/os/{osdep.h,osinit.c,io.c,lbxio.c} for the buffer the
Xserver receives the data from the client. (Currently 4k.)

--
        -Alan Coopersmith-          [EMAIL PROTECTED]
         Sun Microsystems, Inc.     -     Sun Software Group
         Quality / User Experience (QUE)   -   Globalization
         Platform Globalization Engineering: X11 Development

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to