NonPagedPoolSize on Vista 32

WI4Ed page 401 shows that the size of the non-paged pool cannot go beyond 256M for 32 bit systems prior to Vista. I need a 32 bit environment with more NP memory. Do we have such a limit on Vista 32?

This table contains the limits:
http://msdn.microsoft.com/en-us/library/aa366778.aspx#memory_limits

  • Cay

On Fri, 19 Dec 2008 10:54:38 +0100, Calin Iaru
wrote:
> WI4Ed page 401 shows that the size of the non-paged pool cannot go
> beyond 256M for 32 bit systems prior to Vista. I need a 32 bit
> environment with more NP memory. Do we have such a limit on Vista 32?

I love it - thanks. I was searching for NonPagedPoolSize but Vista has a NonPagedPoolLimit.

— On Fri, 12/19/08, Cay Bremer wrote:

> From: Cay Bremer
> Subject: Re:[ntdev] NonPagedPoolSize on Vista 32
> To: “Windows System Software Devs Interest List”
> Date: Friday, December 19, 2008, 12:39 PM
> This table contains the limits:
> http://msdn.microsoft.com/en-us/library/aa366778.aspx#memory_limits
>
>
> - Cay
>
>
> On Fri, 19 Dec 2008 10:54:38 +0100, Calin Iaru
> wrote:
> > WI4Ed page 401 shows that the size of the non-paged
> pool cannot go beyond 256M for 32 bit systems prior to
> Vista. I need a 32 bit environment with more NP memory. Do
> we have such a limit on Vista 32?
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars
> visit:http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online
> at http://www.osronline.com/page.cfm?name=ListServer

If you need that much (dedicated) non-paged pool, you should strongly consider moving to a 64-bit platform. The kernel mode address space is pretty cramped on x86 Windows, especially if /userva or /3GB is in use.

? S

-----Original Message-----
From: Calin Iaru
Sent: Friday, December 19, 2008 01:54
To: Windows System Software Devs Interest List
Subject: [ntdev] NonPagedPoolSize on Vista 32

WI4Ed page 401 shows that the size of the non-paged pool cannot go beyond 256M for 32 bit systems prior to Vista. I need a 32 bit environment with more NP memory. Do we have such a limit on Vista 32?


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Skywing wrote:

If you need that much (dedicated) non-paged pool, you should strongly consider moving to a 64-bit platform. The kernel mode address space is pretty cramped on x86 Windows, especially if /userva or /3GB is in use.

? S

Isn’t it possible to access PAE/AWE memory from a driver?
–PA

-----Original Message-----
From: Calin Iaru
> Sent: Friday, December 19, 2008 01:54
> To: Windows System Software Devs Interest List
> Subject: [ntdev] NonPagedPoolSize on Vista 32
>
>
> WI4Ed page 401 shows that the size of the non-paged pool cannot go beyond 256M for 32 bit systems prior to Vista. I need a 32 bit environment with more NP memory. Do we have such a limit on Vista 32?
>
>

Never tried. I’m sure you could have a fully trusted LocalSystem user mode process map/unmap them for you, or try and hack it by calling the system services directly, though I somewhat doubt they are designed to support the creation of kernel mode MEM_PHYSICAL meppings.

Either way seems like a nasty kludge though, and definitely off into the “probably shouldn’t do this in a shipping driver” land, IMO.

  • S

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Pavel A.
Sent: Friday, December 19, 2008 10:19 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] NonPagedPoolSize on Vista 32

Skywing wrote:

If you need that much (dedicated) non-paged pool, you should strongly consider moving to a 64-bit platform. The kernel mode address space is pretty cramped on x86 Windows, especially if /userva or /3GB is in use.

? S

Isn’t it possible to access PAE/AWE memory from a driver?
–PA

-----Original Message-----
From: Calin Iaru
> Sent: Friday, December 19, 2008 01:54
> To: Windows System Software Devs Interest List
> Subject: [ntdev] NonPagedPoolSize on Vista 32
>
>
> WI4Ed page 401 shows that the size of the non-paged pool cannot go beyond 256M for 32 bit systems prior to Vista. I need a 32 bit environment with more NP memory. Do we have such a limit on Vista 32?
>
>


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

As a side note, the OS could allocate 400M in one NonPagedPool buffer on Vista 32 with 4G RAM.

— On Fri, 12/19/08, Cay Bremer wrote:

> From: Cay Bremer
> Subject: Re:[ntdev] NonPagedPoolSize on Vista 32
> To: “Windows System Software Devs Interest List”
> Date: Friday, December 19, 2008, 12:39 PM
> This table contains the limits:
> http://msdn.microsoft.com/en-us/library/aa366778.aspx#memory_limits
>
>
> - Cay
>
>
> On Fri, 19 Dec 2008 10:54:38 +0100, Calin Iaru
> wrote:
> > WI4Ed page 401 shows that the size of the non-paged
> pool cannot go beyond 256M for 32 bit systems prior to
> Vista. I need a 32 bit environment with more NP memory. Do
> we have such a limit on Vista 32?
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars
> visit:http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online
> at http://www.osronline.com/page.cfm?name=ListServer

Calin Iaru wrote:

As a side note, the OS could allocate 400M in one NonPagedPool buffer on Vista 32 with 4G RAM.

Are you saying “we have successfully done this” or are you saying “it
would be theoretically possible for this to happen”?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

>> As a side note, the OS could allocate 400M in one NonPagedPool buffer

> on Vista 32 with 4G RAM.

Are you saying “we have successfully done this” or are you saying “it
would be theoretically possible for this to happen”?

The theoretical limit on a Vista system with enough RAM would be close
to 2 GB (the size of the kernel address space). 400 MB sounds more
like the maximum amount that could be allocated in a single chunk
on a freshly booted system. If that’s the case, please note that 32-bit
VA space can get really fragmented over time. Contiguous regions up
to a single PDE (2 MB with PAE) can generally be allocated, but
something significantly larger than that is likely to fail after the system
has
been used for a few days.


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