Solved

NonPagedPool in Win2K

Posted on 2001-06-19
8
280 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
Comment Utility
Non-paged pool is shared between all kernel-mode drivers, and you cannot use all the space.
0
 

Author Comment

by:moshe26
Comment Utility
Do you have any documentations about it ?
0
 
LVL 15

Expert Comment

by:NickRepin
Comment Utility
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:moshe26
Comment Utility
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
Comment Utility
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
Comment Utility
PAQed, with points refunded (200)

CetusMOD
Community Support Moderator
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now