aws/aws-nitro-enclaves-samples

High latency from parent VM to enclave

HaseebLUMS opened this issue · 1 comments

Hi, I have been looking into the latency (and its variance) between a parent VM and an enclave. The numbers I get (shown below) are almost equal to the numbers I get for a pair of VMs (and sometimes even worse).

For parent to enclave:

Median = 123.839µs
90th: 129.022µs
95th: 132.129µs
99th: 262.755µs
Variance: 391.043

For a pair of VMs:
Median = 61.3µs
90th: 68.877µs
95th: 73.313µs
99th: 91.53µs
Variance: 52.27

I had imagined the latency from parent to enclave to be very low and the variance almost negligible. Do you folks agree with my numbers above or am I doing something wrong?

The numbers above show round trip times.