<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Re:EPC allocation policy on multisocket machines - Intel(R) Xeon(R) Gold 6348 CPU @ 2.60GHz in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/EPC-allocation-policy-on-multisocket-machines-Intel-R-Xeon-R/m-p/1428888#M5528</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Is there a way to force the enclave to do cross numa allocation? I need this feature to do some benchmarking regarding the memory access latencies in case of cross numa memory access ?&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 21:39:11 GMT</pubDate>
    <dc:creator>boukhari</dc:creator>
    <dc:date>2022-11-09T21:39:11Z</dc:date>
    <item>
      <title>EPC allocation policy on multisocket machines - Intel(R) Xeon(R) Gold 6348 CPU @ 2.60GHz</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/EPC-allocation-policy-on-multisocket-machines-Intel-R-Xeon-R/m-p/1427791#M5521</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am writing an intel sgx application on a multisocket machine. I am running some benchmarks and I need to do numa aware allocation inside the enclave. Is there a way I can force the enclave to allocate EPC pages on a specific numa socket? If that's not possible, how can I check on which numa socket are the epc pages being allocated? Is there a default policy for allocation?&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Yassine&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 21:32:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/EPC-allocation-policy-on-multisocket-machines-Intel-R-Xeon-R/m-p/1427791#M5521</guid>
      <dc:creator>boukhari</dc:creator>
      <dc:date>2022-11-04T21:32:29Z</dc:date>
    </item>
    <item>
      <title>Re:EPC allocation policy on multisocket machines - Intel(R) Xeon(R) Gold 6348 CPU @ 2.60GHz</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/EPC-allocation-policy-on-multisocket-machines-Intel-R-Xeon-R/m-p/1428881#M5526</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;If you are using Linux kernel 5.13 or newer with the SGX driver built in, it already has basic NUMA-aware allocation build in. This means that it will try to allocate all required EPC for a given enclave on a single CPU (so it won't span memory allocation across the sockets). You can read more about the patch &lt;A href="https://lore.kernel.org/lkml/20210313160119.1318533-4-jarkko@kernel.org/" rel="noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Sahira&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Nov 2022 21:10:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/EPC-allocation-policy-on-multisocket-machines-Intel-R-Xeon-R/m-p/1428881#M5526</guid>
      <dc:creator>Sahira_Intel</dc:creator>
      <dc:date>2022-11-09T21:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re:EPC allocation policy on multisocket machines - Intel(R) Xeon(R) Gold 6348 CPU @ 2.60GHz</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/EPC-allocation-policy-on-multisocket-machines-Intel-R-Xeon-R/m-p/1428888#M5528</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Is there a way to force the enclave to do cross numa allocation? I need this feature to do some benchmarking regarding the memory access latencies in case of cross numa memory access ?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 21:39:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/EPC-allocation-policy-on-multisocket-machines-Intel-R-Xeon-R/m-p/1428888#M5528</guid>
      <dc:creator>boukhari</dc:creator>
      <dc:date>2022-11-09T21:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: EPC allocation policy on multisocket machines - Intel(R) Xeon(R) Gold 6348 CPU @ 2.60GHz</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/EPC-allocation-policy-on-multisocket-machines-Intel-R-Xeon-R/m-p/1430372#M5535</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;There is no out of box way to force the enclave to do cross numa allocation. You would need to modify the kernel driver in order to accomplish this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Sahira&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 18:00:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/EPC-allocation-policy-on-multisocket-machines-Intel-R-Xeon-R/m-p/1430372#M5535</guid>
      <dc:creator>Sahira_Intel</dc:creator>
      <dc:date>2022-11-15T18:00:22Z</dc:date>
    </item>
  </channel>
</rss>

