PC Review Forums Newsgroups Windows XP Windows XP Embedded To MS: Enhanced Write Filter Doc possible error.

Reply

To MS: Enhanced Write Filter Doc possible error.

 
Thread Tools Rate Thread
Old 19-10-2003, 02:51 PM   #1
Slobodan Brcin
Guest
 
Posts: n/a
Default To MS: Enhanced Write Filter Doc possible error.


Note A RAM overlay requires additional memory that equals the size of
the volume that is to be protected by EWF.
Because EWF allocates memory out of the non-paged memory pool, and Windows
XP has a hard-coded maximum for non-paged memory of 256 MB regardless of the
actual physical memory present in the system, the protected volume size
should be optimized to include only the OS and any other critical
applications or data that need to be protected.



This is part of Target Designer Guide. This Note does not represent always
required memory, but instead it is worst case scenario.

Also EWF does not use non-paged memory for storing data. So it can protect
more than 256MB since it is not affected by non-paged pool memory limits.

In test I have conducted EWF usage size was more than 340MB and non-paged
pool memory was around 10 MB.



Best regards,

Slobodan


  Reply With Quote
Old 20-10-2003, 09:15 PM   #2
Dan Simpson [MS]
Guest
 
Posts: n/a
Default Re: To MS: Enhanced Write Filter Doc possible error.

Thanks Slobodan!

I will investigate this issue and let you know. I will also be updating the
documentation for EWF for the next doc update, including updated RAM
requirements for EWF. I will follow up on this with our devs to make sure
the EWF RAM requirements are valid and accurate. Once I find out the
answer, I'll post it to this NG.

Thanks again for your input here!

Dan

"Slobodan Brcin" <sbrcin@ptt.yu> wrote in message
news:u2VSVgklDHA.2436@TK2MSFTNGP09.phx.gbl...
> Note A RAM overlay requires additional memory that equals the size of
> the volume that is to be protected by EWF.
> Because EWF allocates memory out of the non-paged memory pool, and Windows
> XP has a hard-coded maximum for non-paged memory of 256 MB regardless of

the
> actual physical memory present in the system, the protected volume size
> should be optimized to include only the OS and any other critical
> applications or data that need to be protected.
>
>
>
> This is part of Target Designer Guide. This Note does not represent always
> required memory, but instead it is worst case scenario.
>
> Also EWF does not use non-paged memory for storing data. So it can protect
> more than 256MB since it is not affected by non-paged pool memory limits.
>
> In test I have conducted EWF usage size was more than 340MB and non-paged
> pool memory was around 10 MB.
>
>
>
> Best regards,
>
> Slobodan
>
>



  Reply With Quote
Old 20-10-2003, 09:30 PM   #3
Dan Simpson [MS]
Guest
 
Posts: n/a
Default Re: To MS: Enhanced Write Filter Doc possible error.

Hi Slobodan,

Just found out that the hard-coded 256 MB max was removed for SP1, which is
why you are seeing EWF usage at 340 MB.

More later...

Dan
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Slobodan Brcin" <sbrcin@ptt.yu> wrote in message
news:u2VSVgklDHA.2436@TK2MSFTNGP09.phx.gbl...
> Note A RAM overlay requires additional memory that equals the size of
> the volume that is to be protected by EWF.
> Because EWF allocates memory out of the non-paged memory pool, and Windows
> XP has a hard-coded maximum for non-paged memory of 256 MB regardless of

the
> actual physical memory present in the system, the protected volume size
> should be optimized to include only the OS and any other critical
> applications or data that need to be protected.
>
>
>
> This is part of Target Designer Guide. This Note does not represent always
> required memory, but instead it is worst case scenario.
>
> Also EWF does not use non-paged memory for storing data. So it can protect
> more than 256MB since it is not affected by non-paged pool memory limits.
>
> In test I have conducted EWF usage size was more than 340MB and non-paged
> pool memory was around 10 MB.
>
>
>
> Best regards,
>
> Slobodan
>
>



  Reply With Quote
Old 20-10-2003, 09:53 PM   #4
Slobodan Brcin
Guest
 
Posts: n/a
Default Re: To MS: Enhanced Write Filter Doc possible error.

Thanks Dan,

This is good to know that there are no more limits to non-paged memory pool.

