Back to Whitelisted Caller
Executed

#233 Increase MaxMemoryPages to 512MB

Proposer:
GLVe...F7wj
 
in Democracy
11th Jul '23

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.

set_config_with_executor_params {}: set_executor_params(RawOrigin::Root, 
ExecutorParams::from(&[ExecutorParam::MaxMemoryPages(8192)][..]))

Show More

Proposal Passed

of 3

Summary
Passed
99.9%Aye
AyeNay
0.1%Nay
Ayes(308)
483.17K KSM
Nays(1)
458.00 KSM
Support
710.66K KSM
Voting Details
Approval0.00%Threshold0.00%
Support0.00%Threshold0.00%
Please Log In to comment
Users are saying...
Based on all comments and replies

Overall 100 % of users are feeling against it. The text discusses concerns about potential issues arising from concurrent Polkadot Validator Function (PVF) executions, particularly when they fill up available memory. The author questions whether adequate testing was conducted to ensure stability under these conditions with current hardware configurations and expresses worry over the increased memory consumption due to new parameters.

AI-generated from comments

1Comments
Dcm1...en53
 
 
12th Jul '23

PVF is executed by a polkadot validator during backing, approvals and disputes. It's possible requests from those systems come in simultaneously. I don't know how many of those requests may come in concurrently, but it depends on the configuration. If I were to guess, then I would suppose there would be at most 3-4 PVF executing at the same time. Assuming those numbers, in the pathological case those PVF manage to fill the whole available memory at approx. the same time, it would make at most 512 MiB of committed memory with the current 128 MiB limit. With the new parameters the amount of memory consumed only by PVFs jumps up to 2 GiB.

So that makes me wonder if there were any testing done for what would happen with those pathological values on the standard hardware?

Hide replies
FFFF...acBs
 
 
12th Jul '23

@pepyakin This actually discussed here: https://github.com/paritytech/polkadot/issues/6557

TLDR: Given that the current hardware requirements are 16GB (which is quite low IMO), using 2GB for validation sounds reasonable.


Discover similar proposals


Whitelisted Caller

#505 [Runtime 1.4.2] Upgrade Asset Hub
Ea6j...taKR
17 hours ago
5%

Upgrades the Kusama Asset Hub to runtime 1.4.2: https://github.com/polkadot-fellows/runtimes/releases/tag/v1.4.2

Fellowship whitelist: https://kusama.subsquare.io/fellowship/referenda/94

See More

Deciding
#501
EMiK...c5g9
Deciding

Online Educational Program for C-Levels : A future Kusama DAOs Academy proposal.

GM Kusama Community, thanks for all the DVs and Communities providing feedback, on these failed proposal attempts:

See More

treasury
polkadot
+1
3rd Mar '25
75%

Medium Spender

Medium Spender

#501 Online Educational Program for C-Levels : A future Kusama DAOs Academy proposal.
EMiK...c5g9
3rd Mar '25
75%

GM Kusama Community, thanks for all the DVs and Communities providing feedback, on these failed proposal attempts:

Learnings: 

  • โ€” Non-speculative fund asking, use the EMA right   
  • โ€” This program is different from the PBA because it's focused on LATAM, the UX part that is for the interest of decision-makers at operational, transparency, and regulatory level.

Acknowledgments: 

  • โ€” The time between proposals is too long. Why? Familiar medical issues and operational alliances were not confirmed.  We keep prospecting and closing as we reach organizations. 
  • โ€” At some AAG Jay asked me "Why on Kusama?" and yes not only because of fast approvals, but because Kusama represents chaos, represents non-orthodox methods, continue testing and developing, like any new organization or project, and Kusama is getting mature and taking a new path from their cousin, a path on which we need people to explore the chaos and possibilities of working with true permissionless technology, only ruled by consensus. New countries could born over the decades on top of Kusama, and ghost countries or organizations could also develop for the greater good or for evil, who knows, tech should be neutral, right? But people, professionals, and decision-makers need information, and education, to get their thoughts out of the box. 

The Kusama DAO Academy, or DotSama ecosystem learning through e-learning platform and institutional alliances.

Kusama DAO Academy (KDA) is an educational program designed to train companies, institutions, and organizations in blockchain technology, with a special focus on the Kusama/Polkadot ecosystem. The initiative aims to promote the adoption of decentralized tools such as multisig, DIDs, NFTs, and decentralized financial mechanisms.

----------------------------------------------------------------------------------------------------------------------------------------------

We request 1,050 KSM (~$21,000 USD) 1 KSM = 20 USD EMA= 30 days to develop and launch the program, ensuring its sustainability and expansion in Latin America, for the next 6 months. 

----------------------------------------------------------------------------------------------------------------------------------------------

GrowDAO the team behind this project, successfully provided education to professionals of big corporations and Universities in Mexico and Colombia such as Grupo Salinas, Banco Agrario de Colombia, Certi Cรกmara, Tecnolรณgico de Monterrey and Universidad Autรณnoma Metropolitana. 

We acknowledge that if we leave the ecosystem for any reason the community will be affected, that's why we must accomplish this so the community can have it open source and, other Hispanic DAOs or the Ambassadors Programme can benefit from it. (I love this ecosystem, and do better every day to stay with it)

Project Objectives

โ€” Blockchain Education for Companies and Institutions: Teach organizations how to use blockchain technology for fund management, transparency, and operational efficiency.

โ€” Adoption of Kusama/Polkadot: Integrate native ecosystem tools into teaching and certification processes.

