-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Losses during two streams with SCTP setup #68
Comments
Is your I couldn't immediately reproduce it with
How do you measure the losses?
Yes, this is all handled already by SocketCAN, cannelloni only sends full packets with multiple CAN frames. |
Hi Maximilian!
Have you raised virtual interfaces on the same host machine? Little more about my stand. Let's call server side is "Machine 1" and client side is "Machine 2". "Machine 1" and "Machine 2" are different physicaly host systems. On "Machine 1": connected physical CAN with follow details:
On "Machine 2": setup virtual CAN "vcan0" What I'm doing step by step: On "Machine 1":
On "Machine 2":
That next: I think about rate limit how you explain in README. But could the physical interface theoretically be the reason in this case? Then "Machine 2" take packet is pass by way: Okay, I tried to check that too. I apply: sudo tc qdisc add dev vcan0 root tbf rate 2000000kbit latency 100ms burst 1000 Is there anything else? |
What happens in you start
|
Do you mean in parallel with the scenario described above? Or stop all cangen from "Machine 2" and start the same from "Machine 1"? |
Stop cangen from |
Did you make any progress @TimurSuvorov? |
Hi!
I use SСTP connection setup as follows:
Server side:
cannelloni -S s -I can0 -l 20000 -p
Client side:
cannelloni -S c -I can0 -R 192.168.0.3 -r 20000 -p
I have a case where two streams of CAN frames are generated from the client side using
cangen
utility. One is a load stream of CAN-FD frames (ID 100) with a sending frequency of 0.5 ms, the second is a slow stream with CAN-FD frames (ID 200) with a sending frequency of 1000ms.Client side:
cangen can0 -I 100 -g 0.5 -L 8 -f -b
cangen can0 -I 200 -g 1000 -L 8 -f -b
On the server side, I use the
candump
utility to register incoming frames.So, after a short time, I observe randomly losses on the server side in a slow stream (frames with CANID 200).
When I stop the load stream (ID 100), the losses in the slow stream (ID 200) disappear.
Does your SCTP implementation support multiple streams? What recommendations can be made to eliminate losses?
Thank you for your attention
The text was updated successfully, but these errors were encountered: