Donald D. Dugger
2006-Mar-15 21:56 UTC
[Xen-devel] [PATCH 2/3] Set VNC input loop delay to 10 msec
Change the VNC main input loop delay from 1 second down to 10 msec. The 1 second delay was causing significant latency problems with the mouse while there is no measurable overhead in lowering the delay down to 10 msec. Signed-off-by: Don Dugger <donald.d.dugger@intel.com> -- Don Dugger "Censeo Toto nos in Kansa esse decisse." - D. Gale Donald.D.Dugger@intel.com Ph: (303)440-1368 diff -r 7d8efd4f1ac7 tools/ioemu/target-i386-dm/helper2.c --- a/tools/ioemu/target-i386-dm/helper2.c Tue Mar 14 15:18:35 2006 +0100 +++ b/tools/ioemu/target-i386-dm/helper2.c Tue Mar 14 15:50:20 2006 -0700 @@ -447,9 +447,9 @@ int main_loop(void) } } - /* Wait up to one seconds. */ + /* Wait up to 10 msec. */ tv.tv_sec = 0; - tv.tv_usec = 100000; + tv.tv_usec = 10000; retval = select(highest_fds+1, &wakeup_rfds, NULL, NULL, &tv); if (retval == -1) { _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel