nload icon indicating copy to clipboard operation
nload copied to clipboard

add -I option for watch peak traffic, add --phy option for RDMA

Open kirbyzhou opened this issue 3 years ago • 8 comments

add -I option, show traffic stats of each interval instead of one second. Which is useful for watch peak traffic.

add --phy option, show traffic stats of phy(nic) rx/tx bytes instead of rx/tx bytes. Which is useful for RDMA card.

kirbyzhou avatar Jan 06 '21 10:01 kirbyzhou

Thank you for adding this! I was looking for a way to monitor RDMA traffic and this is working well. I'm using Mellanox NIC on Rocky 9.1 with inbox driver. I hope cockpit adds support for this too.

llamafilm avatar Mar 24 '23 00:03 llamafilm

Can you share your ib/net device name? I want to verify some problem.

kirbyzhou avatar Apr 07 '23 08:04 kirbyzhou

Sure, it's called mlx5_0 according to ibv_devinfo. Is that what you meant? Or enp197s0f0np0 in ip.

llamafilm avatar Apr 07 '23 18:04 llamafilm

Sure, it's called mlx5_0 according to ibv_devinfo. Is that what you meant? Or enp197s0f0np0 in ip.

Thanks. And can you try --list-props with your ib device to list all your property names?

kirbyzhou avatar Apr 11 '23 10:04 kirbyzhou

Sorry, I don’t know what command you’re talking about.

llamafilm avatar Apr 11 '23 14:04 llamafilm

Just run the foll

nload --list-props

Elliott Balsley @.***> 于2023年4月11日周二 22:14写道:

Sorry, I don’t know what command you’re talking about.

— Reply to this email directly, view it on GitHub https://github.com/rolandriegel/nload/pull/11#issuecomment-1503441366, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZ6PHRQ4S7GGLKUSW73NDTXAVRMTANCNFSM4VXJ3NWQ . You are receiving this because you authored the thread.Message ID: @.***>

kirbyzhou avatar Apr 12 '23 07:04 kirbyzhou

Ah ok here ya go. This is a dual-port Mellanox plus onboard NICs. nload-props.txt

llamafilm avatar Apr 12 '23 19:04 llamafilm

Interesting to see this, because I have a similar implementation (for infiniband) that I did years ago in version 0.7.4. I recently applied the changes into git and pushed it here in a separated branch for references: https://github.com/Low-power/nload/tree/rivoreo-fork-infiniband

Low-power avatar Aug 15 '23 14:08 Low-power