Benchmarks

The following table presents the benchmark results for Summa Aggregation, specifically focused on building the AggregationMerkleSumTree as part of the V1 improvements to Summa Solvency.

The benchmarks were conducted using an AWS m7a.8xlarge main machine with 32 vCores and 128GB RAM, while the workers operated on AWS c7a.4xlarge instances with 16 vCores and 32GB RAM.

The number of "Chunks" indicates how the 2^20 entries (equivalent to 1,048,576 users) were divided into smaller segments for processing.

-
Time for 32 Chunks
Time for 64 Chunks
Time for 128 Chunks

4 Workers

47.166 s

47.357 s

46.612 s

8 Workers

24.262 s

23.619 s

23.636 s

16 Workers

12.378 s

12.377 s

12.372 s

The benchmark results based on larger entries (2^28) are in the table below:

-
Time for 8192 Chunks
Time for 16384 Chunks

20 Workers

2498 s

2469 s

These results indicate that, in most cases, increasing the number of chunks and workers leads to improved performance. This benchmark suggests that custodians can enhance performance by deploying larger machines with additional workers.

Last updated