Search

5.5. Batching Network Packets

download PDF
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
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>
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.

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.

© 2024 Red Hat, Inc.