From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I2aku-0002SU-QW for qemu-devel@nongnu.org; Sun, 24 Jun 2007 18:40:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I2akt-0002Oh-27 for qemu-devel@nongnu.org; Sun, 24 Jun 2007 18:40:28 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2aks-0002OJ-OT for qemu-devel@nongnu.org; Sun, 24 Jun 2007 18:40:26 -0400 Received: from py-out-1112.google.com ([64.233.166.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I2aks-0007YJ-EB for qemu-devel@nongnu.org; Sun, 24 Jun 2007 18:40:26 -0400 Received: by py-out-1112.google.com with SMTP id d32so1379873pye for ; Sun, 24 Jun 2007 15:40:25 -0700 (PDT) Message-ID: <467EF2D6.90501@codemonkey.ws> Date: Sun, 24 Jun 2007 17:40:22 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] starting qemu vnc session on a pre-allocated port References: <467E6C25.3010908@codefidence.com> <467E7AB0.1000909@codemonkey.ws> <467EE5E0.5010605@codefidence.com> In-Reply-To: <467EE5E0.5010605@codefidence.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Shahar Livne wrote: > Hi Anthony, > > Thanks for your comment. > > The problem with the solution you suggest is that all VNC traffic will > be first sent to the unix domain socket, and then copied to the TCP > socket. This double work may be acceptable if we're talking about one > instance of qemu, but as I said, I run many concurrent sessions which > create too much load. In the solution I suggest, this extra copying is > not needed. You're optimizing prematurely. The overhead of the copy is negligible for something like VNC. Under normal circumstances, we're talking about 30-100k/s. During idle usage, the bandwidth drops to almost nothing. Regards, Anthony Liguori > Regards, > Shahar > > >