But how do you then explain results that I see from Windows Task Manager
Performance page? I see that memory is taken from Available Physical Memory,
not from Kernel Memory.
It looks like nonpaged pool is not used for storing overlay data.

This info is good to know, since in my case our drivers allocates large
amounts of physically continuous memory from non-paged pool.
I'm able to contain EWF memory usage, but for future projects it is good to
know what memory pool is used by EWF.

Slobodan

"Dan Simpson [MS]" <dansimp@online.microsoft.com> wrote in message
news:3f9445f6$1@news.microsoft.com...
> Hi Slobodan,
>
> Just found out that the hard-coded 256 MB max was removed for SP1, which

is
> why you are seeing EWF usage at 340 MB.
>
> More later...
>
> Dan
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> "Slobodan Brcin" <sbrcin@ptt.yu> wrote in message
> news:u2VSVgklDHA.2436@TK2MSFTNGP09.phx.gbl...
> > Note A RAM overlay requires additional memory that equals the size

of
> > the volume that is to be protected by EWF.
> > Because EWF allocates memory out of the non-paged memory pool, and

Windows
> > XP has a hard-coded maximum for non-paged memory of 256 MB regardless of

> the
> > actual physical memory present in the system, the protected volume size
> > should be optimized to include only the OS and any other critical
> > applications or data that need to be protected.
> >
> >
> >
> > This is part of Target Designer Guide. This Note does not represent

always
> > required memory, but instead it is worst case scenario.
> >
> > Also EWF does not use non-paged memory for storing data. So it can

protect
> > more than 256MB since it is not affected by non-paged pool memory

limits.
> >
> > In test I have conducted EWF usage size was more than 340MB and

non-paged
> > pool memory was around 10 MB.
> >
> >
> >
> > Best regards,
> >
> > Slobodan
> >
> >

>
>



  Reply With Quote
Old 22-10-2003, 12:16 AM   #5
Dan Simpson [MS]
Guest
 
Posts: n/a
Default Re: To MS: Enhanced Write Filter Doc possible error.

Hi Slobodan,

Direct from our Developer:

> EWF allocates space for the sectors that it holds from physical pages, and

can go well above 256MB. However, it does
> allocate mapping data structures out of non-paged pool. In both cases, it

is RAM that is not paged, but they come from
> different pools. The non-paged usage should be small in comparison to the

amount of data being held in physical pages.
> Usually the non-paged usage will be a lot less than 1.5% of the size of

data held (it uses a data compression scheme that
> often keeps the non paged usage at 0.2% or lower.)


Hope that answers your question.

tks,
Dan

--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Slobodan Brcin" <sbrcin@ptt.yu> wrote in message
news:eIpAmw0lDHA.1764@tk2msftngp13.phx.gbl...
> Thanks Dan,
>
> This is good to know that there are no more limits to non-paged memory

pool.
>
> But how do you then explain results that I see from Windows Task Manager
> Performance page? I see that memory is taken from Available Physical

Memory,
> not from Kernel Memory.
> It looks like nonpaged pool is not used for storing overlay data.
>
> This info is good to know, since in my case our drivers allocates large
> amounts of physically continuous memory from non-paged pool.
> I'm able to contain EWF memory usage, but for future projects it is good

to
> know what memory pool is used by EWF.
>
> Slobodan
>
> "Dan Simpson [MS]" <dansimp@online.microsoft.com> wrote in message
> news:3f9445f6$1@news.microsoft.com...
> > Hi Slobodan,
> >
> > Just found out that the hard-coded 256 MB max was removed for SP1, which

> is
> > why you are seeing EWF usage at 340 MB.
> >
> > More later...
> >
> > Dan
> > --
> > This posting is provided "AS IS" with no warranties, and confers no

> rights.
> >
> > "Slobodan Brcin" <sbrcin@ptt.yu> wrote in message
> > news:u2VSVgklDHA.2436@TK2MSFTNGP09.phx.gbl...
> > > Note A RAM overlay requires additional memory that equals the size


> of
> > > the volume that is to be protected by EWF.
> > > Because EWF allocates memory out of the non-paged memory pool, and

> Windows
> > > XP has a hard-coded maximum for non-paged memory of 256 MB regardless

of
> > the
> > > actual physical memory present in the system, the protected volume

