From owner-freebsd-net@FreeBSD.ORG Thu May 23 11:03:23 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 31B2EE5A for ; Thu, 23 May 2013 11:03:23 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id EBEC56E1 for ; Thu, 23 May 2013 11:03:22 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 51CB17300B; Thu, 23 May 2013 13:05:58 +0200 (CEST) Date: Thu, 23 May 2013 13:05:58 +0200 From: Luigi Rizzo To: Anton Yuzhaninov Subject: Re: surprise surprise (VM related) [luigi@FreeBSD.org: svn commit: r250911 - head/sys/kern] Message-ID: <20130523110558.GA8918@onelab2.iet.unipi.it> References: <20130522164244.GB95808@onelab2.iet.unipi.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 11:03:23 -0000 On Thu, May 23, 2013 at 10:26:55AM +0000, Anton Yuzhaninov wrote: > On Wed, 22 May 2013 20:42:44, Luigi Rizzo wrote: > LR> Using polling, a FreeBSD instance under qemu-kvm remains perfectly > LR> responsive even when bombed with 10 Mpps over an emulated e1000, > LR> and happily processes 1.7 Mpps through ipfw. > > Can you share qemu network configuration used in tests? it is basically qemu-head + kvm (running on a linux host) with modifications to use a VALE switch as a backend, and a few tweaks to speed up access to the guest memory. A patch is at http://info.iet.unipi.it/~luigi/doc/20130523-qemu-diff.gz The FreeBSD guest uses if_lem.c and just sets polling mode. I also have patches for the guest device driver, but they are still in the works. cheers luigi > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"