Skip to contentSkip to conversation

SGX Memory Reservation on SPR

DISCUSSION Dave Hansen 3 participants 5 messages Aug 4, 2023 – Aug 7, 2023 Intel SGX

lore
Share & tools
lore
#0 lore raw

What choices do our end users have about how much EPC RAM to dedicate to SGX on SPR systems? I assume there's some ability to tweak to tweak it in the BIOS.

#1 lore raw

Hi Dave

Quoted 3 lines · Dave Hansen

What choices do our end users have about how much EPC RAM to dedicate to SGX on SPR systems? I assume there's some ability to tweak to tweak it in the BIOS.

On one platform I know, BIOS provides choices from 256M to 256G, doubling at each increment. This should depend on OEM/BIOS and available total RAM configured.

BR
Haitao

#2 lore raw
Quoted 9 lines · Haitao Huang

Hi Dave

Quoted 3 lines · Dave Hansen

What choices do our end users have about how much EPC RAM to dedicate to SGX on SPR systems? I assume there's some ability to tweak to tweak it in the BIOS.

On one platform I know, BIOS provides choices from 256M to 256G, doubling at each increment. This should depend on OEM/BIOS and available total RAM configured.

Also the sizes configured above is per socket. So for this particular system with 2 sockets, total EPC can be configured up to 1024G

BR
Haitao

#3 lore raw
Quoted 11 lines · Haitao Huang
Quoted 8 lines · Haitao Huang

Hi Dave

Quoted 3 lines · Dave Hansen

What choices do our end users have about how much EPC RAM to dedicate to SGX on SPR systems? I assume there's some ability to tweak to tweak it in the BIOS.

Quoted 7 lines
Quoted 4 lines

On one platform I know, BIOS provides choices from 256M to 256G, doubling at each increment. This should depend on OEM/BIOS and available total RAM configured.

Also the sizes configured above is per socket. So for this particular system with 2 sockets, total EPC can be configured up to 1024G

Yeah other than configuring the EPC size in the BIOS, I don't think there's any other way we can adjust the EPC size.

#4 lore raw
In reply to Haitao Huang
Quoted 11 lines · Haitao Huang

Hi Dave

Quoted 3 lines · Dave Hansen

What choices do our end users have about how much EPC RAM to dedicate to SGX on SPR systems?  I assume there's some ability to tweak to tweak it in the BIOS.

On one platform I know, BIOS provides choices from 256M to 256G, doubling at each increment. This should depend on OEM/BIOS and available total RAM configured.

OK, thanks. I was mostly curious how much RAM our customers are burning on SGX just so they can do TDX attestation on SPR.