tkhq / qos

QuorumOS is a computation layer for running applications inside Trusted Execution Environments (TEEs)
GNU Affero General Public License v3.0
5 stars 2 forks source link

ENG-1756: (WIP!) Malloc Benchmark Testing #476

Open besler613 opened 4 months ago

besler613 commented 4 months ago

Summary & Motivation (Problem vs. Solution)

This PR introduces minimalistic memory allocation benchmark testing for our base QOS images. The basic design ideas are:

How I Tested These Changes

TBD

Pre merge check list

linear[bot] commented 4 months ago
ENG-1756 QOS - Benchmark Testing for StageX Containers

# Problem One takeaway of [this conversation](https://turnkeycrypto.slack.com/archives/C05RBAKJRKJ/p1721335084415159), which describes the Mysten team's discovery of suboptimal memory allocation in our StageX kernels as well as their plans to address this by modularizing the allocators so they can be swapped, was that Turnkey would benefit from the incremental development of low-level benchmark testing for our base StageX images. # Solution Develop a ***Suite of Benchmark Tests*** in our QOS library with testing patterns loosely based on the characteristic operations of Turnkey applications. This suite could be built out on an *as-needed* basis, with the first components focusing on ***Memory Allocation Performance***. # Deliverables 1. A minimalistic suite of benchmark tests which characterize memory allocation performance. 2. The introduction of reusable and extensible components, patterns & documentation for benchmark test development.