Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

NonPagedPool in Win2K

Posted on 2001-06-19
8
Medium Priority
?
288 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
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

916 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