polkadot-fellows / runtimes

The various runtimes which make up the core subsystems of networks for which the Fellowship is represented.
GNU General Public License v3.0
125 stars 72 forks source link

Weights for 1.2.5 - `coretime-kusama` + `kusama` fix for new prefixed with `polkadot_runtime_common` #343

Closed bkontur closed 3 weeks ago

bkontur commented 3 weeks ago

New weights for:

Kusama

subweight compare commits \

     --path-pattern "./relay/kusama/**/weights/**/*.rs" \
     --format markdown --no-color  \
     --change added changed removed  \
    --method asymptotic --ignore-errors  \
    --strip-path-prefix="relay/kusama/src/weights/" \
     remotes/polkadot-fellows/main \
     origin/bko-weights 
File Extrinsic Old New Change [%]
runtime_common_slots.rs trigger_onboard 326.14us Removed
runtime_common_slots.rs manage_lease_period_start 39.56ms Removed
runtime_common_slots.rs force_lease 277.82us Removed
runtime_common_slots.rs clear_all_leases 1.25ms Removed
runtime_common_paras_registrar.rs swap 1.11ms Removed
runtime_common_paras_registrar.rs set_current_head 1.06ms Removed
runtime_common_paras_registrar.rs schedule_code_upgrade 7.98ms Removed
runtime_common_paras_registrar.rs reserve 300.60us Removed
runtime_common_paras_registrar.rs register 6.99ms Removed
runtime_common_paras_registrar.rs force_register 7.03ms Removed
runtime_common_paras_registrar.rs deregister 602.09us Removed
runtime_common_identity_migrator.rs reap_identity 11.10ms Removed
runtime_common_identity_migrator.rs poke_deposit 490.74us Removed
runtime_common_crowdloan.rs withdraw 572.14us Removed
runtime_common_crowdloan.rs refund 289.48ms Removed
runtime_common_crowdloan.rs poke 172.16us Removed
runtime_common_crowdloan.rs on_initialize 38.28ms Removed
runtime_common_crowdloan.rs edit 148.97us Removed
runtime_common_crowdloan.rs dissolve 422.33us Removed
runtime_common_crowdloan.rs create 476.03us Removed
runtime_common_crowdloan.rs contribute 714.84us Removed
runtime_common_crowdloan.rs add_memo 181.07us Removed
runtime_common_claims.rs move_claim 835.43us Removed
runtime_common_claims.rs mint_claim 438.40us Removed
runtime_common_claims.rs claim_attest 999.94us Removed
runtime_common_claims.rs claim 997.60us Removed
runtime_common_claims.rs attest 1.01ms Removed
runtime_common_auctions.rs on_initialize 467.52ms Removed
runtime_common_auctions.rs new_auction 258.00us Removed
runtime_common_auctions.rs cancel_auction 464.80ms Removed
runtime_common_auctions.rs bid 669.29us Removed
polkadot_runtime_common_slots.rs trigger_onboard 354.19us Added
polkadot_runtime_common_slots.rs manage_lease_period_start 40.10ms Added
polkadot_runtime_common_slots.rs force_lease 284.94us Added
polkadot_runtime_common_slots.rs clear_all_leases 1.31ms Added
polkadot_runtime_common_paras_registrar.rs swap 1.16ms Added
polkadot_runtime_common_paras_registrar.rs set_current_head 949.51us Added
polkadot_runtime_common_paras_registrar.rs schedule_code_upgrade 8.09ms Added
polkadot_runtime_common_paras_registrar.rs reserve 307.34us Added
polkadot_runtime_common_paras_registrar.rs register 8.31ms Added
polkadot_runtime_common_paras_registrar.rs force_register 8.30ms Added
polkadot_runtime_common_paras_registrar.rs deregister 645.59us Added
polkadot_runtime_common_identity_migrator.rs reap_identity 11.15ms Added
polkadot_runtime_common_identity_migrator.rs poke_deposit 521.25us Added
polkadot_runtime_common_crowdloan.rs withdraw 620.27us Added
polkadot_runtime_common_crowdloan.rs refund 297.48ms Added
polkadot_runtime_common_crowdloan.rs poke 192.32us Added
polkadot_runtime_common_crowdloan.rs on_initialize 39.46ms Added
polkadot_runtime_common_crowdloan.rs edit 168.16us Added
polkadot_runtime_common_crowdloan.rs dissolve 446.87us Added
polkadot_runtime_common_crowdloan.rs create 511.90us Added
polkadot_runtime_common_crowdloan.rs contribute 788.83us Added
polkadot_runtime_common_crowdloan.rs add_memo 210.67us Added
polkadot_runtime_common_claims.rs move_claim 831.45us Added
polkadot_runtime_common_claims.rs mint_claim 437.42us Added
polkadot_runtime_common_claims.rs claim_attest 994.73us Added
polkadot_runtime_common_claims.rs claim 995.32us Added
polkadot_runtime_common_claims.rs attest 1.00ms Added
polkadot_runtime_common_auctions.rs on_initialize 469.60ms Added
polkadot_runtime_common_auctions.rs new_auction 259.51us Added
polkadot_runtime_common_auctions.rs cancel_auction 466.71ms Added
polkadot_runtime_common_auctions.rs bid 721.62us Added

