Large memory optimization, what should I do if the computer upgrades to 16g/32g memory speed and there is no change?

WBOY
Release: 2024-06-18 18:51:20
Original
1149 people have browsed it

For mechanical hard drives or SATA solid-state drives, you will feel the increase in software running speed. If it is an NVME hard drive, you may not feel it.

1. Import the registry

Create a new text document on the desktop, copy and paste the following content, save it as 1.reg, then right-click to merge and restart the computer.

WindowsRegistryEditorVersion5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\MemoryManagement]
"DisablePagingExecutive"=dword:00000001
"LargeSystemCache"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\MemoryManagement\PrefetchParameters]
"EnablePrefetcher"=dword:00000003
Copy after login

Second, PowerShell administrator

Run the command get-mmagent to check the system prefetching status. True means it is turned on, False means it is turned off:

ApplicationLaunchPrefetching program is preloaded into memory ( Turn it on if the memory is large)

ApplicationPreLaunch Program pre-run (turn it on if the CPU speed is fast) (You need to turn this on first, otherwise it will prompt Enable-MMAgent: The request is not supported.)

MaxOperationAPIFiles Max The number of files that the program preloads into the memory (the larger the memory, the more files are opened, the default is 256) (This is the number of files in C:WindowsPrefetch. If your memory is very large, such as 16G or 32G, you can set this larger. It can be set from 1 to 8192) Just run set-mmagent and enter the number

MemoryCompression Memory compression (enable when the CPU speed is fast)

OperationAPI (enable when the memory is large, you can make the memory Pre-read any non-system program)

PageCombining (Let the system merge memories with the same content, which can save memory and open when the CPU speed is fast)

Large memory optimization, what should I do if the computer upgrades to 16g/32g memory speed and there is no change?

The picture above is the project opened and closed by the editor, CPU 12400, memory 32gb.

Close Disable-MMAgent and add the project name

Enable Enable-MMAgent and add the project name

Enable-MMAgent -ApplicationLaunchPrefetching

Enable-MMAgent -ApplicationPreLaunch This item It must be enabled first, otherwise an error may be reported

Enable-MMAgent -OperationAPI

Disable-MMAgent -MemoryCompression

Disable-MMAgent -PageCombining

The above is the detailed content of Large memory optimization, what should I do if the computer upgrades to 16g/32g memory speed and there is no change?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:20hn.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template