Stream: wasmtime

Topic: Performance inside SGX


view this post on Zulip JUN (Jul 18 2023 at 07:40):

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?

view this post on Zulip bjorn3 (Jul 18 2023 at 10:17):

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?

view this post on Zulip JUN (Jul 18 2023 at 11:36):

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?

view this post on Zulip Notification Bot (Jul 18 2023 at 12:27):

3 messages were moved here from #wasmtime > Request a collaboration letter by fitzgen (he/him).

view this post on Zulip Alex Crichton (Jul 18 2023 at 16:57):

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

view this post on Zulip JUN (Jul 19 2023 at 02:59):

Ok, where wasmtime usually has a greater impact on performance?

view this post on Zulip Alex Crichton (Jul 19 2023 at 15:13):

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: Oct 23 2024 at 20:03 UTC