edgelesssys / edgelessdb

EdgelessDB is a MySQL-compatible database for confidential computing. It runs entirely inside a secure enclave and comes with advanced features for collaboration, recovery, and access control.
https://edgeless.systems/products/edgelessdb
GNU General Public License v2.0
170 stars 17 forks source link

Performance testing #130

Open victormassy opened 1 year ago

victormassy commented 1 year ago

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.

thomasten commented 1 year ago

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.

victormassy commented 1 year ago

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 ?

thomasten commented 1 year ago

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.

victormassy commented 1 year ago

Thank you for your answer !