size
> > > should be optimized to include only the OS and any other critical
> > > applications or data that need to be protected.
> > >
> > >
> > >
> > > This is part of Target Designer Guide. This Note does not represent

> always
> > > required memory, but instead it is worst case scenario.
> > >
> > > Also EWF does not use non-paged memory for storing data. So it can

> protect
> > > more than 256MB since it is not affected by non-paged pool memory

> limits.
> > >
> > > In test I have conducted EWF usage size was more than 340MB and

> non-paged
> > > pool memory was around 10 MB.
> > >
> > >
> > >
> > > Best regards,
> > >
> > > Slobodan
> > >
> > >

> >
> >

>
>



  Reply With Quote
Old 22-10-2003, 12:28 AM   #6
Slobodan Brcin
Guest
 
Posts: n/a
Default Re: To MS: Enhanced Write Filter Doc possible error.

Hi Dan,

Yes this answers my question perfectly, this is very accurate
And this is what I thought how it is done, but I wanted to confirm since it
is not consistent to doc.

Thank you,
Slobodan

"Dan Simpson [MS]" <dansimp@online.microsoft.com> wrote in message
news:3f95be54$1@news.microsoft.com...
> Hi Slobodan,
>
> Direct from our Developer:
>
> > EWF allocates space for the sectors that it holds from physical pages,

and
> can go well above 256MB. However, it does
> > allocate mapping data structures out of non-paged pool. In both cases,

it
> is RAM that is not paged, but they come from
> > different pools. The non-paged usage should be small in comparison to

the
> amount of data being held in physical pages.
> > Usually the non-paged usage will be a lot less than 1.5% of the size of

> data held (it uses a data compression scheme that
> > often keeps the non paged usage at 0.2% or lower.)

>
> Hope that answers your question.
>
> tks,
> Dan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> "Slobodan Brcin" <sbrcin@ptt.yu> wrote in message
> news:eIpAmw0lDHA.1764@tk2msftngp13.phx.gbl...
> > Thanks Dan,
> >
> > This is good to know that there are no more limits to non-paged memory

> pool.
> >
> > But how do you then explain results that I see from Windows Task Manager
> > Performance page? I see that memory is taken from Available Physical

> Memory,
> > not from Kernel Memory.
> > It looks like nonpaged pool is not used for storing overlay data.
> >
> > This info is good to know, since in my case our drivers allocates large
> > amounts of physically continuous memory from non-paged pool.
> > I'm able to contain EWF memory usage, but for future projects it is good

> to
> > know what memory pool is used by EWF.
> >
> > Slobodan
> >
> > "Dan Simpson [MS]" <dansimp@online.microsoft.com> wrote in message
> > news:3f9445f6$1@news.microsoft.com...
> > > Hi Slobodan,
> > >
> > > Just found out that the hard-coded 256 MB max was removed for SP1,

which
> > is
> > > why you are seeing EWF usage at 340 MB.
> > >
> > > More later...
> > >
> > > Dan
> > > --
> > > This posting is provided "AS IS" with no warranties, and confers no

> > rights.
> > >
> > > "Slobodan Brcin" <sbrcin@ptt.yu> wrote in message
> > > news:u2VSVgklDHA.2436@TK2MSFTNGP09.phx.gbl...
> > > > Note A RAM overlay requires additional memory that equals the

size
>
> > of
> > > > the volume that is to be protected by EWF.
> > > > Because EWF allocates memory out of the non-paged memory pool, and

> > Windows
> > > > XP has a hard-coded maximum for non-paged memory of 256 MB

regardless
> of
> > > the
> > > > actual physical memory present in the system, the protected volume

> size
> > > > should be optimized to include only the OS and any other critical
> > > > applications or data that need to be protected.
> > > >
> > > >
> > > >
> > > > This is part of Target Designer Guide. This Note does not represent

> > always
> > > > required memory, but instead it is worst case scenario.
> > > >
> > > > Also EWF does not use non-paged memory for storing data. So it can

> > protect
> > > > more than 256MB since it is not affected by non-paged pool memory

> > limits.
> > > >
> > > > In test I have conducted EWF usage size was more than 340MB and

> > non-paged
> > > > pool memory was around 10 MB.
> > > >
> > > >
> > > >
> > > > Best regards,
> > > >
> > > > Slobodan
> > > >
> > > >
> > >
> > >

> >
> >

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off