<?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 Quote:Selvaraj, Surenthar  in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068830#M243</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Selvaraj, Surenthar (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Feng,&lt;/P&gt;

&lt;P&gt;Paging is enabled by default on Linux and there isn’t any option to disable it.&lt;/P&gt;

&lt;P&gt;Share your copy of program with us (both linux and windows) will look and revert back to you&lt;/P&gt;

&lt;P&gt;-Surenthar&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi Selvaraj,&lt;/P&gt;

&lt;P&gt;Can you share your thought why we are saying that we can't disable the paging from linux.&lt;/P&gt;

&lt;P&gt;I referred the below page to disable to pagging :&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="https://serverfault.com/questions/684771/best-way-to-disable-swap-in-linux" target="_blank"&gt;https://serverfault.com/questions/684771/best-way-to-disable-swap-in-linux&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;right now i am checking the SGX capability in term of size and even after disabling the paging&amp;nbsp; am able to allocate 400 MB memory on stack.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Apr 2018 10:39:37 GMT</pubDate>
    <dc:creator>Garg__Shivam</dc:creator>
    <dc:date>2018-04-12T10:39:37Z</dc:date>
    <item>
      <title>SGX protected memory limit in SGX</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068817#M230</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;The SGX SDK reference indicated the SGX has limited protected memory as 128 MB. But I just found the memory limit can be&amp;nbsp;extended almost up to 4GB in Linux&amp;nbsp;platform (I set the HeapMaxSize = 0xF0000000 = 3.75GB). In addition, I allocated five 32 MB buffer array in the program (total 160 MB). The program run successfully.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;So, I just wanna make sure if all of the 4GB are protected memory?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Feng&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 07:25:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068817#M230</guid>
      <dc:creator>Feng_C_</dc:creator>
      <dc:date>2016-07-21T07:25:09Z</dc:date>
    </item>
    <item>
      <title>Hi Feng,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068818#M231</link>
      <description>&lt;P&gt;Hi Feng,&lt;/P&gt;

&lt;P&gt;The limit of 128 MB comes from the BIOS. To go beyond that, there needs to be paging support. The Linux driver supports paging, but Windows does not.&lt;/P&gt;

