edgelessdb icon indicating copy to clipboard operation
edgelessdb copied to clipboard

Performance testing

Open victormassy opened this issue 2 years ago • 4 comments

Hey,

I would like to compare edgelessDB to other solutions. Do you know any tool compatible for performance testing ? I'd like to compare at least memory usage.

Thank you.

victormassy avatar Dec 20 '22 10:12 victormassy

Hi,

We used sysbench-tpcc for benchmarking. See #84 for more info.

Regarding memory usage, EdgelessDB has to preallocate the enclave memory so that it should be constant.

thomasten avatar Dec 20 '22 14:12 thomasten

Thank you for your help. If the memory is preallocate, how is decided its size ? Is it a constant for all applications?

What happens if the memory allocated is not sufficient to store the entire database ?

victormassy avatar Dec 21 '22 10:12 victormassy

It's decided at build time. We provide prebuilt images with 1 GB or 4 GB enclave heap memory. Or you can build it yourself and choose another heap size.

If EdgelessDB runs out of enclave memory, it will terminate.

thomasten avatar Dec 21 '22 11:12 thomasten

Thank you for your answer !

victormassy avatar Dec 21 '22 12:12 victormassy