Large Paged section of Non-Pool Paged

Per Win2000 Internals, the Initial Non-Paged pool is virutaly mapped using
Large page mapping (Page Size = 4 MB) on x86 platform.On Win2k03 x86
platform: What is the size of this portion of the NPP? is the size of this
portion of the pool dynamic? What would be a good allocation strategy to
be able to allocate ~4000 2Kb buffers from this section of the NPP ?

Thanks Dori

Allocate 2000 buffers 1 page each :slight_smile:

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “dori”
To: “Windows System Software Devs Interest List”
Sent: Saturday, November 01, 2003 11:30 AM
Subject: [ntdev] Large Paged section of Non-Pool Paged

> Per Win2000 Internals, the Initial Non-Paged pool is virutaly mapped using
> Large page mapping (Page Size = 4 MB) on x86 platform.On Win2k03 x86
> platform: What is the size of this portion of the NPP? is the size of this
> portion of the pool dynamic? What would be a good allocation strategy to
> be able to allocate ~4000 2Kb buffers from this section of the NPP ?
>
> Thanks Dori
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Aprioriy there is no gurantee the buffers would be allocated from the
large paged mapped portion of the pool.

Why this is important? If one needs 2KB buffers - then allocate a page and
split it to halves, that’s all. The buffers will always be physically
contiguous.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “dori”
To: “Windows System Software Devs Interest List”
Sent: Monday, November 03, 2003 4:10 AM
Subject: [ntdev] Re: Large Paged section of Non-Pool Paged

> Aprioriy there is no gurantee the buffers would be allocated from the
> large paged mapped portion of the pool.
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com