Skip to content
Snippets Groups Projects
Unverified Commit f0eec07f authored by Alexandru Gheorghe's avatar Alexandru Gheorghe Committed by GitHub
Browse files

Increase the number of pvf execute workers (#7116)


Reference hardware requirements have been bumped to at least 8 cores so
we can no allocate 50% of that capacity to PVF execution.

---------

Signed-off-by: default avatarAlexandru Gheorghe <alexandru.gheorghe@parity.io>
parent ba572ae8
No related merge requests found
Pipeline #511390 waiting for manual action with stages
in 47 minutes and 46 seconds
......@@ -944,14 +944,9 @@ pub fn new_full<
secure_validator_mode,
prep_worker_path,
exec_worker_path,
pvf_execute_workers_max_num: execute_workers_max_num.unwrap_or_else(
|| match config.chain_spec.identify_chain() {
// The intention is to use this logic for gradual increasing from 2 to 4
// of this configuration chain by chain until it reaches production chain.
Chain::Polkadot | Chain::Kusama => 2,
Chain::Rococo | Chain::Westend | Chain::Unknown => 4,
},
),
// Default execution workers is 4 because we have 8 cores on the reference hardware,
// and this accounts for 50% of that cpu capacity.
pvf_execute_workers_max_num: execute_workers_max_num.unwrap_or(4),
pvf_prepare_workers_soft_max_num: prepare_workers_soft_max_num.unwrap_or(1),
pvf_prepare_workers_hard_max_num: prepare_workers_hard_max_num.unwrap_or(2),
})
......
title: Increase the number of pvf execution workers from 2 to 4
doc:
- audience: Node Dev
description: |-
Increase the number of pvf execution workers from 2 to 4.
crates:
- name: polkadot-service
bump: patch
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment