5.5. Batching Network Packets


In configurations with a long transmission path, batching packets before submitting them to the kernel may improve cache utilization.
To configure the maximum number of packets that can be batched where N is the maximum number of packets to batch:
# ethtool -C $tap rx-frames N
Copy to Clipboard Toggle word wrap
To provide support for tun/tap rx batching for type='bridge' or type='network' interfaces, add a snippet similar to the following to the domain XML file.
...
<devices>
  <interface type='network'>
    <source network='default'/>
    <target dev='vnet0'/>
      <coalesce>
        <rx>
          <frames max='7'/>
        </rx>
      </coalesce>
  </interface>
</devices>
Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top