Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Execution State] Memory usage and performance optimisation #1744

Open
3 of 7 tasks
ramtinms opened this issue Dec 9, 2021 · 1 comment
Open
3 of 7 tasks

[Execution State] Memory usage and performance optimisation #1744

ramtinms opened this issue Dec 9, 2021 · 1 comment
Assignees
Labels
Epic Execution Cadence Execution Team

Comments

@ramtinms ramtinms added the Epic label Dec 9, 2021
@j1010001 j1010001 added the Execution Cadence Execution Team label Oct 13, 2022
@fxamacker
Copy link
Member

fxamacker commented Aug 29, 2024

Atree Inlining & Deduplication (Testnet Results)

Before/After Comparison Using Aug 14, 2024 Devnet State

Mtrie Nodes and Atree Payloads Atree Payload Sizes (bytes)

Total Counts

Before After Change
mtrie nodes 1,182,195,945 343,949,052 -838,246,893
atree payloads 455,399,623 102,283,931 -353,115,692

Total Sizes

Before After Change
mtrie nodes 113.49 GB 33.02 GB -80.47 GB
atree payloads 87.74 GB 69.28 GB -18.46 GB
combined 201.23 GB 102.30 GB -98.93 GB
Before After
count 455,399,623 102,283,931
mean 192.7 677.4
std 996.4 2,065.7
min 13 22
25% 88 199
50% 139 665
75% 206 1,043
99% 876 1,267
99.5% 1,078 1,453
max 5,853,892 5,853,892

NOTE: Testnet and mainnet results can differ, depending on usage, data, etc. Although testnet memory use was reduced by 1/2 on Aug 14 data, mainnet memory reduction (percentage wise) will likely be more modest.

See atree epic 292 for more details & charts:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic Execution Cadence Execution Team
Projects
None yet
Development

No branches or pull requests

4 participants