Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Pfsense 2.3 - HVM re and em nics - PV vs HVM - Answers and Results - XenServer

    Scheduled Pinned Locked Moved Virtualization
    2 Posts 1 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      webdawg
      last edited by

      I was going to post about how slow the HVM interfaces are with Xen and ask about how to fix them, and if there was a way.

      I get about 100mbits a second as soon as I disable PV nic's via hw.xen.disable_pv_nics=1

      I have tried with both em and re Xen drivers.

      I even tested this with FreeBSD 10.3 and get similar results.

      I guess the HVM drivers are just slow, REALLY slow.  I could get about 30 Megabytes a second from a domU hard drive with PV enabled in FreeBSD 10.3 but it would max out at around 12-13 megabytes when I enabled the HVM nics.

      Everything I am reading says 100mbit speeds are really about right.  I was just suspicious because it would hover around the same speeds so I thought it was an artificial limit.

      The only reason I need HVM drivers is because I need ALTQ support.  I am going to look into it a bit longer but I am about to move the router over to proxmox to test.  I have another system that does not support PCI pass through and requires pfSense and a hypervisor, this first system is just a test and I am using Xen because I prefer it.

      Am I correct to remember that KVM does not have any of these problems?  ALTQ works fine with it in any mode?

      1 Reply Last reply Reply Quote 0
      • W
        webdawg
        last edited by

        Here are some Xen HVM results:

        iperf client sends traffic server disgards

        iperf test one:
        iperf -c 10.100.10.245
        iperf -s -i 1

        router to client (i3 laptop):
        [  4]  0.0-10.0 sec  317 MBytes  266 Mbits/sec

        iperf test two:
        iperf -c 10.100.10.1
        iperf -s -i 1

        client to router (i3 laptop):
        [  4]  0.0-10.0 sec  182 MBytes  152 Mbits/sec

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.