Introduce tunable net.iflib.tx_update_freq to allow an user to set the network transmit descriptor update frequency. Previously, this was hardcoded at 16.
Submitted by: Neel Chauhan <neel AT neelc DOT org>
Differential D24937
Add tunable net.iflib.tx_update_freq to set transmit descriptor update frequency nc on May 20 2020, 10:25 PM. Authored by Tags Referenced Files
Details Introduce tunable net.iflib.tx_update_freq to allow an user to set the network transmit descriptor update frequency. Previously, this was hardcoded at 16. Submitted by: Neel Chauhan <neel AT neelc DOT org> Compile HEAD and reboot. Set the tunable net.iflib.tx_update_freq, say net.iflib.tx_update_freq=32 whether by sysctl or /boot/loader.conf.
Diff Detail
Event TimelineComment Actions Might there be ways to make this run-time tunable, or is it fundamentally not possible even in principle? Comment Actions I have a new patch making net.iflib.tx_update_freq a sysctl. I attempted to net.iflib.tx_update_freq=32 from 16 (without rebooting!) and it worked. Luckily with a brand-new and fast dev box, I could compile and test quickly.
|