Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP Embedded

Notices

Reply

EWF, immediate commit

 

LinkBack Thread Tools Display Modes
Old 12-18-2006, 05:26 PM   #1 (permalink)
Default EWF, immediate commit

Is there a write filter driver similar to EWF, able to repeatedly and
immediately commit the changes when requested? The -live option in EWF
commits immediately, but it's very slow and also disables EWF until the
next reboot, and this isn't good for me.

Actually I would need more a very lazy disk cache rather than a filter
driver, something that commits the disk writes every ten seconds or so; can
I tweak the XPE cache manager changing some registry keys to make it
lazier?

--
emboliaschizoide.splinder.com
dalai lamah
Guest
 
Posts: n/a
Reply With Quote  
Old 12-18-2006, 07:16 PM   #2 (permalink)
Default Re: EWF, immediate commit

Have you looked at the new FBWF that is part of FP 2007?:

http://www.seanliming.com/Docs/FBWF.pdf

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded
SupplementalToolkit


"dalai lamah" <antonio12358@hotmail.com> wrote in message
news:14uux4l91rb82.opmgp167trnr$.dlg@40tude.net...
Quote:
> Is there a write filter driver similar to EWF, able to repeatedly and
> immediately commit the changes when requested? The -live option in EWF
> commits immediately, but it's very slow and also disables EWF until the
> next reboot, and this isn't good for me.
>
> Actually I would need more a very lazy disk cache rather than a filter
> driver, something that commits the disk writes every ten seconds or so;
> can
> I tweak the XPE cache manager changing some registry keys to make it
> lazier?
>
> --
> emboliaschizoide.splinder.com

Sean Liming \(eMVP\)
Guest
 
Posts: n/a
Reply With Quote  
Old 12-18-2006, 07:53 PM   #3 (permalink)
Default Re: EWF, immediate commit

Sounds like you may need to look at the new component of FP2007 - FBWF:
http://msdn2.microsoft.com/en-us/library/aa940926.aspx

I don't think disk cache can be used instead of a write filter. But you can
read more info about 2K/XP caching here:
http://doc.sch130.nsc.ru/www.sysinte...cacheman.shtml

Basically you can control the cache size with the tool from sysinternals.com
(MS): CacheSet
(http://www.microsoft.com/technet/sys.../CacheSet.mspx).

KM

"dalai lamah" <antonio12358@hotmail.com> wrote in message
news:14uux4l91rb82.opmgp167trnr$.dlg@40tude.net...
Quote:
> Is there a write filter driver similar to EWF, able to repeatedly and
> immediately commit the changes when requested? The -live option in EWF
> commits immediately, but it's very slow and also disables EWF until the
> next reboot, and this isn't good for me.
>
> Actually I would need more a very lazy disk cache rather than a filter
> driver, something that commits the disk writes every ten seconds or so;
> can
> I tweak the XPE cache manager changing some registry keys to make it
> lazier?
>
> --
> emboliaschizoide.splinder.com

KM
Guest
 
Posts: n/a
Reply With Quote  
Old 12-18-2006, 09:05 PM   #4 (permalink)
Default Re: EWF, immediate commit

Un bel giorno KM digiṭ:
Quote:
> Sounds like you may need to look at the new component of FP2007 - FBWF:
> http://msdn2.microsoft.com/en-us/library/aa940926.aspx
I wasn't aware of this feature pack, it looks interesting! It isn't very
clear what kind of license it has; is it free (for registered Embedded
Studio users) or is it just an evaluation?
Quote:
> I don't think disk cache can be used instead of a write filter.
Actually there isn't so much difference between a write filter and a modern
OS cache; sure, you have far less control with the cache, for example you
can't prevent every possible write. But if you just need to reduce the
number of writes to increase the CF lifespan, it's just fine.
Quote:
> But you can
> read more info about 2K/XP caching here:
> http://doc.sch130.nsc.ru/www.sysinte...cacheman.shtml
A program like that would be fine; the interesting parameters are
CcIdleDelay and CcDirtyPageThreshold, which control the threshold (in time
and size) after that the lazy writer kicks in.

Unfortunately this kind of utilities use very undocumented kernel
structures, for example Russinovich's CacheMan runs just under NT. Some
interesting informations about CacheMan and lazy writes:

http://www.microsoft.com/technet/pro.../wperfch7.mspx

I think that the dirty page threshold could be set through the registry
(it's in
HKLM\System\CurrentControlSet\Control\SessionManag er\MemoryManagement). I
don't know how to set the idle delay though.

--
emboliaschizoide.splinder.com
dalai lamah
Guest
 
Posts: n/a
Reply With Quote  
Old 12-18-2006, 11:54 PM   #5 (permalink)
Default Re: EWF, immediate commit

Doh.. The link you posted was the one I wanted to post but accidentally copied the CacheMan link :-)
CacheMan was developed for NT4 and won't run on 2K/XP.

FP 2007 is a free update for current XP Embedded users.

You are probably trying to compare RAM mode of the EWF/FBWF to the disk cache "engine".
Write Filter is more common component that allows you to redirect disk writes to either RAM or disk overlay.
Also, with he WF you are in control when the overlay gets flushed to the disk and hence you are responsible for making the commit
operation graceful.

With the disk cache, regardless of what flush timeout you set up, the OS is doing the data flushing in background and this may
potentially lead you to a damage in FS structure or some data when an accidental power off happened in the middle of such flush.
Also, I was under impression the lazy disk cache writer in XP works not by timeout period but rather always runs in a low (idle)
priority thread flushing whatever got in its buffer that can be set small or large. I might be wrong here since I didn't read enough
about the lazy writer algorithms implemented in XP.

--
=========
Regards,
KM


"dalai lamah" <antonio12358@hotmail.com> wrote in message news:1rjqba2lww1q.1ll9gl595z0v1.dlg@40tude.net...
Quote:
> Un bel giorno KM digiṭ:
>
Quote:
>> Sounds like you may need to look at the new component of FP2007 - FBWF:
>> http://msdn2.microsoft.com/en-us/library/aa940926.aspx
>
> I wasn't aware of this feature pack, it looks interesting! It isn't very
> clear what kind of license it has; is it free (for registered Embedded
> Studio users) or is it just an evaluation?
>
Quote:
>> I don't think disk cache can be used instead of a write filter.
>
> Actually there isn't so much difference between a write filter and a modern
> OS cache; sure, you have far less control with the cache, for example you
> can't prevent every possible write. But if you just need to reduce the
> number of writes to increase the CF lifespan, it's just fine.
>
Quote:
>> But you can
>> read more info about 2K/XP caching here:
>> http://doc.sch130.nsc.ru/www.sysinte...cacheman.shtml
>
> A program like that would be fine; the interesting parameters are
> CcIdleDelay and CcDirtyPageThreshold, which control the threshold (in time
> and size) after that the lazy writer kicks in.
>
> Unfortunately this kind of utilities use very undocumented kernel
> structures, for example Russinovich's CacheMan runs just under NT. Some
> interesting informations about CacheMan and lazy writes:
>
> http://www.microsoft.com/technet/pro.../wperfch7.mspx
>
> I think that the dirty page threshold could be set through the registry
> (it's in
> HKLM\System\CurrentControlSet\Control\SessionManag er\MemoryManagement). I
> don't know how to set the idle delay though.
>
> --
> emboliaschizoide.splinder.com

KM
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
EWF Commit not working Tim Windows XP Embedded 12 04-21-2005 08:57 PM
RAM EWF commit question Doug G Windows XP Embedded 3 11-15-2004 06:34 PM
EWF commit FilterChallenged Windows XP Embedded 4 10-25-2004 03:17 PM
EWF - commit Mario Dambauer Windows XP Embedded 2 07-29-2003 09:18 AM
Is there a way to automatically commit EWF? Mark K Vallevand Windows XP Embedded 1 07-28-2003 08:03 PM


All times are GMT. The time now is 10:28 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90