关于内存的最后一个难点--the paged and the non-paged pool

很怀疑下面的英文单词precent and procent都是PERCENT的笔误。

也就是这两个POOL,都可以增长,都是在可用内存里的。

但区别是PAGED增长到LIMIT后,会移入PAGEFILE.SYS.

而NON-PAGED长驻内存,增长到LIMIT后可能系统会出现异常。

然后,它们都只会占用一定比例的可用内存。

最后,问题来了:既然NONE-PAGED长驻内存,那为什么又要计入可用内存呢???不解ING~~~

What are memory heaps and what are they used for?

Known as the paged and the non-paged pool...

System threads from the kernel don't have an address space like processes do; hence, they must allocate any dynamic storage in the memory heaps of the operating system, this is mostly formed by the paged or non-paged pool.

Paged pool consists of virtual memory that can be paged into and out of the system. Device drivers that don’t need to access the memory at a low dispatch level (a higher priority) can freely use the paged pools.

Non-paged pool consists of virtual memory that is guaranteed to reside in physical memory at all times and thus can be accessed at any time without incurring a page fault. Device drivers that must access memory at a lower dispatch level MUST use the non-paged pool to ensure that the data can be accessed as I/O calls are unavailable at that point, there is mainly critical code at this level anyway...

These pools have a minimum and maximum size, these are determined to be a small procent(percent?) of the available RAM. While they can grow, please note that they will not exceed a certain precent(percent?) of the available RAM. While the non-paged pool is quite solid given that it's only for the more critical memory, the paged pool will extend into the page file.

This is one of the most overseen problems when people disable their page file. Among other stability and performance problems, which are sure worth checking out if you have disabled the page file.

转载于:https://www.cnblogs.com/aguncn/archive/2013/04/12/3016915.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值