Windows 2000 雖已退役,其登錄調校邏輯對理解 NT 核心資源管理極具參考價值。記錄六大實戰調校項目,附鍵值路徑與數值說明,操作前請務必匯出登錄備份!
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
ClearPageFileAtShutdown = 1 (關機清除分頁檔,安全優先)DisablePagingExecutive = 1 (核心程式強制駐留記憶體,不分頁)LargeSystemCache = 1 (啟用系統快取,大幅提升磁碟 I/O)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\SecondLevelDataCache
256,512KB → 512。Win2000 不自動偵測,必須手動填入。HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\IoPageLockLimit (十六進位)
| 實體記憶體 | IoPageLockLimit (Hex) |
|---|---|
| 64 MB | 1000 |
| 128 MB | 4000 |
| 256 MB | 10000 |
| 512 MB+ | 40000 |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl → 新增 DWORD IRQ8Priority = 1HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer → 新增字串值 AlwaysUnloadDLL = 1。重開機後瀏覽器關閉時卸載 DLL,不長駐記憶體。取消優化:設 0 或刪除。
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs → 找值為 0 的項目 → 確認檔案存在 → 刪除登錄項 → 刪除實體檔案。謹慎操作,誤刪共用 DLL 會導致其他程式無法啟動。
regedit /e c:\full.reg 匯出完整登錄smartdrv 開啟快取regedit /c c:\full.reg 從匯出檔重建登錄Win2000 調校核心思想:將稀缺資源 (記憶體、CPU 快取、IRQ) 分配給關鍵路徑。現代 Windows (10/11) 已自動化大部分管理,但理解底層邏輯有助於排查疑難效能問題。實驗環境請用虛擬機,生產機嚴禁直接嘗試。