From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMA1C-0008F3-RG for qemu-devel@nongnu.org; Tue, 26 Aug 2014 02:14:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMA16-0004cH-NX for qemu-devel@nongnu.org; Tue, 26 Aug 2014 02:14:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMA16-0004cC-AX for qemu-devel@nongnu.org; Tue, 26 Aug 2014 02:14:04 -0400 Message-ID: <1409033328.8727.9.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Tue, 26 Aug 2014 08:08:48 +0200 In-Reply-To: <53FC214A.6070109@msgid.tls.msk.ru> References: <53F85723.607@msgid.tls.msk.ru> <1408959425.24970.1.camel@nilsson.home.kraxel.org> <1409031625.8727.1.camel@nilsson.home.kraxel.org> <53FC214A.6070109@msgid.tls.msk.ru> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Bug#758881: [bisected] VNC server can't get all sent chars correctly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: Marc , qemu-devel , 758881@bugs.debian.org, Gonglei , Gabriele Giacone <1o5g4r8o@gmail.com>, Marc Sibson On Di, 2014-08-26 at 09:55 +0400, Michael Tokarev wrote: > 26.08.2014 09:40, Gerd Hoffmann wrote: > > There should be a delay after every character. It can be pretty small. > > 10ms should be enough (you should set TCP_NODELAY though to make sure > > the key events are not buffered in the network stack). > > Is this delay qemu-specific (or, rather, virtualization-specific, so to say, > when the target - the VNC server - is working with a hardware being emulated), > or applies to all VNC servers equally? Dunno, didn't try. Maybe you can hit it with xvnc too. But I'd expect that software (xvnc) has larger buffers than (emulated) hardware, so it doesn't trigger that easily. cheers, Gerd