遵循Mark Russinovich公式优化Pagefile大小的两处技术疑问
Hey there! Let's tackle your questions step by step since you're following Mark Russinovich's proven pagefile sizing approach—smart move for balancing performance and stability.
Your Questions Answered
1. Is the red number in Process Explorer's System Info the "Peak Commit" from Russinovich's formula?
Absolutely. In Process Explorer's System Information window (you can open this via Ctrl+I), the red labeled value for Peak Commit Charge is exactly the "Peak Commit" Russinovich references. This number represents the highest amount of virtual memory your system has ever needed at one time, which is the key metric for the formula.
2. Is the RAM shown in Control Panel > System the "Physical RAM" for the formula?
Yes, the "Installed RAM" value displayed in Control Panel > System is the total physical RAM you have installed, which is the Physical RAM variable in the formula. Note that this is the total installed amount, not the "available" RAM shown in Task Manager—even if some RAM is reserved for hardware, we use the full installed value here.
Step-by-Step to Set Your Pagefile
Once you have those two numbers, follow these steps to apply the formula:
- Right-click "This PC" → select Properties → click Advanced system settings on the left sidebar
- Switch to the Advanced tab, then click Settings under the "Performance" section
- In the Performance Options window, go to the Advanced tab and click Change under "Virtual memory"
- Uncheck the box that says "Automatically manage paging file size for all drives"
- Select your system drive (usually C:), then choose Custom size
- Calculate your values:
- Minimum size:
Peak Commit - Physical RAM(in MB) - Maximum size:
Minimum size × 2(in MB)
- Minimum size:
- Enter the calculated numbers, click Set, then confirm all windows and restart your PC to apply changes
Quick Note
If your calculation results in a negative minimum value, that means your physical RAM was enough to cover the peak commit demand. In this case, you can either set a small fixed pagefile (e.g., 1024 MB minimum/maximum) or leave automatic management enabled—though sticking to a small fixed size can avoid unexpected disk usage spikes.
内容的提问来源于stack exchange,提问作者Ahu Lee