&lt;P&gt;Thanks and Reagrds,&lt;BR /&gt;
	Surenthar Selvaraj&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 03:07:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068818#M231</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2016-07-22T03:07:45Z</dc:date>
    </item>
    <item>
      <title>Hi Surenthar,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068819#M232</link>
      <description>&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;Hi&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Surenthar,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Many thanks for your reply. &lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;I still have two questions.&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;1) I found one of your team&amp;nbsp;members&amp;nbsp;replied a researcher on SGX memory limited (&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;&lt;A href="https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/607004&amp;nbsp;" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/607004&amp;nbsp;&lt;/A&gt;;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;). According to Simon, the 90MB memory limited is due to the hardware constraint. Currently, all of the hardware only support V1 instruction, which does not&amp;nbsp;support `dynamic memory allocating. In addition, I also found your reply to another researcher on SGX 90 MB memory limited (&lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/670261" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/670261&lt;/A&gt; &lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;), and you also mentioned the V2 instruction is unavailable currently.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;So, I just wanna make sure if the V2 instruction is available for Linux platform now? Are all of the 4GB memory protected by hardware, or just emulator?&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;2) I found an issue in Linux SDK: Although I only set the StackMaxSize to 0x40000 (0.25 MB), I can allocate five 2GB arrays (totally 10 GB) in the stack and the program correctly &lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;under prerelease hardware mode&lt;/SPAN&gt;. For the debug hardware&amp;nbsp;mode, the program failed. In addition, I also tested the prerelease mode in Windows 10, the program also failed. So, is there any bug in Linux prerelease mode?&amp;nbsp;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;Attached are key step screenshots for question 2.&amp;nbsp;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;Our server CPU is&amp;nbsp;Intel® Xeon® Processor E3-1275 v5.&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;Best,&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;Feng&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2016 07:46:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068819#M232</guid>
      <dc:creator>Feng_C_</dc:creator>
      <dc:date>2016-07-23T07:46:33Z</dc:date>
    </item>
    <item>
      <title>Hi Feng,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068820#M233</link>
      <description>&lt;P&gt;Hi Feng,&lt;/P&gt;

&lt;P&gt;#1, v2 instructions are a hardware feature, not an OS or software feature. No currently shipping Intel CPU supports the v2 instructions and we have not announced the product intercepts or projected timelines for their availability. I don’t understand the reference to an emulator in the question “Are all of the 4GB memory protected by hardware, or just emulator?”. Linux supports paging so if you specify a 4 GB HeapSize you get 4 GB of protected enclave memory, it just has to swap pages to access it.&lt;/P&gt;

&lt;P&gt;#2 Thank for the report and we have forwarded it on to the SDK developers.&lt;/P&gt;

&lt;P&gt;Thanks and Reagrds,&lt;BR /&gt;
	Surenthar Selvaraj&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 06:17:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068820#M233</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2016-07-26T06:17:42Z</dc:date>
    </item>
    <item>
      <title>Hi Feng,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068821#M234</link>
      <description>&lt;P&gt;Hi Feng,&lt;/P&gt;

&lt;P&gt;The physical protected memory is limited to the PRMRR size set in BIOS and the max we support at this time is 128MB in Skylake. The reason why you are able to set the heapsize you set is because of the paging support in Linux driver and we don't have this support in Windows at this time. Similar to how memory is managed in OS, enclave pages are managed similarly.&lt;/P&gt;

&lt;P&gt;Thanks and Reagrds,&lt;BR /&gt;
	Surenthar Selvaraj&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 06:36:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068821#M234</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2016-07-26T06:36:29Z</dc:date>
    </item>
    <item>
      <title>Hi Surenthar,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068822#M235</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Surenthar,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Many thanks for your reply. For the "emulator", I meant the program emulates a compromised mechanism to allocate 4 GB memory, which may not be as safe as the 90 MB secure memory in Windows. However, b&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;ased on your reply, I got known it is the paging mechanism: to access more than 128 MB, the driver can swap the data between the protected memory and the paging area, and implements the encryption and decryption, right? &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;For #2, it turns out the unused part of10 GB memory is optimized out by the compiler in Linux prerelease mode, &amp;nbsp;but these memories will not be optimized out in Windows prerelease mode or Linux Debug mode.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Feng&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 18:39:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068822#M235</guid>
      <dc:creator>Feng_C_</dc:creator>
      <dc:date>2016-07-26T18:39:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Feng C. wrote:</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068823#M236</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Feng C. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Surenthar,&lt;/P&gt;

&lt;P&gt;Many thanks for your reply. For the "emulator", I meant the program emulates a compromised mechanism to allocate 4 GB memory, which may not be as safe as the 90 MB secure memory in Windows. However, based on your reply, I got known it is the paging mechanism: to access more than 128 MB, the driver can swap the data between the protected memory and the paging area, and implements the encryption and decryption, right? &amp;nbsp;&lt;/P&gt;

&lt;P&gt;For #2, it turns out the unused part of10 GB memory is optimized out by the compiler in Linux prerelease mode, &amp;nbsp;but these memories will not be optimized out in Windows prerelease mode or Linux Debug mode.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Feng&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Feng,&lt;/P&gt;

&lt;P&gt;Yes, it will all be protected memory on Linux. The Linux driver supports paging, which allows the enclave to access the additional RAM via page swaps.&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The Windows kernel does not yet support this feature, so it is limited to ~90 MB.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;-Surenthar Selvaraj&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 05:59:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068823#M236</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2016-07-28T05:59:08Z</dc:date>
    </item>
    <item>
      <title>Hi Surenthar,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068824#M237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Surenthar,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thank you for you reply.&lt;/P&gt;

&lt;P&gt;I have implemented some simple C++ programs (random access the&amp;nbsp;allocated array) both in Linux and windows (both systems run the same hardware), and the Linux program generally 10+ times slower than the Windows program even if the maximum memory is set less than 90 MB. So, I guess the paging mechanism is enabled by default,&amp;nbsp; &lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Just wanna know if there is any method that I can disable Linux paging in order that the programs can only run in the EPC memory?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Feng&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 06:12:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068824#M237</guid>
      <dc:creator>Feng_C_</dc:creator>
      <dc:date>2016-07-28T06:12:44Z</dc:date>
    </item>
    <item>
      <title>Hi Feng,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068825#M238</link>
      <description>&lt;P&gt;Hi Feng,&lt;/P&gt;

&lt;P&gt;Paging is enabled by default on Linux and there isn’t any option to disable it.&lt;/P&gt;

&lt;P&gt;Share your copy of program with us (both linux and windows) will look and revert back to you&lt;/P&gt;

&lt;P&gt;-Surenthar&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 05:03:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068825#M238</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2016-09-14T05:03:48Z</dc:date>
    </item>
    <item>
      <title>Hi, Feng,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068826#M239</link>
      <description>&lt;P&gt;Hi, Feng,&lt;/P&gt;

&lt;P&gt;I'm very interested in the performance overhead of paging. Did you finally figure out the reason for 10x slower?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Fan&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Feng C. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi&amp;nbsp;Surenthar,&lt;/P&gt;

&lt;P&gt;Thank you for you reply.&lt;/P&gt;

&lt;P&gt;I have implemented some simple C++ programs (random access the&amp;nbsp;allocated array) both in Linux and windows (both systems run the same hardware), and the Linux program generally 10+ times slower than the Windows program even if the maximum memory is set less than 90 MB. So, I guess the paging mechanism is enabled by default,&amp;nbsp; Just wanna know if there is any method that I can disable Linux paging in order that the programs can only run in the EPC memory?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Feng&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 05:00:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068826#M239</guid>
      <dc:creator>Fan</dc:creator>
      <dc:date>2016-11-29T05:00:43Z</dc:date>
    </item>
    <item>
      <title>Hi, Fan.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068827#M240</link>
      <description>&lt;P&gt;Hi, Fan.&lt;/P&gt;

&lt;P&gt;Some people have run experiments to evaluate the overhead of using SGX enclaves compared to the standard C library (without any data protection mechanism), due to memory swap.&lt;/P&gt;

&lt;P&gt;The results show that randomly accessing memory (memory reads) in SGX enclaves can be up to 350x slower than doing it outside enclaves, using standard C library. The picture below show the full evaluation of the SGX performance.&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="https://s15.postimg.org/agcsu9np7/overhead.png" /&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;Rodolfo&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Fabian N. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi, Feng,&lt;/P&gt;

&lt;P&gt;I'm very interested in the performance overhead of paging. Did you finally figure out the reason for 10x slower?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Fan&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 18:39:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068827#M240</guid>
      <dc:creator>Rodolfo_S_</dc:creator>
      <dc:date>2016-12-06T18:39:26Z</dc:date>
    </item>
    <item>
      <title>Hello Surenthar,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068828#M241</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;Surenthar,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;is there any update regarding paging support for Windows? Will it be available in the foreseeable future?&lt;/P&gt;

&lt;P&gt;Best regards&lt;BR /&gt;
	Benny&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 11:33:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068828#M241</guid>
      <dc:creator>Benny_F_</dc:creator>
      <dc:date>2017-04-12T11:33:27Z</dc:date>
    </item>
    <item>
      <title>Hello everyone,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068829#M242</link>
      <description>&lt;P style="box-sizing: border-box; word-wrap: break-word; margin-bottom: 20px; line-height: 1.4; color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 244, 244);"&gt;Hello everyone,&lt;/P&gt;

&lt;P style="box-sizing: border-box; word-wrap: break-word; margin-bottom: 20px; line-height: 1.4; color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 244, 244);"&gt;I have a question about EPC in SGX and why it is not possible to increase the size of EPC more than 128MB? Because if we do so, enclave does not need to suffer from bringing pages into EPC or taking pages out of EPC so frequently, which has a significant overhead?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 00:11:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068829#M242</guid>
      <dc:creator>Meysam_t_</dc:creator>
      <dc:date>2017-06-17T00:11:16Z</dc:date>
    </item>
    <item>
      <title>Quote:Selvaraj, Surenthar</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068830#M243</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Selvaraj, Surenthar (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Feng,&lt;/P&gt;

&lt;P&gt;Paging is enabled by default on Linux and there isn’t any option to disable it.&lt;/P&gt;

&lt;P&gt;Share your copy of program with us (both linux and windows) will look and revert back to you&lt;/P&gt;

&lt;P&gt;-Surenthar&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi Selvaraj,&lt;/P&gt;

&lt;P&gt;Can you share your thought why we are saying that we can't disable the paging from linux.&lt;/P&gt;

&lt;P&gt;I referred the below page to disable to pagging :&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="https://serverfault.com/questions/684771/best-way-to-disable-swap-in-linux" target="_blank"&gt;https://serverfault.com/questions/684771/best-way-to-disable-swap-in-linux&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;right now i am checking the SGX capability in term of size and even after disabling the paging&amp;nbsp; am able to allocate 400 MB memory on stack.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 10:39:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-protected-memory-limit-in-SGX/m-p/1068830#M243</guid>
      <dc:creator>Garg__Shivam</dc:creator>
      <dc:date>2018-04-12T10:39:37Z</dc:date>
    </item>
  </channel>
</rss>