Coretime Kusama

(threshold 5%)

subweight compare commits          --path-pattern "./system-parachains/coretime/coretime-kusama/**/weights/**/*.rs"          --format markdown --no-color           --change added changed removed          --method asymptotic --ignore-errors   --threshold=5       --strip-path-prefix="system-parachains/coretime/coretime-kusama/src/weights/"          remotes/polkadot-fellows/main          origin/bko-weights
File Extrinsic Old New Change [%]
xcm/pallet_xcm_benchmarks_generic.rs unpaid_execution 1.21us 4.56us +277.48
xcm/pallet_xcm_benchmarks_generic.rs trap 1.23us 4.56us +270.13
xcm/pallet_xcm_benchmarks_generic.rs expect_origin 1.27us 4.54us +258.61
xcm/pallet_xcm_benchmarks_generic.rs set_topic 1.28us 4.55us +254.64
xcm/pallet_xcm_benchmarks_generic.rs clear_origin 1.29us 4.58us +254.49
xcm/pallet_xcm_benchmarks_generic.rs expect_error 1.27us 4.51us +253.73
xcm/pallet_xcm_benchmarks_generic.rs buy_execution 1.33us 4.69us +251.57
xcm/pallet_xcm_benchmarks_generic.rs set_appendix 1.31us 4.60us +250.34
xcm/pallet_xcm_benchmarks_generic.rs clear_error 1.31us 4.59us +249.58
xcm/pallet_xcm_benchmarks_generic.rs clear_topic 1.32us 4.59us +246.94
xcm/pallet_xcm_benchmarks_generic.rs clear_transact_status 1.35us 4.67us +246.70
xcm/pallet_xcm_benchmarks_generic.rs set_error_handler 1.35us 4.61us +240.72
xcm/pallet_xcm_benchmarks_generic.rs set_fees_mode 1.36us 4.56us +235.29
xcm/pallet_xcm_benchmarks_generic.rs expect_asset 1.42us 4.75us +233.80
xcm/pallet_xcm_benchmarks_generic.rs descend_origin 1.41us 4.68us +231.21
xcm/pallet_xcm_benchmarks_generic.rs expect_transact_status 1.48us 4.79us +224.31
xcm/pallet_xcm_benchmarks_generic.rs burn_asset 1.71us 5.15us +201.35
xcm/pallet_xcm_benchmarks_generic.rs refund_surplus 1.98us 5.58us +181.39
xcm/pallet_xcm_benchmarks_fungible.rs receive_teleported_asset 2.77us 6.49us +134.08
xcm/pallet_xcm_benchmarks_generic.rs expect_pallet 3.68us 7.66us +108.27
xcm/pallet_xcm_benchmarks_generic.rs transact 6.70us 10.75us +60.40
pallet_timestamp.rs on_finalize 2.83us 3.87us +36.70
pallet_utility.rs as_derivative 3.86us 4.87us +26.13
pallet_utility.rs batch_all 2.81ms 3.51ms +24.90
pallet_utility.rs batch 2.61ms 3.25ms +24.36
pallet_utility.rs force_batch 2.62ms 3.25ms +24.36
cumulus_pallet_xcmp_queue.rs take_first_concatenated_xcm 6.15us 7.57us +23.11
pallet_utility.rs dispatch_as 5.83us 7.12us +22.06
pallet_broker.rs request_revenue_info_at 205.00ns 240.00ns +17.07
xcm/pallet_xcm_benchmarks_generic.rs query_response 31.55us 36.01us +14.15
frame_system.rs set_code 108.25ms 117.74ms +8.77
pallet_proxy.rs proxy 38.82us 42.05us +8.31
frame_system.rs apply_authorized_upgrade 113.38ms 120.10ms +5.93
pallet_xcm.rs claim_assets 159.57us 169.02us +5.92
pallet_xcm.rs take_response 149.12us 157.74us +5.78
xcm/pallet_xcm_benchmarks_fungible.rs withdraw_asset 152.81us 160.82us +5.24
pallet_broker.rs drop_history 306.44us 287.38us -6.22
pallet_broker.rs drop_renewal 216.29us 200.01us -7.53
frame_system.rs remark_with_event 7.31ms 6.48ms -11.39
frame_system.rs remark 1.56ms 1.38ms -11.53
pallet_broker.rs drop_contribution 310.90us 252.21us -18.88
pallet_xcm.rs execute 18446744.07s 11.10us -100.00
eskimor commented 3 weeks ago

