Navigation

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

    pfsense on kvm -- slow network speed

    Virtualization
    2
    3
    718
    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.
    • M
      macduke last edited by macduke

      Hello,

      first of all I am totally new with pfsense and I also have like no experience with *bsd.
      my problem is the network speed of pfsense under kvm.
      When I test the bandwidth with iperf, I get a value about 11 times as fast on a linux guest to the linux host as when it runs from the pfsense to the linux host.

      • gentoo: 192.168.122.1
      • pfsense: 192.168.122.111
      • debian: 192.168.122.51
      [ 4] local 192.168.122.1 port 5001 connected with 192.168.122.111 port 11928
      [ ID] Interval Transfer Bandwidth
      [ 4] 0.0-10.0 sec 2.07 GBytes 1.78 Gbits/sec
      [ 5] local 192.168.122.1 port 5001 connected with 192.168.122.51 port 35012
      [ 5] 0.0-10.0 sec 22.2 GBytes 19.1 Gbits/sec
      

      'Hardware Checksum Offloading' is enabled in the webinterface. On the host side I switched off everything with "ethtool -K <inf> tx off". The virtual network cards are set to virtio.

      Anyone got an idea where i can look?

      • pfsense 2.4.4-RELEASE-p1 (amd64)
      • QEMU version 3.1.0
      • Host kernel 4.19.10-gentoo

      Thanks for every tip
      Thorsten

      1 Reply Last reply Reply Quote 0
      • M
        macduke last edited by

        i installed a freebsd 11.2. and this vm worked as expected. So it doesn't seem to be a basic freebsd problem.
        Unfortunately my freebsd knowledge are less than basic, so I have no idea at which place I could look.
        Does anyone here have pfsense running on kvm and no network performance problems?

        B 1 Reply Last reply Reply Quote 0
        • B
          bluepr0 @macduke last edited by

          @macduke I got it running, seems like everything is fine so far.

          I’m using unraid with virtio nics (also shared with the server as I only have 2 nic ports for now

          I have only got enabled the hardware checksum preference. I haven’t touched any other preference on unRaid or the VM

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy