!defwrites

!defwrites 扩展显示缓存管理器使用的内核变量的值。

!defwrites

DLL

Kdexts.dll

其他信息

有关写入限制的信息,请参阅 Mark Russinovich 和 David Solomon 编写的 Microsoft Windows 内部资料

有关其他缓存管理扩展的信息,请使用 !cchelp 扩展。

注解

当延迟写入(“脏页”)的数量变得太大时,页面写入将受到限制。 通过此扩展,您可以查看系统是否已达到此点。

以下是示例:

kd> !defwrites 
*** Cache Write Throttle Analysis ***

        CcTotalDirtyPages:                   0 (       0 Kb)
        CcDirtyPageThreshold:             1538 (    6152 Kb)
        MmAvailablePages:                 2598 (   10392 Kb)
        MmThrottleTop:                     250 (    1000 Kb)
        MmThrottleBottom:                   30 (     120 Kb)
        MmModifiedPageListHead.Total:      699 (    2796 Kb)

Write throttles not engaged

在这种情况下,不存在脏页。 如果 CcTotalDirtyPages 达到 1538(CcDirtyPageThreshold 的值),写入将会延迟,直到脏页数减少。