Referenda

Open and closed proposals

Polkadot
#142ExecutedWhitelisted CallerProtocol & Governance

Increase MaxMemoryPages to 512MB

Proposer
Requested
0
Ended
17 Sept 2023
Comments
0

AI Digest

Category Protocol & Governance
  • PVF execution would increase its memory limit from 128MB to 512MB, giving validators more capacity to load parachain state proofs.
  • The change uses set_executor_params to set MaxMemoryPages to 8192 and was submitted on the Whitelisted Caller track for Fellowship consideration.
  • A similar proposal has already been successfully executed in Kusama.

Description

Written by the proposer, as published on Subsquare · last edited 6 Sept 2023, 10:06 UTC

PVF execution currently has a memory limit of 128MB, which is the same as Cumulus uses for its block import pipeline. While collators execute state transitions by reading parachain data from disk locally, parachain validators must load state proofs into memory. Therefore, they should have a higher memory limit than collators. Otherwise, a parachain block that made full use of memory when executed by the collator could fail to be executed by validators. To fix this, we propose increasing the memory limit for PVF execution to 512MB.

Please note that a similar proposal has already been successfully executed in Kusama. As this proposal was submitted on the Whitelisted Caller track, Fellowship will be voting on a proposal to whitelist this hash.

set_config_with_executor_params {}: set_executor_params(RawOrigin::Root, 
ExecutorParams::from(&[ExecutorParam::MaxMemoryPages(8192)][..]))
  • Call data: 0x332e040100200000
  • Call hash: 0x1c356149b664ec3f7d89eeb56a3469bd5f468ae7fafa2b13f2423618db6c922e

Discussion

0 comments from OpenShore and Subsquare; spam hidden

Markdown
Signed with your wallet. No fee, nothing on-chain.
No comments yet.