From owner-freebsd-ports@FreeBSD.ORG Mon Nov 26 07:27:29 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EFEFAA; Mon, 26 Nov 2012 07:27:29 +0000 (UTC) (envelope-from bryanv@daemoninthecloset.org) Received: from torment.daemoninthecloset.org (ip-94-242-209-234.as5577.net [94.242.209.234]) by mx1.freebsd.org (Postfix) with ESMTP id 0FA998FC08; Mon, 26 Nov 2012 07:27:28 +0000 (UTC) Received: from sage.daemoninthecloset.org (unknown [70.114.196.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "sage.daemoninthecloset.org", Issuer "daemoninthecloset.org" (verified OK)) by torment.daemoninthecloset.org (Postfix) with ESMTPS id BAF0342C03E2; Mon, 26 Nov 2012 08:23:01 +0100 (CET) X-Virus-Scanned: amavisd-new at daemoninthecloset.org Received: from sage.daemoninthecloset.org (sage.daemoninthecloset.org [127.0.1.1]) by sage.daemoninthecloset.org (Postfix) with ESMTP id 8DF0473129; Mon, 26 Nov 2012 01:19:17 -0600 (CST) Date: Mon, 26 Nov 2012 01:19:17 -0600 (CST) From: Bryan Venteicher To: Marek Salwerowicz Message-ID: <493200451.1337.1353914357039.JavaMail.root@daemoninthecloset.org> In-Reply-To: <50B2BE05.7090508@wp.pl> Subject: Re: FreeBSD Port: emulators/virtio-kmod - poor performance in VirtualBox MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.10.20] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - GC20 ([unknown])/7.2.0_GA_2669) Cc: ports@freebsd.org, emulation@freebsd.org, kuriyama@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2012 07:27:29 -0000 Hi, ----- Original Message ----- > From: "Marek Salwerowicz" > To: kuriyama@FreeBSD.org > Cc: ports@freebsd.org, emulation@freebsd.org > Sent: Sunday, November 25, 2012 6:55:33 PM > Subject: FreeBSD Port: emulators/virtio-kmod - poor performance in VirtualBox > > Hi, > > I would like to test the 'intnet' networking mode in VirtualBox 4.2.4 > (under FreeBSD 9.1-PRERELEASE), running 2 VMs with FreeBSD 9.1-RC3 > amd64 > each. > > After installing your port kernel detected the 'virtio' interface and > I > configured the IP on both machines. > > I used the 'ttcp' program to test the network performance between > machines and I noticed that average transfer rate is around 6-7 KB/s > (while using eg. the Intel emulator, |82540EM, it's much better, > around > 100 KB/s) Even 100KB seems a couple of magnitudes slow for the emulated E1000 between 2 guests on the same host. > > Do you have an idea why this is so slow? > Try disabling checksum offloading (and TSO/LRO if Virtualbox supports that). > And why the if_vtnet network driver isn't provided in GENERIC kernel? > Is it still under development? > Getting it in GENERIC is in my plans. My spare time has been distracted at some other Ethernet drivers for the last few weeks. I hope to spend much of my spare time in Dec. on various VirtIO items. Bryan > Regards, > > -- > Marek Salwerowicz > | > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" >