-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Performance tests #200
Comments
Download latest isotp package (v2.0.3) You should get an improvement |
Just so you know, when you'll update udsoncan, make sure to pass an |
Hmm I have:
Let me check. Thank you :) |
Well, This is strange, I have this code: And I still get: |
I don't know what to say. Something else is going on. The test condition is quite straight forward, I even have unit test that validates it. print kwargs inside the IsotpSocketConenction constructor please. |
Could you, please, tell me how to do that? |
edit the file defining then do |
Well. I found the problem. Fixed, my bad Unfortunately, my tests give me same performance :( |
What do you pass to PythonIsoTPConnection? Try a notifierBasedCanStack. |
I use IsotpSocketConnection , not PythonIsoTPConnection |
You opened an issue saying that the PythonIsotpConnection was slower than IsoTPSocketConenction. What are you asking? |
Im asking, is that possible to use all CPU cores when using IsoTPSocketConnection or PythonIsoTpConnection. Or make faster transmission... |
Using more CPU cores will not give you a faster transmission. The bottleneck is not the CPU. To have a faster transmission, start by identifying the cause of the slowness. IsoTP protocol has some timing parameter that can be adjusted. Most likely that the receiving party is requiring the sender to not go too fast. Start by sharing a can log of a transmission and indicate what you consider slow. |
Closing this issue. reopen if needed |
Hello
I use IsoTPSocketConnection for own project. My CanBus speed is 500kb\s
When I trying to make some tests with one request from ECU, I have such speed
100%|###########################################| 100 of 100 Time: 0:00:00 107.7 it/s
response = client.read_data_by_identifier(0x1000)
With PythonIsoTpConnection too slow :D
But with cangen I can load almost fully my CAN-bus:
Main question, is that possible to make faster transmission? As I know, Python is limited by 1 code only. But I have 4. I tried to compile my test app with Cython to use all my CPU and that didn't helped me :)
Thank you
The text was updated successfully, but these errors were encountered: