Solved

NonPagedPool in Win2K

Posted on 2001-06-19
8
283 Views
Last Modified: 2013-12-03
Hello Everybody:

As written in documentation in MSDN the ammount of NonPagedPool in Win2K is restricted to 256MB.
I am working on Win2K server with 511MB of physical memory.
As caculated in MSDN the ammount of NonPagedPool memory that I can allocate with 511MB RAM is about 200MB.

I am developing filter driver.
I allocate from NonPagedPool in my filter, and the allocation is failed when the total NonPagedPool is 130MB.

Does anyone know why I cannot allocate 200MB of NonPagedPool memory and failed when it is 130MB ?

I don't have /3G option in my boot file.

Thank's Dror.
0
Comment
Question by:moshe26
  • 3
  • 2
8 Comments
 
LVL 15

Expert Comment

by:NickRepin
ID: 6208253
Non-paged pool is shared between all kernel-mode drivers, and you cannot use all the space.
0
 

Author Comment

by:moshe26
ID: 6213365
Do you have any documentations about it ?
0
 
LVL 15

Expert Comment

by:NickRepin
ID: 6217082
I could not find the confirmation in DDK manuals. But the non-paged pool is definitely shared, because you can allocate a non-paged data buffer and pass it to another driver. Non-paged pool memory is resident all the time by definition. So you cannot have say 2 drivers with a 150 MB non-paged pool each, when the non-paged pool is limited by 256M.
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

Author Comment

by:moshe26
ID: 6222429
Nick, I think that my question is not understood enough.
I meant that the allocation is failed when the total amount of NonPagedPool(from task manager) is reached to 130MB and not to 200MB as written in the documentation.
If the current NonPaged allocations is 80MB, than I can only allocate 50MB(130-80) instead of 120MB(200-80).

0
 
LVL 15

Expert Comment

by:NickRepin
ID: 6222510
I don't know.

Anyway, the documentation says the non-paged pool is a scarce resource, and it's not a good idea to allocate megabytes of the non-paged pool.
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 10661785
PAQed, with points refunded (200)

CetusMOD
Community Support Moderator
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Table Size and Indexes in SQL Server 6 28
Nest Related files not working in Visual Studio 4 80
Microsoft Query from QuickBooks 9 72
Problem to file 3 83
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question