diff options
| author | Dwip N. Banerjee <dnbanerg@us.ibm.com> | 2020-11-19 04:12:25 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-21 06:50:41 +0300 |
| commit | 41ed0a00ffcd903ece4304a4a65d95706115ffcb (patch) | |
| tree | 977893544fd7907aceaba48c4e8f7daec4536c97 /tools/perf/scripts/python/syscall-counts.py | |
| parent | e552aa313bbaf118b5f7b7f7fba7e28593f8d90d (diff) | |
| download | linux-41ed0a00ffcd903ece4304a4a65d95706115ffcb.tar.xz | |
ibmvnic: Do not replenish RX buffers after every polling loop
Reduce the amount of time spent replenishing RX buffers by only doing
so once available buffers has fallen under a certain threshold, in this
case half of the total number of buffers, or if the polling loop exits
before the packets processed is less than its budget. Non-exhaustion of
NAPI budget implies lower incoming packet pressure, allowing the leeway
to refill the buffers in preparation for any impending burst.
Signed-off-by: Dwip N. Banerjee <dnbanerg@us.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
