Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 8.3 (EoL – Doc maintenance discontinued)
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
    • Best Practice - How to List Configured Trust Levels for IP Addresses and Networks
    • Best Practice - How to Operate VLANs on an Ethernet Bond with Virtual Routers
    • Best Practice - How to Integrate External DNS Block Lists with the CloudGen Firewall
    • Best Practice - Evaluate or Demo the Barracuda CloudGen Firewall
    • Best Practice - Service Configurations in the Public Cloud
    • Best Practice - Migrate to Different License Type for PAYG or BYOL Public Cloud Firewalls
    • Best Practice - Hostname List for Barracuda Networks Online Services
    • Best Practice - Core System Configuration Files and Ports Overview
    • Best Practice - How to Handle Incorrect Time Settings
    • Best Practice - Changing the VIP Address of a Managed CloudGen Firewall
    • Best Practice - Network Troubleshooting
    • Best Practice - Protect Against TCP SYN Flooding Attacks with TCP Accept Policies
    • Best Practice - How to Protect Against DoS Attacks
    • Best Practice - Small CloudGen Firewall Systems
    • Best Practice - Performance Tuning on VMware Hypervisors
    • Best Practice - Performance Tuning on KVM Hypervisors
    • Best Practice - VPN Performance Testing
    • Best Practice - Allow Aerohive Access Points Behind a CloudGen Firewall Access to Hive Manager NG
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Best Practice - Performance Tuning on KVM Hypervisors
    Published May 06, 2020

    Best Practice - Performance Tuning on KVM Hypervisors

    May 06, 2020
    Subscribe

    KVM offers several virtualization technologies and settings that can improve the performance of virtual networks and hosts. You can increase the throughput of your virtual Barracuda CloudGen Firewall by improving the virtual machine's performance and optimizing the virtual and physical network infrastructure surrounding your Barracuda CloudGen Firewall Vx.

    You can tune the following settings:

    • 1 Disk I/O
    • 2 Processor Affinities / CPU Pinning
    • 3 Manual MAC Addresses
    • 4 SR-IOV and PCI Passthrough

    Disk I/O

    KVM offers very good disk I/O performance. To get the highest possible throughput, use the raw, non-sparse KVM disk image included in the Barracuda Networks KVM image zip file.

    Processor Affinities / CPU Pinning

    On KVM hosts with NUMA architecture, the Barracuda CloudGen Firewall Vx performance substantially improves by setting processor affinities (CPU pinning). The virtual machine should be pinned to physical cores residing in the same NUMA node so the memory allocations are always local and do not have to use the cross-node memory transports.

    On non-NUMA systems explicit placement across the hosts sockets, cores, and hyperthreads may be more efficient.

    For example, for a Barracuda CloudGen Firewall with 4 CPU cores running on a KVM host server with two Intel Xeon E5-2660 (6 physical cores per CPU, 12 threads), use CPU cores 2,4,6,8. These cores are all members of the same NUMA node and reside on the same physical socket. This will differ if you are using a different processor model or vendor.

    Manual MAC Addresses

    Use manually assigned MAC addresses for your virtual network adapters. The license of the Barracuda CloudGen Firewall Vx is bound to the MAC address of the first network interface. If you do not manually assign a MAC address, the KVM hypervisor will generate one for you when first booting the virtual machine. These automatically generated MAC addresses may change if you move the virtual machine to another host, rendering your license invalid. 

    SR-IOV and PCI Passthrough

    Your CPU and motherboard must support Intel VT-d or AMD I/O Virtualization Technology to enable direct assignment of devices in KVM.

    SR-IOV is a virtualization technology that is beneficial for workloads with very high packet rates or very low latency requirements. When using SR-IOV, multiple guest machines can simultaneously and directly access the hardware device on the hypervisor host.

    PCI Passthrough enables exclusive direct access to a physical network card for the Barracuda CloudGen Firewall Vx. When compared to SR-IOV, only small performance increases can be gained by using PCI Passthrough.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 12, "requestCorrelationId": "820d77c278764a6da9409bd294d68334"}