From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FaYYn-0008Ac-5q for qemu-devel@nongnu.org; Mon, 01 May 2006 09:35:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FaYYm-0008AP-AL for qemu-devel@nongnu.org; Mon, 01 May 2006 09:35:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaYYm-0008AM-5x for qemu-devel@nongnu.org; Mon, 01 May 2006 09:35:32 -0400 Received: from [84.96.92.55] (helo=smtP.neuf.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FaYcb-0005CY-23 for qemu-devel@nongnu.org; Mon, 01 May 2006 09:39:29 -0400 Received: from [84.102.211.147] by sp604004mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0IYL007V49R7QT00@sp604004mt.gpm.neuf.ld> for qemu-devel@nongnu.org; Mon, 01 May 2006 15:35:31 +0200 (CEST) Date: Mon, 01 May 2006 15:34:48 +0200 From: Fabrice Bellard Subject: Re: [Qemu-devel] [PATCH] Improve -net user (slirp) performance by 4x In-reply-to: <4455FCBD.8030209@bellard.org> Message-id: <44560E78.8070008@bellard.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <4455FCBD.8030209@bellard.org> 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 Fabrice Bellard wrote: > Ed Swierk wrote: > >> 3. qemu sleeps soundly while packets back up in slirp's buffers. slirp >> socket fds should be added to the main qemu select() loop to avoid >> unnecessary delays. > > > I agree, but your patch does not suppress the slirp select(). I tried to > do it with the following patch but slirp becomes twice slower and I > cannot get a good explanation. Maybe you could look at that problem so > that a real correction can be commited. > > Regards, > > Fabrice. I finally found the problem. Now slirp is even faster ! Fabrice.