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

Rx host is double counting for first second #25

Open
jwbensley opened this issue Sep 12, 2017 · 1 comment
Open

Rx host is double counting for first second #25

jwbensley opened this issue Sep 12, 2017 · 1 comment

Comments

@jwbensley
Copy link
Owner

Example with Tx using -M 10000000:

[user@ucpe_002 Etherate-master]$ sudo ./etherate -r -i ens3f3 -v 4093
...
Seconds         Mbps Rx         MBs Rx          FrmRx/s         Frames Rx
1               19.89           2               1666            1666
2               9.94            3               833             2499
3               9.94            4               833             3332

Example with Tx using -F 1

[user@ucpe_002 Etherate-master]$ sudo ./etherate -r -i ens3f3 -v 4093
...
Seconds         Mbps Rx         MBs Rx          FrmRx/s         Frames Rx
1               0.02            0               2               2
2               0.01            0               1               3
3               0.01            0               1               4
4               0.01            0               1               5
@jwbensley
Copy link
Owner Author

This looks like Linux is buffering the frames until recvfrom() is called.

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

No branches or pull requests

1 participant