Hello, when I use wasmtime to run in the sgx environment, its function execution time is usually more time-consuming than outside the host, what is the reason for this?
Mitigations for side channels done by the CPU or whatever thing you use for running Wasmtime in SGX maybe? Or memory mapping syscall overhead? How bug is the difference?
bjorn3 said:
Mitigations for side channels done by the CPU or whatever thing you use for running Wasmtime in SGX maybe? Or memory mapping syscall overhead? How bug is the difference?
Is there any example that can be provided for me to complete performance test?
3 messages were moved here from #wasmtime > Request a collaboration letter by fitzgen (he/him).
AFAIK we have no sgx experts on the general set of folks maintaining wasmtime and watching the streams here, so without that your guess is probably as good as ours as to why sgx affects things here
Ok, where wasmtime usually has a greater impact on performance?
There's quite a few concerns when it comes to wasm performance, so what you'll want to do, if possible, is to start with a profiler. From there you should be able to narrow in on what's taking longer than expected.
Last updated: Dec 23 2024 at 13:07 UTC