WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] pfsense HVM network performance

To: Matej Zary <zary@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] pfsense HVM network performance
From: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
Date: Wed, 09 Jun 2010 00:45:15 +0100
Cc:
Delivery-date: Tue, 08 Jun 2010 16:46:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5DB0519124BB3D4DBEEB14426D4AC7EA17E9260A60@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4C0EA87A.5060102@xxxxxxxxxxx> <AANLkTinx4Xox5uIh6hOYS68DWPuqhvtvIZJQ2o8EvvF3@xxxxxxxxxxxxxx> <5DB0519124BB3D4DBEEB14426D4AC7EA17E9260A60@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

On 09/06/10 00:39, Matej Zary wrote:

On Tue, 2010-06-08 at 17:45 -0500, Dustin Marquess wrote:
> Did you try recompiling the pfsense FreeBSD kernel using the XENHVM
> kernel config?  That way you'll get get PV drivers for network & disk
> I/O, which should help a lot.
>
>
> -Dustin
>
> On Tue, Jun 8, 2010 at 3:30 PM, Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
> wrote:
>         Hi Everyone,
>        
>         Just to let everyone know of my experience of network speed on
>         pfsense HVM.
>        
>         Initially, I started off by doing PCI passthrough for my WAN
>         NIC, and used e1000 emulation for LAN. Speed was capping at
>         90Mbp/s.
>        
>         When both were set to e1000, speed was capping at 30Mbp/s
>        
>         When LAN was set to e1000 and WAN was set to default (rl8xxx),
>         speed was capping at 71Mbp/s.
>        
>         I wish I could have stayed with the first option, however my
>         link speed is only detected at 10Mbps unless I take the cable
>         out and in 2 or 3 times.
>        
>         Any tips on the above? In some cases, to get the above speed,
>         I had to enable "device polling" in pfsense
>        
>         Thanks
>        
>         _______________________________________________
>         Xen-users mailing list
>         Xen-users@xxxxxxxxxxxxxxxxxxx
>        
http://lists.xensource.com/xen-users
>
>

Should be worth the effort - in my case, I got better throughput with
bridged virtual PV NIC than with PCI passed-thru physical NIC (668
mbit/s against 534 mbit/s!). Shoddy HW (Realtek PCI NICs etc, no IOMMU
on mobo), but the point - PV makes HUGE difference (compared with pure
HVM) so it's worth the hassle. :)


Not bad

But where do I find a howto on how to do this?

Thanks
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users