Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

kirbyzhou
Copy link

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.

@llamafilm
Copy link

llamafilm commented Mar 24, 2023

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.

@kirbyzhou
Copy link
Author

kirbyzhou commented Apr 7, 2023

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

@llamafilm
Copy link

llamafilm commented Apr 7, 2023

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

@kirbyzhou
Copy link
Author

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?

@llamafilm
Copy link

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

@kirbyzhou
Copy link
Author

kirbyzhou commented Apr 12, 2023 via email

@llamafilm
Copy link

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

@Low-power
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants