Skip to content

SIMD-0289: propose to reduce load data size limit to zero by default #289

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

Conversation

tao-stones
Copy link
Contributor

@tao-stones tao-stones commented May 28, 2025

This SIMD proposes setting the default value for loaded accounts data size to
zero bytes in the Solana runtime, replacing the current implicit default of
MAX_LOADED_ACCOUNTS_DATA_SIZE_BYTES (64MB).

@tao-stones tao-stones force-pushed the default-loaded-accounts-data-size-to-zero branch from b636ad5 to 050504d Compare May 28, 2025 18:41
@tao-stones tao-stones marked this pull request as ready for review May 28, 2025 18:42
@tao-stones tao-stones changed the title SIMD-0288: propose to reduce load data size limit to zero by default SIMD-0289: propose to reduce load data size limit to zero by default May 28, 2025
Comment on lines +62 to +65
3. Gradual Ramp-Down Strategy:
Implement a phased reduction toward zero. For example, decrease
`DEFAULT_LOADED_ACCOUNTS_DATA_SIZE_BYTES` by fixed increments (e.g., 8MB per
epoch). This gives developers time to adapt.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we specify the exact schedule for this? What increments over what time period?

@tao-stones
Copy link
Contributor Author

Similar to #172 , the default of loaded_accounts_data_size can be changed together in #296. Close this one for now.

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

Successfully merging this pull request may close these issues.

2 participants