non paged pool memory usage

Hi.
This is a novice question.
What rules should I follow for non paged memory usage?
As far as I know I should use it carefully. I must not allocate too much of
it. And I must not allocate too many small chunks of memory, this is in
order not to fragment it.
Is that OK? Is there anything else I should know?
Thanks.

Adding one more thing…

If your allocation is fixed size, consider allocating from look aside list.

Calvin Guan, Software Developer xxxxx@nospam.ati.com
SW2D-Radeon NT Core Drivers
ATI Technologies Inc.
1 Commerce Valley Drive East
Markham, Ontario, Canada L3T 7X6
Tel: (905) 882-2600 Ext. 8654
Find a driver: http://www.ati.com/support/driver.html

-----Original Message-----
From: Ratmil Torres [mailto:xxxxx@seg.inf.cu]
Sent: Monday, November 10, 2003 4:48 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] non paged pool memory usage

Hi.
This is a novice question.
What rules should I follow for non paged memory usage?
As far as I know I should use it carefully. I must not
allocate too much of
it. And I must not allocate too many small chunks of memory,
this is in
order not to fragment it.
Is that OK? Is there anything else I should know?
Thanks.


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

always be aware of the IRQL levels at which ur code executes. this will help
u identify location where at lower irql u can use paged pool allocations,
this shall help u minimize non page usage.

Regards,
Vikramaditya.

“Life is not measured by the number of breaths we take, but by the moments
that take our breath away”

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ratmil Torres
Sent: Monday, November 10, 2003 4:48 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] non paged pool memory usage

Hi.
This is a novice question.
What rules should I follow for non paged memory usage?
As far as I know I should use it carefully. I must not allocate too much of
it. And I must not allocate too many small chunks of memory, this is in
order not to fragment it.
Is that OK? Is there anything else I should know?
Thanks.


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

Has paged pool less restrictions?

----- Original Message -----
From: “Vikramaditya Gupta”
To: “Windows File Systems Devs Interest List”
Sent: Tuesday, November 11, 2003 10:47 AM
Subject: [ntfsd] RE: non paged pool memory usage

> always be aware of the IRQL levels at which ur code executes. this will
help
> u identify location where at lower irql u can use paged pool allocations,
> this shall help u minimize non page usage.
>
> Regards,
> Vikramaditya.
>
> “Life is not measured by the number of breaths we take, but by the moments
> that take our breath away”
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Ratmil Torres
> Sent: Monday, November 10, 2003 4:48 PM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] non paged pool memory usage
>
>
> Hi.
> This is a novice question.
> What rules should I follow for non paged memory usage?
> As far as I know I should use it carefully. I must not allocate too much
of
> it. And I must not allocate too many small chunks of memory, this is in
> order not to fragment it.
> Is that OK? Is there anything else I should know?
> Thanks.
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@tacitnetworks.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@seg.inf.cu
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

Of course, you can’t use paged pool >= DISPATCH_LEVEL or in the page
file I/O path in an FSD or FSF.

Ratmil Torres wrote:

Has paged pool less restrictions?

----- Original Message -----
From: “Vikramaditya Gupta”
> To: “Windows File Systems Devs Interest List”
> Sent: Tuesday, November 11, 2003 10:47 AM
> Subject: [ntfsd] RE: non paged pool memory usage
>
>
>
>>always be aware of the IRQL levels at which ur code executes. this will
>
> help
>
>>u identify location where at lower irql u can use paged pool allocations,
>>this shall help u minimize non page usage.
>>
>>Regards,
>>Vikramaditya.
>>
>>“Life is not measured by the number of breaths we take, but by the moments
>>that take our breath away”
>>
>>-----Original Message-----
>>From: xxxxx@lists.osr.com
>>[mailto:xxxxx@lists.osr.com]On Behalf Of Ratmil Torres
>>Sent: Monday, November 10, 2003 4:48 PM
>>To: Windows File Systems Devs Interest List
>>Subject: [ntfsd] non paged pool memory usage
>>
>>
>>Hi.
>>This is a novice question.
>>What rules should I follow for non paged memory usage?
>>As far as I know I should use it carefully. I must not allocate too much
>
> of
>
>>it. And I must not allocate too many small chunks of memory, this is in
>>order not to fragment it.
>>Is that OK? Is there anything else I should know?
>>Thanks.
>>
>>
>>
>>—
>>You are currently subscribed to ntfsd as: xxxxx@tacitnetworks.com
>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>>—
>>You are currently subscribed to ntfsd as: xxxxx@seg.inf.cu
>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>
>
>
>
>


Nick Ryan (MVP for DDK)