diff options
| author | Jeff Kirsher <[email protected]> | 2018-08-02 10:13:10 -0700 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2018-12-20 11:02:06 -0800 |
| commit | 59361316afcb08569af21e1af83e89c7051c055a (patch) | |
| tree | a5c869635d88e80f836ca8b3f947d30e365fc25d /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 44a7b3b6e3a458f9549c2cc28e74ecdc470e42f1 (diff) | |
igb: reduce CPU0 latency when updating statistics
This change is based off of the work and suggestion of Jan Jablonsky
<[email protected]>.
The Watchdog workqueue in igb driver is scheduled every 2s for each
network interface. That includes updating a statistics protected by
spinlock. Function igb_update_stats in this case will be protected
against preemption. According to number of a statistics registers
(cca 60), processing this function might cause additional cpu load
on CPU0.
In case of statistics spinlock may be replaced with mutex, which
reduce latency on CPU0.
CC: Bernhard Kaindl <[email protected]>
CC: Jan Jablonsky <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions