On Mon, Sep 01, 2025 at 10:49:15AM +0200, Igor Mammedov wrote:
> With current limit set to match max spec size (2PTb),
> Windows fails to parse type 17 records when DIMM size reaches 4Tb+.
> Failure happens in GetPhysicallyInstalledSystemMemory() function,
> and fails "Check SMBIOS System Memory Tables" SVVP test.
> Though not fatal, it might cause issues for userspace apps,
> something like [1].
> 
> Lets cap default DIMM size to 2Tb for now, until MS fixes it.
> 
> 1) 
> https://issues.redhat.com/browse/RHEL-81999?focusedId=27731200&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-27731200

Why link to a comment that refers to a link to Adobe photoshop
and doesn't mention KVM ???

Also should have:

Fixes: 62f182c97b31445012d37181005a83ff8453edaa

> Signed-off-by: Igor Mammedov <[email protected]>
> ---
> PS: It's obvious 32 int overflow math somewhere in Windows,
>     MS admitted that it's Windows bug and in a process of fixing it.
>     However it's unclear if W10 and earlier would get the fix.
>     So however I dislike changing defaults, we heed to work around
>     the issue (it looks like QEMU regression while not being it).
>     Hopefully 2Tb/DIMM split will last longer until VM memory size
>     will become large enough to cause to many type 17 records issue
>     again.
> PS2:
>     Alternatively, instead of messing with defaults, I can create
>     a dedicated knob to ask for desired DIMM size cap explicitly
>     on CLI. That will let users to enable workaround when they
>     hit this corner case. Downside is that knob has to be propagated
>     up all mgmt stack, which might be not desirable.


How many type 17 records can we get before hitting the the
Linux limits which was the motiviation for the previous
fix 62f182c97b31445012d37181005a83ff8453edaa ?

ie, with this 2 TB dimm size, what is our effective maximum
RAM size ?


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


Reply via email to