Solved

NonPagedPool in Win2K

Posted on 2001-06-19
8
282 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

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…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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