SUPPORT.md: extend security support for x86 hosts to 12 TiB of memory
PATCH v2 1/1 SUPPORT.md: extend security support for x86 hosts to 12 TiB of memory
c49ee0329ff3 ("SUPPORT.md: limit security support for hosts with very much memory"), as a result of XSA-385, restricted security support to 8 TiB of host memory. While subsequently further restricted for Arm, extend this to 12 TiB on x86, putting in place a guest restriction to 8 TiB (or yet less for Arm) in exchange.
A 12 TiB x86 host was certified successfully for use with Xen 4.14 as per https://www.suse.com/nbswebapp/yesBulletin.jsp?bulletinNumber=150753.
This in particular included running as many guests (2 TiB each) as possible in parallel, to actually prove that all the memory can be used like this. It may be relevant to note that the Optane memory there was used in memory-only mode, with DRAM acting as cache.
---
v2: Rebase over new host limits for Arm. Refine new guest values for
Arm.
SUPPORT.md +12 -1
@@ -50,7 +50,7 @@ For the Cortex A57 r0p0 - r1p1, see Erra ### Physical Memory - Status, x86: Supported up to 8 TiB. Hosts with more memory are supported, but not security supported. + Status, x86: Supported up to 12 TiB. Hosts with more memory are supported, but not security supported. Status, Arm32: Supported up to 12 GiB Status, Arm64: Supported up to 2 TiB
@@ -121,6 +121,17 @@ ARM only has one guest type at the momen Status: Supported +## Guest Limits + +### Memory + + Status, x86: Supported up to 8 TiB + Status, Arm64: Supported up to 1 TiB + Status, Arm32: Supported up to 32 GiB + +Guests with more memory, but less than 16 TiB, are supported, +but not security supported. + ## Hypervisor file system ### Build info
Quoted 10 lines · Jan Beulich
c49ee0329ff3("SUPPORT.md: limit security support for hosts with very much memory"), as a result of XSA-385, restricted security support to 8 TiB of host memory. While subsequently further restricted for Arm, extend this to 12 TiB on x86, putting in place a guest restriction to 8 TiB (or yet less for Arm) in exchange.
Quoted 8 lines
A 12 TiB x86 host was certified successfully for use with Xen 4.14 as per https://www.suse.com/nbswebapp/yesBulletin.jsp?bulletinNumber=150753.
This in particular included running as many guests (2 TiB each) as possible in parallel, to actually prove that all the memory can be used like this. It may be relevant to note that the Optane memory there was used in memory-only mode, with DRAM acting as cache.Signed-off-by Jan Beulich <[email protected]>
I haven’t been following the discussion, but the form &c LGTM:
Hi Jan,
Quoted 30 lines · Jan Beulich
c49ee0329ff3("SUPPORT.md: limit security support for hosts with very much memory"), as a result of XSA-385, restricted security support to 8 TiB of host memory. While subsequently further restricted for Arm, extend this to 12 TiB on x86, putting in place a guest restriction to 8 TiB (or yet less for Arm) in exchange.A 12 TiB x86 host was certified successfully for use with Xen 4.14 as per https://www.suse.com/nbswebapp/yesBulletin.jsp?bulletinNumber=150753.
This in particular included running as many guests (2 TiB each) as possible in parallel, to actually prove that all the memory can be used like this. It may be relevant to note that the Optane memory there was used in memory-only mode, with DRAM acting as cache.Signed-off-by Jan Beulich <[email protected]>---
v2: Rebase over new host limits for Arm. Refine new guest values for
Arm.SUPPORT.md +1
-1@@ -50,7 +50,7 @@ For the Cortex A57 r0p0 - r1p1, see Erra ### Physical Memory - Status, x86: Supported up to 8 TiB. Hosts with more memory are supported, but not security supported. + Status, x86: Supported up to 12 TiB. Hosts with more memory are supported, but not security supported. Status, Arm32: Supported up to 12 GiB Status, Arm64: Supported up to 2 TiB
SUPPORT.md ARM only has one guest type at the momen · line 130
Quoted 10 lines
SUPPORT.md +7
-0@@ -121,6 +121,17 @@ ARM only has one guest type at the momen Status: Supported +## Guest Limits + +### Memory + + Status, x86: Supported up to 8 TiB + Status, Arm64: Supported up to 1 TiB + Status, Arm32: Supported up to 32 GiB
IIRC, the max the architecture would allow us is 16 Gib. Here we are limited with how much physical memory is supported by Xen. So this wants to be 12 GiB.
SUPPORT.md ARM only has one guest type at the momen · line 133
Quoted 3 lines
SUPPORT.md +3
-0+ +Guests with more memory, but less than 16 TiB, are supported, +but not security supported.
On Arm32, we definitely can't support up to 16 TiB. On Arm64, we would need some work to support it. So I would move this sentence in the "Status, x86" section.
Cheers,
Signature · 1 line
Julien Grall
Quoted 16 lines · Julien Grall
Quoted 15 lines · Jan Beulich
SUPPORT.md +1
-1@@ -50,7 +50,7 @@ For the Cortex A57 r0p0 - r1p1, see Erra ### Physical Memory - Status, x86: Supported up to 8 TiB. Hosts with more memory are supported, but not security supported. + Status, x86: Supported up to 12 TiB. Hosts with more memory are supported, but not security supported. Status, Arm32: Supported up to 12 GiB Status, Arm64: Supported up to 2 TiB@@ -121,6 +121,17 @@ ARM only has one guest type at the momen Status: Supported
Quoted 11 lines
SUPPORT.md ARM only has one guest type at the momen · line 130
Quoted 7 lines
SUPPORT.md +7
-0+## Guest Limits + +### Memory + + Status, x86: Supported up to 8 TiB + Status, Arm64: Supported up to 1 TiB + Status, Arm32: Supported up to 32 GiBIIRC, the max the architecture would allow us is 16 Gib. Here we are limited with how much physical memory is supported by Xen. So this wants to be 12 GiB.
Hmm, while I don't know where I took the 32 from, it was you who suggested (in reply to v1) I put 16 here. Though yes, with the host limit now set to just 12, putting more here would be odd. I didn't cross check the numbers, I'll admit.
Quoted 7 lines
SUPPORT.md ARM only has one guest type at the momen · line 133
Quoted 3 lines
SUPPORT.md +3
-0+ +Guests with more memory, but less than 16 TiB, are supported, +but not security supported.On Arm32, we definitely can't support up to 16 TiB. On Arm64, we would need some work to support it. So I would move this sentence in the "Status, x86" section.
Sure, I can do that. Would have been nice if you had said so right on v1. As to Arm64 though - the host limit is 2 TiB. Going beyond that being impossible (without becoming at least unsupported), is the uniform upper bound of 16 TiB really a problem here (IOW do guests really only function up to 1 TiB)? For Arm32 it would be even less of an issue, as hosts with more than 12 GiB are unsupported. (I'm trying to avoid moving the line up not the least because it'll be even more of a line length violation than what was necessary to accept for the host limits.)
Jan
Hi Jan,
Quoted 29 lines · Jan Beulich
Quoted 16 lines · Julien Grall
Quoted 15 lines · Jan Beulich
SUPPORT.md +1
-1@@ -50,7 +50,7 @@ For the Cortex A57 r0p0 - r1p1, see Erra ### Physical Memory - Status, x86: Supported up to 8 TiB. Hosts with more memory are supported, but not security supported. + Status, x86: Supported up to 12 TiB. Hosts with more memory are supported, but not security supported. Status, Arm32: Supported up to 12 GiB Status, Arm64: Supported up to 2 TiB@@ -121,6 +121,17 @@ ARM only has one guest type at the momen Status: SupportedQuoted 11 lines
SUPPORT.md ARM only has one guest type at the momen · line 130
Quoted 7 lines
SUPPORT.md +7
-0+## Guest Limits + +### Memory + + Status, x86: Supported up to 8 TiB + Status, Arm64: Supported up to 1 TiB + Status, Arm32: Supported up to 32 GiBIIRC, the max the architecture would allow us is 16 Gib. Here we are limited with how much physical memory is supported by Xen. So this wants to be 12 GiB.
Quoted 2 lines
Hmm, while I don't know where I took the 32 from, it was you who suggested (in reply to v1) I put 16 here.
Hmmm... I am pretty sure I wrote 16 in v1 [1].
Quoted 12 lines
Though yes, with the
host limit now set to just 12, putting more here would be odd. I didn't cross check the numbers, I'll admit.Quoted 7 lines
SUPPORT.md ARM only has one guest type at the momen · line 133
Quoted 3 lines
SUPPORT.md +3
-0+ +Guests with more memory, but less than 16 TiB, are supported, +but not security supported.On Arm32, we definitely can't support up to 16 TiB. On Arm64, we would need some work to support it. So I would move this sentence in the "Status, x86" section.
Quoted 2 lines
Sure, I can do that. Would have been nice if you had said so right on v1.
I only spotted this oddity now. Sorry.
Quoted 4 lines
As to Arm64 though - the host limit is 2 TiB. Going beyond that being impossible (without becoming at least unsupported), is the uniform upper bound of 16 TiB really a problem here (IOW do guests really only function up to 1 TiB)?
The guest memory layout has only been defined for up to 1TB. Hopefully this is the only place where the assumption is baked. But as I don't have such machine in hand, I can't easily confirm it.
So I think we need to clarify that the 16TB limit only applies to x86.
Quoted 3 lines
For Arm32 it would be
even less of an issue, as hosts with more than 12 GiB are unsupported.
This is only obvious if you know that Xen doesn't support memory overcommitting. Admittely, this could be considered as basic Xen knowledge.
Cheers,
[1] https://lore.kernel.org/xen-devel/[email protected]/
Signature · 1 line
Julien Grall