Hei @bkontur! This looks pretty ready already :rocket: , what is missing for being reviewable?

bkontur commented 3 weeks ago

Hardware used - scaleway baremetal machine instead of previously used google cloud instance:

ubuntu@ggwpez-ref-hw:~$ ./target/production/polkadot --version
polkadot 1.7.2-0d7ca59fd4b

ubuntu@ggwpez-ref-hw:~$ ./target/production/polkadot benchmark machine
2024-06-06 14:56:31 Running machine benchmarks...    
2024-06-06 14:56:57 
+----------+----------------+-------------+-------------+-------------------+
| Category | Function       | Score       | Minimum     | Result            |
+===========================================================================+
| CPU      | BLAKE2-256     | 1.00 GiBs   | 783.27 MiBs | ✅ Pass (130.9 %) |
|----------+----------------+-------------+-------------+-------------------|
| CPU      | SR25519-Verify | 612.70 KiBs | 560.67 KiBs | ✅ Pass (109.3 %) |
|----------+----------------+-------------+-------------+-------------------|
| Memory   | Copy           | 12.90 GiBs  | 11.49 GiBs  | ✅ Pass (112.3 %) |
|----------+----------------+-------------+-------------+-------------------|
| Disk     | Seq Write      | 1.00 GiBs   | 950.00 MiBs | ✅ Pass (107.9 %) |
|----------+----------------+-------------+-------------+-------------------|
| Disk     | Rnd Write      | 429.14 MiBs | 420.00 MiBs | ✅ Pass (102.2 %) |
+----------+----------------+-------------+-------------+-------------------+
From 5 benchmarks in total, 5 passed and 0 failed (10% fault tolerance).    
2024-06-06 14:56:57 The hardware meets the requirements     
ubuntu@ggwpez-ref-hw:~$ for cpunum in $(cat /sys/devices/system/cpu/cpu*/topology/thread_siblings_list | cut -s -d, -f2- | tr ',' '\n' | sort -un)
do                                                                                                                        
  cat  /sys/devices/system/cpu/cpu$cpunum/online                                                                          
done                                                                                                                      
ubuntu@ggwpez-ref-hw:~$ cat /sys/devices/system/cpu/smt/active
0
ubuntu@ggwpez-ref-hw:~$ uname -a
Linux ggwpez-ref-hw 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ggwpez-ref-hw:~$ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         43 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  16
  On-line CPU(s) list:   0-7
  Off-line CPU(s) list:  8-15
Vendor ID:               AuthenticAMD
  Model name:            AMD EPYC 7232P 8-Core Processor
    CPU family:          23
    Model:               49
    Thread(s) per core:  1
    Core(s) per socket:  8
    Socket(s):           1
    Stepping:            0
    Frequency boost:     enabled
    CPU max MHz:         3100.0000
    CPU min MHz:         1500.0000
    BogoMIPS:            6200.46
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonst
                         op_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm s
                         se4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsb
                         ase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru 
                         wbnoinvd amd_ppin arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflo
                         w_recov succor smca sme sev sev_es
Virtualization features: 
  Virtualization:        AMD-V
Caches (sum of all):     
  L1d:                   256 KiB (8 instances)
  L1i:                   256 KiB (8 instances)
  L2:                    4 MiB (8 instances)
  L3:                    32 MiB (4 instances)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-7
Vulnerabilities:         
  Gather data sampling:  Not affected
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Retbleed:              Mitigation; untrained return thunk; SMT disabled
  Spec rstack overflow:  Mitigation; safe RET
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl and seccomp
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Retpolines, IBPB conditional, STIBP always-on, RSB filling, PBRSB-eIBRS Not affected
  Srbds:                 Not affected
  Tsx async abort:       Not affected
ubuntu@ggwpez-ref-hw:~$ grep MemTotal /proc/meminfo
MemTotal:       65705192 kB
ubuntu@ggwpez-ref-hw:~$ 
eskimor commented 3 weeks ago

/merge

fellowship-merge-bot[bot] commented 3 weeks ago

Enabled auto-merge in Pull Request

Available commands - `/merge`: Enables auto-merge for Pull Request - `/merge cancel`: Cancels auto-merge for Pull Request - `/merge help`: Shows this menu For more information see the [documentation](https://github.com/paritytech/auto-merge-bot)