From 4f2fe80186bd082149f6d064e9a787bab35149ff Mon Sep 17 00:00:00 2001 From: Roman Maslennikov Date: Mon, 27 May 2024 14:05:51 +0400 Subject: [PATCH] tasket 2,4 --- scripts/benchmarking/run_all_benchmarks.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/benchmarking/run_all_benchmarks.sh b/scripts/benchmarking/run_all_benchmarks.sh index 77d7267939d..a5c90c18e0a 100755 --- a/scripts/benchmarking/run_all_benchmarks.sh +++ b/scripts/benchmarking/run_all_benchmarks.sh @@ -165,17 +165,17 @@ for PALLET in "${PALLETS[@]}"; do echo "[-] Failed to benchmark $PALLET. Error written to $ERR_FILE; continuing..." fi - echo "[+] Benchmarking $PALLET 3-8 with weight file $WEIGHT_FILE"; + echo "[+] Benchmarking $PALLET 3-4 with weight file $WEIGHT_FILE"; OUTPUT=$( - taskset -c 3-8 $GEAR benchmark pallet \ + taskset -c 3-4 $GEAR benchmark pallet \ --chain="$chain_spec" \ --steps=$BENCHMARK_STEPS \ --repeat=$BENCHMARK_REPEAT \ --pallet="$PALLET" \ --extrinsic="$(IFS=, ; echo "${EXTRINSICS[*]}")" \ --heap-pages=4096 \ - --output="./${WEIGHTS_OUTPUT}/${PALLET}_6_cores.json" \ + --output="./${WEIGHTS_OUTPUT}/${PALLET}_2_cores.json" \ --template=.maintain/dump_weights.hbs 2>&1 ) @@ -184,17 +184,17 @@ for PALLET in "${PALLETS[@]}"; do echo "[-] Failed to benchmark $PALLET. Error written to $ERR_FILE; continuing..." fi - echo "[+] Benchmarking $PALLET 3-10 with weight file $WEIGHT_FILE"; + echo "[+] Benchmarking $PALLET 3-6 with weight file $WEIGHT_FILE"; OUTPUT=$( - taskset -c 3-10 $GEAR benchmark pallet \ + taskset -c 3-6 $GEAR benchmark pallet \ --chain="$chain_spec" \ --steps=$BENCHMARK_STEPS \ --repeat=$BENCHMARK_REPEAT \ --pallet="$PALLET" \ --extrinsic="$(IFS=, ; echo "${EXTRINSICS[*]}")" \ --heap-pages=4096 \ - --output="./${WEIGHTS_OUTPUT}/${PALLET}_8_cores.json" \ + --output="./${WEIGHTS_OUTPUT}/${PALLET}_4_cores.json" \ --template=.maintain/dump_weights.hbs 2>&1 )