Cache Type in File Based Write Filter

R

Roshan R.D

Hi All,

Can anyone explain the difference between Dynamic, Dynamic Compressed and
Pre-allocated cache types in file based Write filter property? Which one to
choose among three?
Also I would like to know about the maximum Cache size to be specified in
Target Designer, I have target hardware with 1 GB RAM. My image size is about
550 MB in size. If I specify the cache size below 750 MB, I get a memory
error during FBA.
Is there any specific documentation about this on net?

Thanks & Regards
Roshan
 
R

Roshan R.D

Hello KM,

Thanks for your reply and the information. My present FBWF settings are as
below:
1) Enable FBWF- Disabled (I enable it later from run once)
2) Cache type- Dynamic
3) Maximum Cache size in MB- 850 (below 750 gives FBA error)
4) Disable Page file support- Enabled
5) Disable System Restore- Enable
6) Disable Background Disk Defragmentation- Enable
7) Disable low disk warning notification- Enable
I have created a write through on a folder under which I am installing my
application; I have also added log files under Windows\system32\config, etc.
I read Milong's post but I am still not able to figure out which cache type
will be best for my system.

Thanks & Regards
Roshan.


KM said:
Milong [MS] has posted some info on that a while ago:
http://forums.microsoft.com/EmbeddedWindows/ShowPost.aspx?PostID=1686826&SiteID=47

Wierd that you got a WF related error during FBA with 750M threshold. Did you set up the protecttion properly? I mean you disabled
defragmentation, etc.? If you use full volume protection with FBWF, this can also be helpful to you:
http://msdn2.microsoft.com/en-us/embedded/aa731207.aspx

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


Roshan R.D said:
Hi All,

Can anyone explain the difference between Dynamic, Dynamic Compressed and
Pre-allocated cache types in file based Write filter property? Which one to
choose among three?
Also I would like to know about the maximum Cache size to be specified in
Target Designer, I have target hardware with 1 GB RAM. My image size is about
550 MB in size. If I specify the cache size below 750 MB, I get a memory
error during FBA.
Is there any specific documentation about this on net?

Thanks & Regards
Roshan
 
K

KM

Roshan,

In your case it doesn't seem to be very important what cache type you set in TD. It should work with any settings but will just
affect hw much paged-pool memory used and how fast the allocations are performed.

The error you are referring to seems to have a different source.

First of all, why do you have FBWF enabled during FBA? To me it would make sense to enable the filter after FBA. Then you wouldn't
worry about how much RAM is consumed by FBWF during FBA. In any case you want all the changes happening during FBA to be persistent
including system components install as well as your app, right?

Btw, did you check FBALog.txt to see what's going on there.

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


Roshan R.D said:
Hello KM,

Thanks for your reply and the information. My present FBWF settings are as
below:
1) Enable FBWF- Disabled (I enable it later from run once)
2) Cache type- Dynamic
3) Maximum Cache size in MB- 850 (below 750 gives FBA error)
4) Disable Page file support- Enabled
5) Disable System Restore- Enable
6) Disable Background Disk Defragmentation- Enable
7) Disable low disk warning notification- Enable
I have created a write through on a folder under which I am installing my
application; I have also added log files under Windows\system32\config, etc.
I read Milong's post but I am still not able to figure out which cache type
will be best for my system.

Thanks & Regards
Roshan.


KM said:
Milong [MS] has posted some info on that a while ago:
http://forums.microsoft.com/EmbeddedWindows/ShowPost.aspx?PostID=1686826&SiteID=47

Wierd that you got a WF related error during FBA with 750M threshold. Did you set up the protecttion properly? I mean you
disabled
defragmentation, etc.? If you use full volume protection with FBWF, this can also be helpful to you:
http://msdn2.microsoft.com/en-us/embedded/aa731207.aspx

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


Roshan R.D said:
Hi All,

Can anyone explain the difference between Dynamic, Dynamic Compressed and
Pre-allocated cache types in file based Write filter property? Which one to
choose among three?
Also I would like to know about the maximum Cache size to be specified in
Target Designer, I have target hardware with 1 GB RAM. My image size is about
550 MB in size. If I specify the cache size below 750 MB, I get a memory
error during FBA.
Is there any specific documentation about this on net?

Thanks & Regards
Roshan
 
R

Roshan R.D

Hello KM,

Actually I am disabling the filter during FBA, after the FBA is over and OS
is loaded, I run an application which does all necessary settings including
registry changes, password never expires and Enable FBWF filter etc.
Since I don’t know much about it, I was guessing whether I get the FBA error
because of wrong cache type selection ( I followed Sean Liming’s article on
configuring FBWF) but it is confirmed by me if I set the cache size more than
750 MB I don't get this error.

Regards
Roshan.



KM said:
Roshan,

In your case it doesn't seem to be very important what cache type you set in TD. It should work with any settings but will just
affect hw much paged-pool memory used and how fast the allocations are performed.

The error you are referring to seems to have a different source.

First of all, why do you have FBWF enabled during FBA? To me it would make sense to enable the filter after FBA. Then you wouldn't
worry about how much RAM is consumed by FBWF during FBA. In any case you want all the changes happening during FBA to be persistent
including system components install as well as your app, right?

Btw, did you check FBALog.txt to see what's going on there.

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


Roshan R.D said:
Hello KM,

Thanks for your reply and the information. My present FBWF settings are as
below:
1) Enable FBWF- Disabled (I enable it later from run once)
2) Cache type- Dynamic
3) Maximum Cache size in MB- 850 (below 750 gives FBA error)
4) Disable Page file support- Enabled
5) Disable System Restore- Enable
6) Disable Background Disk Defragmentation- Enable
7) Disable low disk warning notification- Enable
I have created a write through on a folder under which I am installing my
application; I have also added log files under Windows\system32\config, etc.
I read Milong's post but I am still not able to figure out which cache type
will be best for my system.

Thanks & Regards
Roshan.


KM said:
Milong [MS] has posted some info on that a while ago:
http://forums.microsoft.com/EmbeddedWindows/ShowPost.aspx?PostID=1686826&SiteID=47

Wierd that you got a WF related error during FBA with 750M threshold. Did you set up the protecttion properly? I mean you
disabled
defragmentation, etc.? If you use full volume protection with FBWF, this can also be helpful to you:
http://msdn2.microsoft.com/en-us/embedded/aa731207.aspx

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


Hi All,

Can anyone explain the difference between Dynamic, Dynamic Compressed and
Pre-allocated cache types in file based Write filter property? Which one to
choose among three?
Also I would like to know about the maximum Cache size to be specified in
Target Designer, I have target hardware with 1 GB RAM. My image size is about
550 MB in size. If I specify the cache size below 750 MB, I get a memory
error during FBA.
Is there any specific documentation about this on net?

Thanks & Regards
Roshan
 
K

KM

Roshan,

If FBWF is disabled during FBA when you get the error, it is unlikely the source of the problem. Again, please check the logs -
fbalog.txt and setupapi.log.
But you may want to switch the cache type to Dynamicanyway so that it doesn't preallocate the memory at load time.

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

Hello KM,

Actually I am disabling the filter during FBA, after the FBA is over and OS
is loaded, I run an application which does all necessary settings including
registry changes, password never expires and Enable FBWF filter etc.
Since I don't know much about it, I was guessing whether I get the FBA error
because of wrong cache type selection ( I followed Sean Liming's article on
configuring FBWF) but it is confirmed by me if I set the cache size more than
750 MB I don't get this error.

Regards
Roshan.



KM said:
Roshan,

In your case it doesn't seem to be very important what cache type you set in TD. It should work with any settings but will just
affect hw much paged-pool memory used and how fast the allocations are performed.

The error you are referring to seems to have a different source.

First of all, why do you have FBWF enabled during FBA? To me it would make sense to enable the filter after FBA. Then you
wouldn't
worry about how much RAM is consumed by FBWF during FBA. In any case you want all the changes happening during FBA to be
persistent
including system components install as well as your app, right?

Btw, did you check FBALog.txt to see what's going on there.

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


Roshan R.D said:
Hello KM,

Thanks for your reply and the information. My present FBWF settings are as
below:
1) Enable FBWF- Disabled (I enable it later from run once)
2) Cache type- Dynamic
3) Maximum Cache size in MB- 850 (below 750 gives FBA error)
4) Disable Page file support- Enabled
5) Disable System Restore- Enable
6) Disable Background Disk Defragmentation- Enable
7) Disable low disk warning notification- Enable
I have created a write through on a folder under which I am installing my
application; I have also added log files under Windows\system32\config, etc.
I read Milong's post but I am still not able to figure out which cache type
will be best for my system.

Thanks & Regards
Roshan.


:

Milong [MS] has posted some info on that a while ago:
http://forums.microsoft.com/EmbeddedWindows/ShowPost.aspx?PostID=1686826&SiteID=47

Wierd that you got a WF related error during FBA with 750M threshold. Did you set up the protecttion properly? I mean you
disabled
defragmentation, etc.? If you use full volume protection with FBWF, this can also be helpful to you:
http://msdn2.microsoft.com/en-us/embedded/aa731207.aspx

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


Hi All,

Can anyone explain the difference between Dynamic, Dynamic Compressed and
Pre-allocated cache types in file based Write filter property? Which one to
choose among three?
Also I would like to know about the maximum Cache size to be specified in
Target Designer, I have target hardware with 1 GB RAM. My image size is about
550 MB in size. If I specify the cache size below 750 MB, I get a memory
error during FBA.
Is there any specific documentation about this on net?

Thanks & Regards
Roshan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top