Notices
ECU Flash

ECUFlash / Evoscan / Mitsulogger Questions

Thread Tools
 
Search this Thread
 
Old Feb 21, 2007, 02:07 PM
  #136  
Evolved Member
iTrader: (6)
 
donour's Avatar
 
Join Date: May 2004
Location: Tennessee, USA
Posts: 2,501
Received 1 Like on 1 Post
Originally Posted by MalibuJack
It should, but in reality it doesn't.. I recall someone gave me a good explanation of why it does it, but in general the OS blocks writes, which in turn suspends the programs writes to disk momentarily, just long enough for the IO to cause the serial buffer to overrun if your writing to disk simultaneously.
This is where I point at windows and laugh.




...although I'm not sure what OS X does either. Unix buffers all writes, so this should not be an issue. So even a blocking write will almost always return immediately if the data is small (logs are small). I mean, I probably log with the slowest machines of anybody and I don't buffer at ALL. I read from the port and do an immediate write(3).

d

EDIT: It's probably not actually the NTFS filesystem itself, but rather the disk driver can't tell the difference between a momentary disk park and a real disk park.

Last edited by donour; Feb 21, 2007 at 02:10 PM.
Old Feb 21, 2007, 02:13 PM
  #137  
EvoM Guru
Thread Starter
iTrader: (5)
 
MalibuJack's Avatar
 
Join Date: Feb 2003
Location: Royse City, TX
Posts: 10,569
Likes: 0
Received 9 Likes on 9 Posts
Generally workstation OS's do immediate writes to reduce data corruption should the machine get shut down. You can turn on write buffering, but windows gets corrupt over time if the user has a habit of not shutting down properly. This is a problem that I've seen happen all the time on older MACs from just powering them off because they DID buffer.. (Sad Mac Icon on boot)
Old Feb 21, 2007, 02:15 PM
  #138  
Evolved Member
iTrader: (5)
 
Mr. Evo IX's Avatar
 
Join Date: Nov 2005
Location: Plano, TX
Posts: 1,910
Received 1 Like on 1 Post
I'm pretty sure this is an issue specifically with IBM Thinkpad laptops that "brace for impact". They have motion sensors built into them which stop the harddrive to protect data from vibration / jarring / dropping. My Evo creates enough vibration to trigger the sensor which stops the harddrive which causes the logging to stop. Anyhow this behaivior can be turned off or can be dealt with in the logging software.

It is not really an OS issue but what happens if your OS X cant immediatly do a write because the HD is momentarily turned off due to shock?
Old Feb 21, 2007, 02:17 PM
  #139  
Evolved Member
iTrader: (6)
 
donour's Avatar
 
Join Date: May 2004
Location: Tennessee, USA
Posts: 2,501
Received 1 Like on 1 Post
Originally Posted by MalibuJack
Generally workstation OS's do immediate writes to reduce data corruption should the machine get shut down. You can turn on write buffering, but windows gets corrupt over time if the user has a habit of not shutting down properly. This is a problem that I've seen happen all the time on older MACs from just powering them off because they DID buffer.. (Sad Mac Icon on boot)
Ah. But is this still a problem? NTFS is a logging filesystem.

d
Old Feb 21, 2007, 02:49 PM
  #140  
Evolved Member
iTrader: (6)
 
donour's Avatar
 
Join Date: May 2004
Location: Tennessee, USA
Posts: 2,501
Received 1 Like on 1 Post
Originally Posted by Mr. Evo IX
I'm pretty sure this is an issue specifically with IBM Thinkpad laptops that "brace for impact". They have motion sensors built into them which stop the harddrive to protect data from vibration / jarring / dropping. My Evo creates enough vibration to trigger the sensor which stops the harddrive which causes the logging to stop. Anyhow this behaivior can be turned off or can be dealt with in the logging software.

It is not really an OS issue but what happens if your OS X cant immediatly do a write because the HD is momentarily turned off due to shock?
All modern apple laptops have a 3d accelerometer as well that's parks the disk if sudden motion is experienced. I have not encountered this problem.

d
Old Feb 21, 2007, 03:54 PM
  #141  
Evolving Member
 
jfitzpat's Avatar
 
Join Date: Dec 2006
Posts: 276
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by donour
All modern apple laptops have a 3d accelerometer as well that's parks the disk if sudden motion is experienced. I have not encountered this problem.

d
The problem is the way that IBM implemented the feature. It really should be a filter driver in each file system stack. However, they implemented it at the physical drive interface, holding the drive 'busy' beyond the interface spec. The physical buffering scheme at the lowest level driver is based on spec compliant devices.

If anything, this is a good example of why I find Apple Windows debates so pointless. Apple is, still, fundementally a vertical, closed hardware system. Windows is fundementally a horizontal, open hardware system - which leads to lots of people, of varying skills, writing drivers, etc.

On the software side it is, again, apples and oranges. On the one hand, I can point to a long list of things that were sadly lacking on Apples (OS wise) prior to OS X. On the flip side, I could point to how much cleaner OS X is than the NT OS and Win32 Subsystem from a programmer's point of view.

But really, it is again completely different approachs. I've got Win16 apps that still run on Vista while Apple has been in a position to basically say, 'all done, throw away, new OS...'.

Having started my programming career writing BIOS ROMs and 8" Floppy Disk support for what would later become CPM (it was still "Intergalactic Digital Research" at the time - and Microsoft was the MASM company in Arizona), I'm pretty much an equal opportunity hater of all computer OS's. That said, I'd still have to say that the new Apple commercial is dead on. The one "Gadget" I really need for Vista is one that sends a FU instant message to everyone in Redmond each time the system asks me if I'm "sure" I want to do something...

-jjf
Old Feb 21, 2007, 04:34 PM
  #142  
Evolved Member
iTrader: (22)
 
codgi's Avatar
 
Join Date: Aug 2004
Location: Seattle, WA
Posts: 2,491
Received 41 Likes on 37 Posts
Originally Posted by jfitzpat
The problem is the way that IBM implemented the feature. It really should be a filter driver in each file system stack. However, they implemented it at the physical drive interface, holding the drive 'busy' beyond the interface spec. The physical buffering scheme at the lowest level driver is based on spec compliant devices.
I was actually going to jump in and say this. Its just how IBM did it that horks the OS (ran into this at the previous company whose program logged application calls). If there was some way to put OSX on an IBM it would probably jump up and down as well . In those cases there is only so much the OS can do.

If anything, this is a good example of why I find Apple Windows debates so pointless. Apple is, still, fundementally a vertical, closed hardware system. Windows is fundamentally a horizontal, open hardware system - which leads to lots of people, of varying skills, writing drivers, etc.
Yep...something people don't understand. It also makes the testing matrix for Apple a much smaller infinity...while for windows it is always pretty much the largest infinity you can possible find (and yes all infiniti's are not the same).

But really, it is again completely different approachs. I've got Win16 apps that still run on Vista while Apple has been in a position to basically say, 'all done, throw away, new OS...'.
Yep. Never be able to do that...so there is the "ween off process" which means remove the little bits we can once we think no one else is using them.

The one "Gadget" I really need for Vista is one that sends a FU instant message to everyone in Redmond each time the system asks me if I'm "sure" I want to do something...

-jjf
And when we DOS you with our responses will you come and sue us then? . 29,000 >>> 1 . The heuristics in the OS will always only be so smart...so silent killing is not the best way to deal with this stuff. Unfortunately we will have to ask the user...of course since they usually guess wrong (proven in tests long before Vista) we end back up at the "user education" phase.

Last edited by codgi; Feb 21, 2007 at 04:41 PM.
Old Feb 21, 2007, 04:40 PM
  #143  
Account Disabled
iTrader: (465)
 
TTP Engineering's Avatar
 
Join Date: May 2005
Location: Central FL
Posts: 8,824
Likes: 0
Received 2 Likes on 2 Posts
Thread is starting to drift fellas.
Old Feb 21, 2007, 05:10 PM
  #144  
Evolved Member
iTrader: (6)
 
donour's Avatar
 
Join Date: May 2004
Location: Tennessee, USA
Posts: 2,501
Received 1 Like on 1 Post
Originally Posted by TTP Engineering
Thread is starting to drift fellas.
Isn't this a topic for logging/flash questions? I think platform discussion would fall under that.

I think it's really funny that I'm always the anointed defender of macs. For what I do, it sucks.




d
Old Feb 21, 2007, 05:19 PM
  #145  
Evolving Member
 
jfitzpat's Avatar
 
Join Date: Dec 2006
Posts: 276
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by codgi
And when we DOS you with our responses will you come and sue us then? . 29,000 >>> 1 .
That's OK, all my encounters with the Man have been pretty surreal all ready. I've seen a couch jumping demonstration, had a breakfast sausage thrown at me at the Moscone center, and very nearly soiled my pants when he sprang up in the middle of the night and demanded to know how many bugs were still open in the database (like garlic or a cross, my visitor pass seemed to protect me).

An electronic attack from hordes of loyal minions would just be par for the course...

-jjf
Old Mar 4, 2007, 06:27 PM
  #146  
Evolved Member
iTrader: (11)
 
FastAzzEvo's Avatar
 
Join Date: Jul 2006
Location: Augusta, GA
Posts: 755
Likes: 0
Received 0 Likes on 0 Posts
where do you change the values to stop worrying about fuel cut?
Old Mar 5, 2007, 05:23 AM
  #147  
EvoM Guru
Thread Starter
iTrader: (5)
 
MalibuJack's Avatar
 
Join Date: Feb 2003
Location: Royse City, TX
Posts: 10,569
Likes: 0
Received 9 Likes on 9 Posts
That is the Boost Limit Table.. The proper way to set it is just a bit higher than the load you might hit at different RPM ranges at your desired level of boost. If you work with multiple maps or an electronic boost controller, then you might just want to set it as high as it will go. There's also a boost cut delay timer which if you have the stock boost control in place, is where it will cut boost should it overshoot the value for the duration of time indicated (I think its in milliseconds) in the desired boost target table
Old Mar 6, 2007, 11:02 AM
  #148  
Evolving Member
iTrader: (5)
 
my-red-rs's Avatar
 
Join Date: Sep 2005
Location: Oradell, NJ
Posts: 221
Likes: 0
Received 0 Likes on 0 Posts
Why do turners change the "Boost Control Load Offset' value from 60 to 80 or 100. What is the benifit of a larger offset number?

I am trying to update my "Boost Desired Engine Load" tables by first starting with my desired calculated Target Loads (Desired Engine Load + Load Offset) for each RPM range. Then I subtract the Load Offset to get the Desired Engine Load value, but I don't know if I should use the stock Load Offset of 60 or change the calculation to 80 or 100.

Below is a chart to illustrate the point of my question. The calculated Target Loads are highlighted in yellow (values that I want to hit). The area outlined in red is the area that I want to increase from stock. The three tables are... 1) stock table, 2) load offset of 80, and 3) load offset of 100. I purposely kept the calculated target loads the same for the non-stock tables to illustrate the impact of the different load offsets on Desired Engine Load.

Note: the calculated Target Loads listed are illustrative, and are not what I am really trying to hit. I am just try trying to understand the role of the Load Offset value.



I am a noob who is trying to eat an elephant, one bite at a time. So if I am way off base... let me know.

my-red-rs
Old Mar 6, 2007, 12:08 PM
  #149  
Evolved Member
iTrader: (5)
 
Mr. Evo IX's Avatar
 
Join Date: Nov 2005
Location: Plano, TX
Posts: 1,910
Received 1 Like on 1 Post
Tuners max out the values so that people get the maximum amount of boost available (with both pills installed). If you remove the pills then you have capability to overboost the system and your Boost Desired Engine Load values will need to be changed. If you use a higher value in your offset it will allow you to work in a higher range of boost. If 80 is sufficient to achieve your desired boost then use that. If you install meth and need to go higher then maybe you'll need to put 100 there. The stock value on version 13 and 15 maps is 80. What version is your stock ECU?
Old Mar 6, 2007, 12:53 PM
  #150  
Evolving Member
iTrader: (5)
 
my-red-rs's Avatar
 
Join Date: Sep 2005
Location: Oradell, NJ
Posts: 221
Likes: 0
Received 0 Likes on 0 Posts
My car is a 2005 USDM EVO8, ECU Internal Id 96940011...

So a higher Boost Control Load Offset can put you into higher Target Load values without having to dramatically change the Desired Engine Load? Correct?


Quick Reply: ECUFlash / Evoscan / Mitsulogger Questions



All times are GMT -7. The time now is 06:35 AM.