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

Unable to detect some traffic #360

Open
cyqsimon opened this issue Jan 30, 2024 · 4 comments
Open

Unable to detect some traffic #360

cyqsimon opened this issue Jan 30, 2024 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@cyqsimon
Copy link
Collaborator

TLDR

I set up an iperf3 on a remote machine with iperf3 -s, and connected to it on my local box with iperf3 -c <ADDR>. bandwhich is able to detect the upload traffic as expected.

However, if I connect to it with iperf3 -R -c <ADDR>, so that the server is sending data to the client instead, bandwhich shows very little traffic (which I suppose is the control channel).

Screenshots

up

down

Here you can see bandwhich side-by-side with btop, which is able to detect both upload and download traffic correctly. There's obviously something wrong.

@cyqsimon
Copy link
Collaborator Author

This issue is just to document my findings. Any help (e.g. debugging, reproduction attempt, etc.) would be greatly appreciated. Thanks in advance.

@handewo
Copy link

handewo commented Apr 3, 2024

I test myself, It's lower performance than iftop if network traffic is huge
image
iperf3 output
image
htop shows the CPU utilization is too high
image

@cyqsimon
Copy link
Collaborator Author

cyqsimon commented Apr 4, 2024

@handewo Hmm. This is interesting but it's a separate problem - please open another issue so we can keep the discussion focused.

Meanwhile, can you please run iperf3 with -R flag to see if bandwhich can detect that traffic on your box? Much thanks.

@handewo
Copy link

handewo commented Apr 5, 2024

@handewo Hmm. This is interesting but it's a separate problem - please open another issue so we can keep the discussion focused.

Meanwhile, can you please run iperf3 with -R flag to see if bandwhich can detect that traffic on your box? Much thanks.

bandwhich detect as expected if run iperf3 with '-R'
I ran iperf3 and bandwhich on platform: almalinux 9.2 and iperf3 as server on Linux Mint 21.1

@cyqsimon cyqsimon added bug Something isn't working help wanted Extra attention is needed labels Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants