Closed andre-w-fischer closed 1 year ago
Hi, this is an out of memory error and therefore expected with the 1 GB image. It's not easy to see this, unfortunately. You can enable debug logging if you want to make it visible.
Is it possible to configure EdgelessDB in a way, that it does not try to allocate more memory than is available in the enclave?
This is currently not possible and I guess it would require nontrivial changes in the underyling MariaDB/RocksDB forks. For example, the original DBs can use temporary disk storage.
Overview
A default (but unverified) installation of the 1 GB EdglessDB docker image crashes when processing requests from the
mysqlslap
tool. With the 4 GB image, the test finishes successfully.Setup
Start EdgelessDB as outlined on https://docs.edgeless.systems/edgelessdb/getting-started/quickstart-sgx. I used an unverified setup. I.e.
Run performance test like this
Result
The
mysqlslap
client printsThe output of the server is
Notes
System information
OS: Ubuntu 22.04.1 LTS x86_64 Kernel: 5.15.0-56-generic CPU: Intel Xeon Platinum 8352Y (128) @ 3.400GHz Memory: 7012MiB / 128581MiB