From: uba on
Hi All,

I want to allocate two 1MB non-paged pool memories in my driver (using
ExAllocatePoolWithTag). one for read and other for write.
I would like to know what is the limitation of nonpaged pool. Is this
dependent on physical memory?

Actually, I have the option of using single 1MB pool both for writes
and reads. I would like to know if the system be degraded (in terms of
performance or anything else) if I use two pool memories instead of
one pool memory?

Thanks and Regards,
Kid
From: Doron Holan [MSFT] on
previous to Vista, there is a hard coded limit on NP pool. that limit is
also affected by the amount of physical memory. why do you need such large
buffers? if you can get away with less, use less, the system will benefit
from more available physical pages.

d

--

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


"uba" <kid07.uba(a)gmail.com> wrote in message
news:59748e66-9f4c-43af-9437-34e332c05f52(a)a16g2000pre.googlegroups.com...
> Hi All,
>
> I want to allocate two 1MB non-paged pool memories in my driver (using
> ExAllocatePoolWithTag). one for read and other for write.
> I would like to know what is the limitation of nonpaged pool. Is this
> dependent on physical memory?
>
> Actually, I have the option of using single 1MB pool both for writes
> and reads. I would like to know if the system be degraded (in terms of
> performance or anything else) if I use two pool memories instead of
> one pool memory?
>
> Thanks and Regards,
> Kid

From: Alexander Grigoriev on
On the grand scheme of things, 2 MB is nothing even for a 5 years old
system.

"uba" <kid07.uba(a)gmail.com> wrote in message
news:59748e66-9f4c-43af-9437-34e332c05f52(a)a16g2000pre.googlegroups.com...
> Hi All,
>
> I want to allocate two 1MB non-paged pool memories in my driver (using
> ExAllocatePoolWithTag). one for read and other for write.
> I would like to know what is the limitation of nonpaged pool. Is this
> dependent on physical memory?
>
> Actually, I have the option of using single 1MB pool both for writes
> and reads. I would like to know if the system be degraded (in terms of
> performance or anything else) if I use two pool memories instead of
> one pool memory?
>
> Thanks and Regards,
> Kid


From: Doron Holan [MSFT] on
not true. those 2 MB are now not available for general usage which means
apps will hit the swap file faster, etc

d

--

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


"Alexander Grigoriev" <alegr(a)earthlink.net> wrote in message
news:enODr3jxKHA.3560(a)TK2MSFTNGP02.phx.gbl...
> On the grand scheme of things, 2 MB is nothing even for a 5 years old
> system.
>
> "uba" <kid07.uba(a)gmail.com> wrote in message
> news:59748e66-9f4c-43af-9437-34e332c05f52(a)a16g2000pre.googlegroups.com...
>> Hi All,
>>
>> I want to allocate two 1MB non-paged pool memories in my driver (using
>> ExAllocatePoolWithTag). one for read and other for write.
>> I would like to know what is the limitation of nonpaged pool. Is this
>> dependent on physical memory?
>>
>> Actually, I have the option of using single 1MB pool both for writes
>> and reads. I would like to know if the system be degraded (in terms of
>> performance or anything else) if I use two pool memories instead of
>> one pool memory?
>>
>> Thanks and Regards,
>> Kid
>
>
From: Alexander Grigoriev on
I'd give up 200 MB of RAM if the cache manager stopped kicking the code
pages out in favor of regular files. THIS is why the apps hit the swap.
Hitting the swap 2 MB earlier of later is way below the cache manager noise
level.

"Doron Holan [MSFT]" <doron.holan(a)online.microsoft.com> wrote in message
news:umDmYWtxKHA.5576(a)TK2MSFTNGP05.phx.gbl...
> not true. those 2 MB are now not available for general usage which means
> apps will hit the swap file faster, etc
>
> d
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
> "Alexander Grigoriev" <alegr(a)earthlink.net> wrote in message
> news:enODr3jxKHA.3560(a)TK2MSFTNGP02.phx.gbl...
>> On the grand scheme of things, 2 MB is nothing even for a 5 years old
>> system.
>>
>> "uba" <kid07.uba(a)gmail.com> wrote in message
>> news:59748e66-9f4c-43af-9437-34e332c05f52(a)a16g2000pre.googlegroups.com...
>>> Hi All,
>>>
>>> I want to allocate two 1MB non-paged pool memories in my driver (using
>>> ExAllocatePoolWithTag). one for read and other for write.
>>> I would like to know what is the limitation of nonpaged pool. Is this
>>> dependent on physical memory?
>>>
>>> Actually, I have the option of using single 1MB pool both for writes
>>> and reads. I would like to know if the system be degraded (in terms of
>>> performance or anything else) if I use two pool memories instead of
>>> one pool memory?
>>>
>>> Thanks and Regards,
>>> Kid
>>
>>