On Thu, 01 Dec 2011 18:01:32 -0600 DRC <dcomman...@users.sourceforge.net> wrote:
> When the deferred update timer behavior was recently overhauled such > that it pushes out updates whenever the timer is triggered rather than > waiting for an update request from the client, the default DUT value was > also changed to 10 ms (from 1 ms.) Unfortunately, setting the DUT to 10 > ms results in a dramatic decrease in peak performance on high-speed > networks. The reason is that, when the timer is set, all X updates that > arrive between that time and the time it is triggered are "coalesced." > As soon as the timer is triggered, a framebuffer update containing all > of the coalesced X updates is sent immediately, then the server is tied > up sending the update and cannot process any new X updates until the > update is sent. Once the update is sent, then the first new X update > starts the deferred update timer again. Effectively, what this means is > that the frame rate is capped to 1 / (deferred update time + encoding > time), and since the encoding time is typically about 20 ms for a > 1280x1024 screen, setting the DUT to 10 ms caps the frame rate at about > 30 Hz for such a screen, whereas previously it was near 50 Hz when the > DUT was 1 ms. Annoying. I did some work at making the thing more asynchronous, but more might be needed. If the problem is getting the data on the wire rather than the actual encoding, then a quick fix is increasing the outgoing buffer size. As long as your entire update fits in there, then X won't be throttled (and the update timer should also be more precise). Rgds -- Pierre Ossman OpenSource-based Thin Client Technology System Developer Telephone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d
_______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel