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
Multiple CAN message thread sending the cycle time is not reliable #1729
Comments
Could you please provide more information about your setup? The following information is minimally required to give any meaningful feedback about the statistics you've shown above:
|
@j-c-cook , Thanks for your reply. Laptop: i5-1145G7 with 8.00 GB RAM
In the previous snapshot, (is one of the 50ms sending message task) the sending timing monitor by CANoe. I think the cyclic task is limited by python GIL, and I found that 50+ threading running the message period sendt with > 100ms task, its period is stable. but 2ms/5ms/10ms/20ms/50ms task/message, it works bad. Do you have any advice, what I can do in next step? Thanks, |
Hello Developer
I am try to use the Lib to period sending message, now when I periodic sending about 35 CAN message with different ID and different sending cycle. And there is already 42 active thread. The sending period become not reliable.
In these threads, there is a message is sending defined 50ms.
The average period is seems correct, but the message are not sending with 50ms+-.
For now I've tried to send the same cycle messages in a thread. After done this, the active thread is 28, still have larget number.
Is there any tricky way to solved the issue?
Thank you,
Rowe
The text was updated successfully, but these errors were encountered: