What's the longest time before Windows flushes data to disk?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Simple question, really. We all know (or at least I think I know) that, if
the machine is idle, Windows flushes any data written to disk within about 2
seconds. But what if the machine is very busy, say because it is booting. In
practice what would be the longest time before data created by an
application running at normal priority gets written to disk? Might it be in
the cache for 1 minute or longer before that happens?

The machine in question belongs to a customer and is running NT/2000/2003
server, I forget which exactly. Our application is running as a service and
reads data from the serial port, which it logs to disk. The machine was
booted, but power lost fairly quickly, possibly before booting was complete.
Data has been lost and I'm trying to explain it. There is no trace of some
data that appears to have come in on the serial port and should have been
logged during that time.


.



Relevant Pages

  • Re: Getting a file into CP/M
    ... I'd suggest converting your small binary file to hex format (you could use ... either over a serial port or by typing the lines by hand ... DDT VERS 2.2 ... I just received a modified Tarbell disk drive card that is ...
    (comp.os.cpm)
  • Re: String Variable containing "R" has zero length??? mscomm1.input
    ... Dick Grier wrote: ... This is a quickbasic 4.5 program that receives serial port ... I compiled the program on using the first disk and tried to run ... I'm using a different input string containing "Device". ...
    (microsoft.public.vb.controls)
  • Re: Hardware musings
    ... computer's disk drives), why couldn't a "magic" box be built that would ... ADT Pro uses the same serial port ... bunch of new code (the bootstrap init process of the a2 game server ...
    (comp.sys.apple2)
  • Re: ppp/diald networking dying under heavy IDE (or CPU?) load
    ... >>load in copying disk to disk) would cause network connections over ... > serial port controller are hooked up on the same IRQ? ... the serial port doesn't seem to ...
    (Debian-User)
  • Re: Re:Whats the longest time before Windows flushes data to disk?
    ... understand these things that means it's running in user mode, ... However there are proprietary devices attached to the serial port of ... which buffer data until the program reads it out. ... through to disk, but leaves the disk write-caching enabled. ...
    (microsoft.public.win32.programmer.kernel)