OBD Logging speed
Thread Starter
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
OBD Logging speed
haha - I'm excited!
ok so I guess for about a year now I have been working on speed up OBD queries.. No that's not a year straight, but off and on - I would have shot myself if it was a year straight!!!
Anyway's I got sick of it being an ongoing issue so this last week I spent LOTS of hours (easily 100) just working through the whole OBD receive/respond process.
I had written a C# application to test my findings, and from the ECU's point of view there wasn't any reason for it to be running so slow.
Anyway's long-story short - it looked like I solved the problem very early on but because C# is a bit "overweight" I hadn't detected the success until I swapped back to my C++ Mode23 Logger (that I wrote ages ago)
So as it stands now I have sped up OBD queries by about a factor of 3.5, so with the stock ROM I can log about 100 things per second, with my test ROM I can log about 350 things a second.
I also have something else I want to test, so bear with me while I cook up some assembly and then I can make a report on my success or not with that one!
Anyway's this probably doesn't mean much to you guys (yet) but it has been a LONG TIME coming for me... So I am pretty happy!
Yay!
ok so I guess for about a year now I have been working on speed up OBD queries.. No that's not a year straight, but off and on - I would have shot myself if it was a year straight!!!
Anyway's I got sick of it being an ongoing issue so this last week I spent LOTS of hours (easily 100) just working through the whole OBD receive/respond process.
I had written a C# application to test my findings, and from the ECU's point of view there wasn't any reason for it to be running so slow.
Anyway's long-story short - it looked like I solved the problem very early on but because C# is a bit "overweight" I hadn't detected the success until I swapped back to my C++ Mode23 Logger (that I wrote ages ago)
So as it stands now I have sped up OBD queries by about a factor of 3.5, so with the stock ROM I can log about 100 things per second, with my test ROM I can log about 350 things a second.
I also have something else I want to test, so bear with me while I cook up some assembly and then I can make a report on my success or not with that one!
Anyway's this probably doesn't mean much to you guys (yet) but it has been a LONG TIME coming for me... So I am pretty happy!
Yay!
Awesome!
I'd love to log 100 items a second. 350 a second would be amazing. I would know the moment things happened. I could see exactly what was going on with load / boost / fuel.
I'd love to log 100 items a second. 350 a second would be amazing. I would know the moment things happened. I could see exactly what was going on with load / boost / fuel.
Thread Starter
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
sorry maybe 100 items was bad terminology, 100 samples..
Either way stock is 100 responses/second
3.5x more at any rate
The trick I tried didn't work, I should have realised it wouldn't have worked straight away...
I reckon with request packing (which netted 5x speed improvement) and this we should get 10x faster logging... So 1000 things a second...
Hrmm yummy
Either way stock is 100 responses/second
3.5x more at any rate

The trick I tried didn't work, I should have realised it wouldn't have worked straight away...
I reckon with request packing (which netted 5x speed improvement) and this we should get 10x faster logging... So 1000 things a second...
Hrmm yummy
Trending Topics
Thread Starter
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
can someone do me a favour?
In EvoScan if you let it log for a little while it will report the samples/second (top right of the main screen)
I am getting about 60/second - can people just let me know if that's what they are seeing?
In EvoScan if you let it log for a little while it will report the samples/second (top right of the main screen)
I am getting about 60/second - can people just let me know if that's what they are seeing?
Thread Starter
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
2.8.0005?
I am running 2.9 beta - and I think Hamish said he reworked the CAN code... Anyways I just dropped him an email with my suspicions..
Anyway's 60/sec -> 240/sec... sweeeeet
I am running 2.9 beta - and I think Hamish said he reworked the CAN code... Anyways I just dropped him an email with my suspicions..
Anyway's 60/sec -> 240/sec... sweeeeet
Thread Starter
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
without giving too much away - my first patch required the use of an ECU Bench and Alternate Flashing mode in EcuFlash...
Which kinda made it in accessible for most peeps - so I have revised it so that you can do it in car..
Seems to be working ok.. Ever so slightly slow logging - but I think well worth it!
Which kinda made it in accessible for most peeps - so I have revised it so that you can do it in car..
Seems to be working ok.. Ever so slightly slow logging - but I think well worth it!



