🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.os.windows-11
Article #224

Re: Windows 11 26H2 Cuts RAM Usage by Up to 3GB and Delivers Noticeable Performance Improvements

#224
From: Paul
Date: Fri, 09 Oct 2026 22:42
50 lines
3462 bytes
On Fri, 10/9/2026 5:29 PM, Brian Gregory wrote:
> On 08/10/2026 17:32, Paul wrote:
>> If the saved memory number had not been a "characteristic number",
>> then maybe I would be impressed. As long as the number listed is
>> "2GB" or "3GB" in the article, I'm willing to equate that to the
>> removal of a 2.3GB sandbox OS copy in memory. That's the easiest
>> change you could make, to "achieve" such a result.
> 
> Windows Sandbox never had it's own copy of the OS in RAM. It has always minimized memory overhead by having the hypervisor's Extended Page Tables (EPT) map the sandbox's virtual memory directly to the same physical RAM pages containing read-only Windows binaries as used by the host.
> 
> Now whether or not task manager etc. counted this RAM twice or not I don't know.
> 

I attempted to use squash tests to get rid of it, and
it didn't work. It seemed to be booked RAM, "whatever
is hiding in there".

With normal OSes, I was always able to squeeze down to
350MB while the Memory Compressor ended up railed on one core.

There is a Sysinternals tool for viewing memory layout but
I have no idea how such an item would appear in there. The
output of that, has a very long list of items.

*******

I have a little program I use to fill RAM, and attempt to
eject RAM that can be freed up. This is a portion of it.

    int i = 0;
    void *m;

    while ( (m = malloc(1024*1024)) != NULL ) {
       memset(m,0,1024*1024);
       i++;
       QueryPerformanceCounter((LARGE_INTEGER *) &time2);
       printf("%05d megabytes  t=%010.6f\n", i, (float)(time2-time1)/freq);
    }

W11  124286 MB  (1024*1024 is my megabyte)
Machine RAM in usage after test run completes and program exits = 6.3GB (listed in Task Manager)

W10  127143 MB
Machine RAM in usage after test run completes and program exits = 3.6GB (listed in Task Manager)

The difference between OSes (25H2 versus 22H2) is ~2.7-2.8 or so.
If W11 slimmed down to W10 posture, then the RAM saving would not be
all that much of an accomplishment.

   Paul
Technical Details
Message-ID: <11abqkt$17orn$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <tMSdnUp9ZNIuMlr3nZ2dnZfqn_udnZ2d@giganews.com> <11a8gil$ii7$1@dont-email.me> <nit4kvF890gU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Paul <nospam@needed.invalid>
Newsgroups: alt.comp.os.windows-11
Subject: Re: Windows 11 26H2 Cuts RAM Usage by Up to 3GB and Delivers
 Noticeable Performance Improvements
Date: Fri, 9 Oct 2026 18:42:37 -0400
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <11abqkt$17orn$1@dont-email.me>
References: <tMSdnUp9ZNIuMlr3nZ2dnZfqn_udnZ2d@giganews.com>
 <11a8gil$ii7$1@dont-email.me> <nit4kvF890gU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 09 Oct 2026 22:42:38 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1303415"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19lv7OcWC1UVeHn87z5TfruC5oig5yT3O8="; posting-host="d148617d70d3756ef0cbad8993bd52e0"
User-Agent: THIS SPACE FOR RENT
Cancel-Lock: sha1:zTMFeHujxWP7PKNT+JrflvXGLoA= sha256:gyaPui2eIXTv7Vzeyl7miC3M7uICTd76FZWNijH7az4=
	sha1:lZfJ9cn2/hOw9HvzHHdnS2rX7pw= sha256:3481N+tZWYuzqdE+nSd0KmRUdIqsXFDpW9jV68d1n+s=
Content-Language: en-US
In-Reply-To: <nit4kvF890gU1@mid.individual.net>