You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use -w to set the desired number of CQEs to wait for before processing
them. This is typical batching behavior in processing. Can be used
with -t for setting the wait timeout as well. This allows tightly
controlling latencies, while still providing efficiency.
Batching can make a substantial difference in effiency. For example,
running proxy as a sink and using the default wait of 1, and sending
it 32 byte packets over a 10G link yields the following performance
based on wait_batch size:
Wait batch QPS
============================
1 5.7M
4 7.7M
32 8.7M
Even just a small wait batch can drastically improve the performance
at which a single threaded application (like proxy) can receive.
Signed-off-by: Jens Axboe <[email protected]>
0 commit comments