cbNKPagingPoolSize (Compact 2013)
3/28/2014
This variable enables OEMs to limit memory used for paging read-only code or map files by setting the variable to the maximum memory allowed.
This variable is deprecated in Windows Embedded Compact in favor of IOCTL_HAL_GET_POOL_PARAMETERS.
Syntax
DWORD cbNKPagingPoolSize;
Parameters
None.
Return Value
None.
Remarks
The paging pool is a reserved block of RAM that for holding pages of code. If the paging pool is not enabled, the entire RAM on the device is available for paging, which can drastically increase RAM usage. Enabling the paging pool sets aside a limited amount of RAM for paging. The higher the paging pool size, the more RAM is available for paging. This results in fewer page faults, since more code can be held in the paging pool. It is important to determine the right balance between RAM usage for paging pool and paging performance. The following list shows examples of some factors that affect the optimum paging pool size:
- Attributes of OEM components, such as device drivers. Examples of attributes are total size and pageability.
- Total available RAM.
- Processor speed.
- Flash technology, for example, NAND or NOR.
To determine the optimum paging pool size, collect performance data for various paging pool sizes.
Requirements
Header |
Developer Implemented |