[PATCH v3 net-next 0/2] add some detailed data when reading softnet_stat

Jason Xing posted 2 patches 2 years, 11 months ago
include/linux/netdevice.h |  1 +
net/core/dev.c            | 12 ++++++++----
net/core/net-procfs.c     | 25 ++++++++++++++++++++-----
3 files changed, 29 insertions(+), 9 deletions(-)
[PATCH v3 net-next 0/2] add some detailed data when reading softnet_stat
Posted by Jason Xing 2 years, 11 months ago
From: Jason Xing <kernelxing@tencent.com>

Adding more detailed display of softnet_data when cating
/proc/net/softnet_stat, which could help users understand more about
which can be the bottlneck and then tune.

Based on what we've dicussed in the previous mails, we could implement it
in different ways, like put those display into separate sysfs file or add
some tracepoints. Still I chose to touch the legacy file to print more
useful data without changing some old data, say, length of backlog queues
and time_squeeze.

After this, we wouldn't alter the behavior some user-space tools get used
to meanwhile we could show more data.

Jason Xing (2):
  net-sysfs: display two backlog queue len separately
  net: introduce budget_squeeze to help us tune rx behavior

 include/linux/netdevice.h |  1 +
 net/core/dev.c            | 12 ++++++++----
 net/core/net-procfs.c     | 25 ++++++++++++++++++++-----
 3 files changed, 29 insertions(+), 9 deletions(-)

-- 
2.37.3