โ€” Self-Sustaining Model: Generate revenue through paid certifications and partnerships with universities and companies. (on the mid-run) 

โ€” Open Source Content: Publish educational materials for other DAOs and communities to use and expand upon.

Structure and Implementation Plan

Educational Content

  • 6 structured modules on Moodle, accessible via web and mobile devices.
  • Key topics: Blockchain security, DIDs, smart contracts, decentralized governance, multisig usage, and more.
  • Video lessons, PDFs, case studies, and interactive assessments.
  • 1st iteration videos (currently we are updating them to be suitable for Moodle, and zooming into the ecosystem) 

First iteration playlist

Adoption Strategy and Partnerships

โ€” FintechU Mx: Official certification recognized by the fintech sector in Mexico, national and international curricular value for the students. FintechU Mx has a specialized curriculum about fintech and blockchain in LATAM, they have graduated more than 1000 students from many C-Level positions at many startups and corporates in LATAM. 

Collaboration Letter:  

This collaboration will take the course of DAO School to their enrolled students and alumni, and it will be an administration cost covered by the student to get certificated nationally and internationally (50 USD) this is an administrative pay for FintechU we as GrowDAO not charge for this. The asked funds cover all our work for the next 6 months. 

FintechU Mx Presentation

โ€” Universities: Exploring integration with UAM Cuajimalpa and other institutions.

โ€” Podcast "GM Crypto News": Content dissemination through YouTube and Spotify.

Infrastructure and Development

โ€” Moodle-based platform hosted on a dedicated server. (Currently a home web server 2500U Ryzen 5, 12 GB RAM) Our plan for the next 6 months is to consolidate an alliance with a public college willing to host and offer the course to the students, and professors. 

โ€” Production of audiovisual content and creation of educational materials in accessible formats. (Podcast and video material for Moodle)

โ€” Open Source the Moodle Content so any DAO can use it. 

Funding and Sustainability

Estimated cost: 1,050 KSM (~$21,000 USD) 1 KSM = 20 USD EMA=30 days

Future revenue sources:

โ€” Certifications: $50 USD per student. (Academic institution register future 12 months)

โ€” Partnerships with companies and universities.

โ€” Expansion of the model to other regions.

Benefits for the Kusama/Polkadot Ecosystem

โœ… Increased adoption of DIDs, multisig, and NFTs in business environments.

โœ… Positioning the ecosystem in Latin America through certified education.

โœ… Creation of an Open Source repository with educational content accessible to other DAOs and communities.

โœ… Generation of new use cases that drive the real-world utility of Kusama/Polkadot.

Success Metrics and Evaluation

๐Ÿš€ Initial Goal: 100 certified students in the first 6 months.

๐Ÿ”— Strategic Partnerships: At least 2 universities and 3 companies adopting decentralized tools.

๐Ÿ’ก Documented Use Cases: Companies implementing solutions based on Kusama/Polkadot.

๐Ÿ“ˆ Course Completion Rate: At least 70% of enrolled students complete certification.

Here's the full proposal, which is still changing due to community feedback. Please, reach me at:

Kusama DAO Academy represents a strategic opportunity to strengthen the adoption of Kusama/Polkadot in Latin America through quality education and applicable use cases. With the requested funding, we will ensure the program's development, implementation, and future sustainability, impacting hundreds of students and organizations.

We invite the Kusama community to support this initiative and contribute to building a stronger, globally adopted ecosystem. ๐Ÿš€๐ŸŒŽ

Please reach me, comment, share, let me know what you need, how we can collaborate, etc, no one can go further without help, thank you all. We also want to connect with other initiatives, I'll be connecting with them, if you know of any project not well-known please share. 

Future on-chain proposal: Online Educational Program for C-Levels 

See More

Deciding
treasury
polkadot
+1
#503
CrbJ...eKJD
Deciding

Polkadot/Kusama Asset Hub Liquidity for Bridge Fee Swaps

KSM trading recently went live on Hydration after referendum #490 (https://kusama.subsquare.io/referenda/490) approved 33,333 KSM in Treasury LP. This has finally opened up liquidity flows between the two chains.

See More

6 days ago
44%

Small Spender

Small Spender

#503 Polkadot/Kusama Asset Hub Liquidity for Bridge Fee Swaps
CrbJ...eKJD
6 days ago
44%

KSM trading recently went live on Hydration after referendum #490 (https://kusama.subsquare.io/referenda/490) approved 33,333 KSM in Treasury LP. This has finally opened up liquidity flows between the two chains.

When transfers are made between the two using the Kusama <> Polkadot bridge, if a user does not have sufficient KSM/ DOT (depending on the chain) on the receiving network then a portion of the asset theyโ€™re sending (e.g. KSM from KAH to PAH) is swapped for the native token to pay for fees. This is excellent UX and prevents user frustration with having to collect fees before bridging assets - however, unfortunately the current liquidity leaves much to be desired and as a result users can get rekt by slippage and lose much larger amounts of their assets to fees than expected.

This proposal, if approved, will supply 333 KSM to a 2/2 multisig with signers Leemo & lolmcshizz - which combined with referendum (https://polkadot.subsquare.io/referenda/1479) on Polkadot, will be split between Kusama AssetHub and Polkadot AssetHub 50/50 to provide a base level of liquidity on each network. This will ensure that there is sufficient liquidity for these small swaps and users will only pay the fees they are expecting to when making transfers.

Any excess tokens will be returned to their respective treasuries.

See More

Deciding