Show Table of Contents
5.5. ネットワークパケットのバッチ処理
転送パスが長い状況では、パケットをバッチ処理してからカーネルに送信することでキャッシュが有効に活用される場合があります。
バッチ処理することのできるパケットの最大数を設定するには、以下のコマンドを実行します。ここで、N はバッチ処理するパケットの最大数です。
# ethtool -C $tap rx-frames N
type='bridge' または type='network' のインターフェースにおいて
tun/tap の rx バッチ処理をサポートするには、ドメイン XML ファイルに以下のようなスニペットを追加します。
...
<devices>
<interface type='network'>
<source network='default'/>
<target dev='vnet0'/>
<coalesce>
<rx>
<frames max='7'/>
</rx>
</coalesce>
</interface>
</devices>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.