Results 1 to 13 of 13

Thread: maximum frames

  1. #1
    Tuner in Training
    Join Date
    Mar 2007
    Posts
    42

    maximum frames

    Hi guys,I did a search on anything related to this and found nothing. So here we go, I am trying to log afr error% (tuning VE via WB) and the resolution is great.The framerate is super fast and i actually like it but, it cuts off after 65,000 frames and i haven't gotten home from work yet. I don't want the framerate to decrease, but is there a way to log longer? I drive about 1 1/2 hours from work to home. Any help on this? I know efi live logs as long as you have it on. Ohh, i always leave my laptop hooked up to it, so shouldn't it be writing to the HD anyways?
    2001 SS M6
    243 heads LSR cam, ls7 lifters, hardened pushrods, trunion upgrade, dual gold springs, OBX lt headers, hooker catback, HV oil pump, true double roller timing chain, zr1 17x11 rear. was 383rwhp/376tq, now spinning on the dyno at 366hp.

  2. #2
    Супер Модератор EC_Tune's Avatar
    Join Date
    Apr 2003
    Location
    Almost 2000 feet.
    Posts
    7,876
    That is the current limit for log files.
    Always Support Our Troops!

  3. #3
    Tuner in Training
    Join Date
    Mar 2007
    Posts
    42
    Thats approx. 27 minutes. Is there any talk to let logs go straight to the drive?
    2001 SS M6
    243 heads LSR cam, ls7 lifters, hardened pushrods, trunion upgrade, dual gold springs, OBX lt headers, hooker catback, HV oil pump, true double roller timing chain, zr1 17x11 rear. was 383rwhp/376tq, now spinning on the dyno at 366hp.

  4. #4
    Супер Модератор EC_Tune's Avatar
    Join Date
    Apr 2003
    Location
    Almost 2000 feet.
    Posts
    7,876
    Don't know at this time. I usually fill the table view with PIDs so there is more data per frame. Then you can log a bit longer.
    Always Support Our Troops!

  5. #5
    HP Tuners Support
    (foff667)
    Bill@HPTuners's Avatar
    Join Date
    Jun 2004
    Location
    Hailing from Parts Unknown
    Posts
    28,303
    I think, and don't quote me on this, its a memory usage thing. Remember, we do have a minimum requirement so when we compile the software we need to make sure people with a 400mhz computer can log those 65000 frames of data without issue. Going over that datapoint might not be possible unless we raise the minimum requirements which we really don't want to force everyone to have the latest & greatest in laptop technology just to run our scanner.

    -Bill
    It doesn't have to be perfect, it just needs to be done in two weeks...

    A wise man once said "google it"

  6. #6
    Tuner in Training
    Join Date
    Apr 2007
    Location
    Chapmansboro, TN
    Posts
    38
    It's probably not a memory issue (directly, anyway). At maximum data logged (40 bytes per frame) the memory required is only 2,621,440 bytes (or 2.5 MB).

    Instead, it's probably the size of the variables used to hold the frame count information. A 16-bit data variable has a max value of 65,535, and that just happens to be the real maximum frame count (I've hit it myself to see). Mind you, with 24 bytes logged (which is what everybody seems to recommend) which nets you 10 frames/second, this is worth 109 minutes of log data.

    I don't know how many places the code would have to be massaged in order to bump the counter size to 32 bits, but I'd suspect it's a fair number. I imagine most people would rather the boys work on things like Auto-tune instead...

    Jerry

    '02 Sierra Z71 5.3 w/100K miles - HPTuners, PLX Wideband, LS1 efans, 145A Alt, 'Vette servo, Poor man's 1/2 drop - Just starting to scratch that itch...

  7. #7
    HP Tuners Owner Keith@HPTuners's Avatar
    Join Date
    Sep 2002
    Location
    Chicago, IL
    Posts
    6,397
    bingo, we have a winner!

    Surprisingly though, our Editor and Scanner engines are very powerful.. We've learned alot over the years, from vcm suite 1.0, 1.1, 1.2, etc... all the way to 2.0.x, 2.1.x, to 2.1.18

    When I last updated the hpl log file format, I forgot to allocate another byte of storage for the # of frames.

    Thinking about this has just given me a few ideas for semi-dynamic max frame limits.. something to look into after 2.2.0 .... or at 3am tonight when I want to see how it works.

    Thanks!
    We got this guy Not Sure, ...

  8. #8
    Advanced Tuner
    Join Date
    Jul 2007
    Posts
    320
    Sweet.. I like taking long logs too..

    Cant wait to see this.

  9. #9
    Tuner in Training
    Join Date
    Apr 2007
    Location
    Chapmansboro, TN
    Posts
    38
    Quote Originally Posted by Keith@HPTuners
    Thinking about this has just given me a few ideas for semi-dynamic max frame limits.. something to look into after 2.2.0 .... or at 3am tonight when I want to see how it works.
    You must get bored easy.

    Heck, bumping up to 24bits would give 466 hours of log at 10fps. 19 Days is a heck of an endurance run! Out of curiosity, what advantage would there be to semi-dynamic that is worth the extra code complexity? Or would that be a SEKRIT?
    Jerry

    '02 Sierra Z71 5.3 w/100K miles - HPTuners, PLX Wideband, LS1 efans, 145A Alt, 'Vette servo, Poor man's 1/2 drop - Just starting to scratch that itch...

  10. #10
    HP Tuners Owner Keith@HPTuners's Avatar
    Join Date
    Sep 2002
    Location
    Chicago, IL
    Posts
    6,397
    Well, the advantage is a "rolling" upper frame limit that allows more powerful computers to log almost endless amounts of data without having the up front mem alloc impact that would hurt slower computers.

    Hopefully soon everybody is running a dual core laptop and we won't have to worry about resources anymore, that will be the day!
    We got this guy Not Sure, ...

  11. #11
    Tuner in Training
    Join Date
    Mar 2007
    Posts
    42
    Thanks guys. I didn't expect this much feedback, but you are great. The reason i bought HPtuners is that its more powerful than the rest, just was noticing that my efilive could log forever and i didn't want to drop resolution for time on your scanner. I normally use only 3 pids when i do VE because i'm using a WB. I'll be waiting, thanks again.
    2001 SS M6
    243 heads LSR cam, ls7 lifters, hardened pushrods, trunion upgrade, dual gold springs, OBX lt headers, hooker catback, HV oil pump, true double roller timing chain, zr1 17x11 rear. was 383rwhp/376tq, now spinning on the dyno at 366hp.

  12. #12
    Advanced Tuner
    Join Date
    Jul 2007
    Posts
    320
    Quote Originally Posted by Keith@HPTuners
    Well, the advantage is a "rolling" upper frame limit that allows more powerful computers to log almost endless amounts of data without having the up front mem alloc impact that would hurt slower computers.

    Hopefully soon everybody is running a dual core laptop and we won't have to worry about resources anymore, that will be the day!
    Dual core and 2gb of ram here.

  13. #13
    Tuner in Training
    Join Date
    Apr 2007
    Location
    Chapmansboro, TN
    Posts
    38
    Ah. Incremental memory allocation. Makes sense. I got stuck on manipulating the size of the array offset.

    I think there would be plenty of power available. I don't know much about heap allocation in .net (I'm used to straight C in microcontrollers), but just considering that my laptop (a 1.6 M-series) can do 100Mbps packet captures without issue I wouldn't think you'd have much trouble there. Memory for that is prealloc'd for certain, but it's still has to shove as much as 10MB/sec. For the current generation of ecms I don't think you come close to 1K/sec yet...

    See what happens when you let geeks run loose?
    Jerry

    '02 Sierra Z71 5.3 w/100K miles - HPTuners, PLX Wideband, LS1 efans, 145A Alt, 'Vette servo, Poor man's 1/2 drop - Just starting to scratch that itch...