What they really ought to have done was just design Windows NT/2000/XP to have a more customizable memory manager like Windows 9X did.
Windows 95’s overall memory management was pretty bad, but the idea of holding off on using the swapfile until physical memory was almost gone wasn’t half bad. At least, it wasn’t if you had lots of RAM in your computer, like 64 or 128 megabytes.
Windows 98/Me introduced a supposed “improvement” in memory management by performing swapfile operations when only about a quarter of memory was in use. The main idea with this seemed to be to improve the performance of memory-starved systems. The trouble was that systems obese with memory got the “improved” treatment, too, which often led to unnecessary swapfile operations when nowhere near all physical memory was in use, leading to reduced system performance.
Thanks to the “ConservativeSwapfileUsage” and “vcache” system options, power users with loads of RAM in their systems could customize Windows’ behavior when it came to memory allocation for programs and disk-caching and virtually eliminate swapfile access to bring out the best performance their systems could offer.
In Windows 2000/XP, like Win98/Me’s stock configuration, the disk cache gets priority in system memory, and little-used loaded program data is shoved out to the swapfile, even when there’s plenty of RAM to go around, all leading to increased swapfile activity. There is no customizability for swapfile behavior or disk cache size range. The most customizability there is for memory management is a swapfile size setting and a setting for whether applications or background tasks get more attention. The rest is hard-coded. There’s no condoned way to configure the system to potentially eliminate swapfile usage.
The best that I’ve been able to do to get zero swapfile activity in a WinXP system is to stuff my system full of RAM(at least 512 MB, 1 GB for games) and disable the swapfile completely. This has worked extremely well for me, but many experts warn that doing this does more harm than good, supposedly.
Windows 9X may have been less stable and supposedly had a far less efficient memory manager than Windows NT/2000/XP, but the level of customizability in that memory manager, in my opinion, allowed for the potential to run far more responsively than Windows NT/2000/XP over a longer period of time. I’ll admit, I still run Windows 98 SE most of the time, because it stays fully responsive longer, and XP doesn’t unless I use that discouraged no-swapfile setting.