You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by 4ndy <no...@github.com.INVALID> on 2022/04/26 05:15:54 UTC
[apache/incubator-teaclave-sgx-sdk] performance overhead (Issue #379)
i implement a rust program in sgx with rust sgx sdk, but i find that it cost more than 60%-80% time to execute program, is this normal?
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/379
You are receiving this because you are subscribed to this thread.
Message ID: <ap...@github.com>
Re: [apache/incubator-teaclave-sgx-sdk] performance overhead (Issue #379)
Posted by Mingshen Sun <no...@github.com.INVALID>.
Hi, can you also put the code, testbed, and how you measure the overhead? This will be very helpful when discussing the performance overhead.
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/379#issuecomment-1110311892
You are receiving this because you are subscribed to this thread.
Message ID: <ap...@github.com>
Re: [apache/incubator-teaclave-sgx-sdk] performance overhead (Issue #379)
Posted by 4ndy <no...@github.com.INVALID>.
thank you very much, I find that my program needs multithreading optimization and sgx does't support that lib
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/379#issuecomment-1111674359
You are receiving this because you are subscribed to this thread.
Message ID: <ap...@github.com>
Re: [apache/incubator-teaclave-sgx-sdk] performance overhead (Issue #379)
Posted by Qinkun Bao <no...@github.com.INVALID>.
My experience (could be wrong)
1. If a program is CPU-intensive, the average overhead is 30% to 50%
2. If a program uses main memory a lot (e.g., the size of allocated memory is larger than the EPC size), the program may have thousands of performance penalties.
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/379#issuecomment-1111671007
You are receiving this because you are subscribed to this thread.
Message ID: <ap...@github.com>