Notices
Evo X Engine Management / Tuning Forums Discuss the major engine management systems.

OBD Logging speed

Thread Tools
 
Search this Thread
 
Old Aug 29, 2011 | 03:56 AM
  #1  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
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!
Reply
Old Aug 29, 2011 | 06:36 AM
  #2  
richardjh's Avatar
Evolved Member
 
Joined: Oct 2010
Posts: 2,447
Likes: 14
From: Australia





100 hours? This week? Mode23 Induced Psychosis must not be far away now...

Rich
Reply
Old Aug 29, 2011 | 06:40 AM
  #3  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
yeh it's bad

But hopefully it will be worth it...
Reply
Old Aug 29, 2011 | 08:11 AM
  #4  
Golden's Avatar
Evolved Member
iTrader: (1)
 
Joined: Nov 2009
Posts: 1,456
Likes: 0
From: Omaha, NE
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.
Reply
Old Aug 29, 2011 | 08:16 AM
  #5  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
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
Reply
Old Aug 29, 2011 | 03:58 PM
  #6  
murlo26's Avatar
Evolved Member
iTrader: (9)
 
Joined: Aug 2008
Posts: 4,119
Likes: 1
From: Minnesota
Keep it up Tephra!

I am always happy to read your threads on new ****, you are da man.
Reply
Old Aug 29, 2011 | 11:23 PM
  #7  
Clipse3GT's Avatar
Account Disabled
iTrader: (10)
 
Joined: Dec 2005
Posts: 2,185
Likes: 2
From: Cleveland, OH
Good job David.
Reply
Old Aug 30, 2011 | 08:12 AM
  #8  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
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?
Reply
Old Aug 30, 2011 | 08:19 AM
  #9  
richardjh's Avatar
Evolved Member
 
Joined: Oct 2010
Posts: 2,447
Likes: 14
From: Australia
I seem to recall that I get 100-110 ish.

Low-power "eeepc" netbook. OP2.0.

Rich
Reply
Old Aug 30, 2011 | 08:22 AM
  #10  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
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
Reply
Old Aug 30, 2011 | 03:57 PM
  #11  
Golden's Avatar
Evolved Member
iTrader: (1)
 
Joined: Nov 2009
Posts: 1,456
Likes: 0
From: Omaha, NE
I thought that reports bytes per second...
Reply
Old Aug 30, 2011 | 04:43 PM
  #12  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
nah...
Reply
Old Aug 30, 2011 | 08:30 PM
  #13  
tephra's Avatar
Thread Starter
EvoM Guru
15 Year Member
iTrader: (6)
 
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!
Reply
Old Aug 31, 2011 | 03:23 AM
  #14  
SiC's Avatar
SiC
Evolved Member
iTrader: (1)
 
Joined: Jun 2008
Posts: 1,018
Likes: 0
From: Kanagawa, Japan
Reply
Old Aug 31, 2011 | 07:40 PM
  #15  
bbarnhill's Avatar
Evolved Member
iTrader: (1)
 
Joined: Oct 2008
Posts: 692
Likes: 1
From: Kansas City, KS
So you have to reflash to be able to read at these speeds or is this just sped up in your code? Care to ellaborate Dave?
Reply



All times are GMT -7. The time now is 11:40 AM.