flushing system cache utility

Hello,

Does there exist a utility that will purge all cached data from the cache manager?

Thanks,
Joel

Yes. I think they have it at www.sysinternals.com. However, it is real easy.
Open the volume (C:, not c:) and send a flush to the volume.

Jamey Kirby, Windows DDK MVP
StorageCraft Inc.
xxxxx@storagecraft.com
http://www.storagecraft.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joel Smith
Sent: Thursday, September 25, 2003 8:05 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] flushing system cache utility

Hello,

Does there exist a utility that will purge all cached data from the
cache manager?

Thanks,
Joel


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

On Thu, 2003-09-25 at 10:05, Joel Smith wrote:

Does there exist a utility that will purge all cached data from the cache manager?

http://sysinternals.com/ntw2k/source/misc.shtml#Sync

-sd

Thanks,

Is there any reason that this wouldn’t flush file system meta-data back to disk? Does it only flush dirty data or something?

-----Original Message-----
From: Steve Dispensa [mailto:xxxxx@positivenetworks.net]
Sent: 25 September 2003 13:31
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: flushing system cache utility

On Thu, 2003-09-25 at 10:05, Joel Smith wrote:

Does there exist a utility that will purge all cached data from the cache manager?

http://sysinternals.com/ntw2k/source/misc.shtml#Sync

-sd


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

It should flush metadata as well.

Joel Smith wrote:

Thanks,

Is there any reason that this wouldn’t flush file system meta-data back to disk? Does it only flush dirty data or something?

-----Original Message-----
From: Steve Dispensa [mailto:xxxxx@positivenetworks.net]
Sent: 25 September 2003 13:31
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: flushing system cache utility

On Thu, 2003-09-25 at 10:05, Joel Smith wrote:

> Does there exist a utility that will purge all cached data from the cache manager?

http://sysinternals.com/ntw2k/source/misc.shtml#Sync

-sd


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Nick Ryan (MVP for DDK)

How often does anyone flush a toilet that hasn’t been used? Flush implies
dirty buffers including dirty metadata buffers. This is why most benchmarks
run the loop once or more to prime the cache so the initial cache loads
don’t skew the results. Purging the cache, which is the question you asked,
is not normally done and when done is just by file and not the entire
volume. This purging is only for the data itself and not the metadata.
Encryption filters have to do it under some circumstances.

“Joel Smith” wrote in message news:xxxxx@ntfsd…

Thanks,

Is there any reason that this wouldn’t flush file system meta-data back to
disk? Does it only flush dirty data or something?

-----Original Message-----
From: Steve Dispensa [mailto:xxxxx@positivenetworks.net]
Sent: 25 September 2003 13:31
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: flushing system cache utility

On Thu, 2003-09-25 at 10:05, Joel Smith wrote:
> Does there exist a utility that will purge all cached data from the cache
manager?

http://sysinternals.com/ntw2k/source/misc.shtml#Sync

-sd


You are currently subscribed to ntfsd as: xxxxx@veritas.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Joel,

Here’s (links below) the source for two simple utilities (separate
programs). Flush.cpp will flush a volume. Dismount.cpp will optionally
flush and then dismount a volume.

When you say “purge” the cached data if you mean that you want to throw
away the data in the file system cache, without writing it to disk, and
dismount the volume, then use dismount.cpp to dismount the volume and do
NOT choose the option to flush it before the dismount. This will cause
the purge (but only on W2k+, NT4 won’t allow a forced dismount unless
the volume is first locked, but W2K+ will let you dismount regardless of
whether you’ve first locked the volume).

Nate

http://students.cs.byu.edu/~nbushman/Flush.cpp
http://students.cs.byu.edu/~nbushman/Dismount.cpp

-----Original Message-----
From: Joel Smith [mailto:xxxxx@veritas.com]
Sent: Thursday, September 25, 2003 9:05 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] flushing system cache utility

Hello,

Does there exist a utility that will purge all cached data from
the cache manager?

Thanks,
Joel


You are currently subscribed to ntfsd as: xxxxx@powerquest.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

> How often does anyone flush a toilet that hasn’t been used?

In my home, somewhere between once every two days and once every week, in
order to wash away the Duck, all depending on what kind of week its been.