1 / 55
文档名称:

【精品】PPT课件 Windows Kernel InternalsUser-mode Heap Manager.ppt

格式:ppt   页数:55
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

【精品】PPT课件 Windows Kernel InternalsUser-mode Heap Manager.ppt

上传人:wz_198614 2014/12/3 文件大小:0 KB

下载得到文件列表

【精品】PPT课件 Windows Kernel InternalsUser-mode Heap Manager.ppt

文档介绍

文档介绍:Windows Kernel Internals User-mode Heap Manager
David B. Probert, .
Windows Kernel Development
Microsoft Corporation
Topics
Common problems with the NT heap
LFH design
Benchmarks data
Heap analysis
Default NT Heap
Unbounded fragmentation for the worst scenario:
External fragmentation
Virtual address fragmentation
Poor performance for:
Large heaps
SMP
Large blocks
Fast growing scenarios
Fragmented heaps
Goals For LFH
Bounded low fragmentation
Low risk (minimal impact)
Stable and high performance for:
Large heaps
Large blocks
SMP
Long running applications
LFH Design
Bucket-oriented heap
Better balance between internal and external fragmentation
Improved data locality
No locking for mon paths
Tradeoffs
Performance / footprint
Internal / external fragmentation
Thread / processor data locality
Using prefetch techniques
LFH
NT Heap
NT Memory Manager
Block Size
0
1K
16 K
512 K
8
16
16 K
NT Heap
128
Buckets
Allocation Granularity
Block Size
Granularity
Buckets
256
8
32
512
16
16
1024
32
16
2048
64
16
4096
128
16
8196
256
16
16384
512
16