[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230315092041.35482-1-kerneljasonxing@gmail.com>
Date: Wed, 15 Mar 2023 17:20:39 +0800
From: Jason Xing <kerneljasonxing@...il.com>
To: jbrouer@...hat.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, ast@...nel.org,
daniel@...earbox.net, hawk@...nel.org, john.fastabend@...il.com,
stephen@...workplumber.org, simon.horman@...igine.com,
sinquersw@...il.com
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org,
kerneljasonxing@...il.com, Jason Xing <kernelxing@...cent.com>
Subject: [PATCH v4 net-next 0/2] add some detailed data when reading softnet_stat
From: Jason Xing <kernelxing@...cent.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
Powered by blists - more mailing lists