Главная / Оптимизация Памяти

🧠 Оптимизация Памяти

Page file, LargeSystemCache, сжатие и патчи Meltdown/Spectre

🗁️ Отключить Сжатие RAM

Disable Memory Compression powershell
Disable-MMAgent -MemoryCompression

🔓 Отключить Meltdown/Spectre

Улучшает производительность отключением защит безопасности (только для игр):

Kernel-Managed Memory powershell
$path = "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management"
New-ItemProperty -Path $path -Name "FeatureSettings" -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path $path -Name "FeatureSettingsOverride" -PropertyType DWord -Value 3 -Force
New-ItemProperty -Path $path -Name "FeatureSettingsOverrideMask" -PropertyType DWord -Value 3 -Force

💾 DisablePagingExecutive

Предотвращает выгрузку драйверов в виртуальную память:

Сохранять драйверы в RAM powershell
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" -Name "DisablePagingExecutive" -PropertyType DWord -Value 1 -Force

📊 LargeSystemCache

0: ~8 MB cache (рекомендуется для игр)
1: До RAM-4MB (LAN throughput)
Настроить для игр powershell
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" -Name "LargeSystemCache" -PropertyType DWord -Value 0 -Force
⚠️

⚠️ Примечание

Значение 1 улучшает LAN передачи, но может иметь проблемы с драйверами ATI/AMD. Для игр используйте 0.

📄 Настроить Page File

Большой page file (32GB) улучшает microstuttering:

Настроить page file 32GB powershell
wmic computersystem where name="%computername%" set AutomaticManagedPagefile=False
wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=32768,MaximumSize=32768
⚠️

⚠️ Предупреждение

Система может стать нестабильной, если у вас недостаточно RAM. Перезагрузите после применения.

🔐 Защита NTFS/ReFS

Отключить дополнительные защиты powershell
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager" -Name "ProtectionMode" -PropertyType DWord -Value 0 -Force

⏱️ Приоритет Realtime для csrss.exe

Настроить максимальный приоритет powershell
$path = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\csrss.exe\PerfOptions"
New-Item -Path $path -Force | Out-Null
New-ItemProperty -Path $path -Name "CpuPriorityClass" -PropertyType DWord -Value 4 -Force
New-ItemProperty -Path $path -Name "IoPriority" -PropertyType DWord -Value 3 -Force
💡

💡 Резюме

Эти оптимизации улучшают производительность в играх, но снижают безопасность и стабильность. Применяйте только на PC, предназначенных исключительно для игр.