From 54cda3ca9c3d404b5e0e9738cfa95e120d16e39f Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 22 Feb 2023 09:21:36 +1100 Subject: [PATCH] do_build: try higher -j numbers on zz1, I am seeing ~20% idle time while building --- do_build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/do_build b/do_build index b5dbde2..ac731b4 100755 --- a/do_build +++ b/do_build @@ -108,7 +108,7 @@ $cmd <<-EOF log_x86=\$d.log make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- O=\$d -s allmodconfig || exit 1 echo "Forking x86 build ..." - /usr/bin/time make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- O=\$d -j120 -O -s > \$log_x86 2>&1 & + /usr/bin/time make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- O=\$d -j140 -O -s > \$log_x86 2>&1 & x86_64_pid=\$! echo Building: perf @@ -118,7 +118,7 @@ $cmd <<-EOF # the -Wno-psabi is to suppress # note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5 # warnings until at least gcc 12 when the warning will be removed - /usr/bin/time make -C tools/perf -f Makefile.perf -s -O -j40 O=\$d EXTRA_CFLAGS=-Wno-psabi > \$log_perf 2>&1 + /usr/bin/time make -C tools/perf -f Makefile.perf -s -O -j60 O=\$d EXTRA_CFLAGS=-Wno-psabi > \$log_perf 2>&1 rc=\$? if [ \$rc -ne 0 ]; then @@ -139,7 +139,7 @@ $cmd <<-EOF [ -d \$d ] || mkdir \$d || exit 1 log_ppc=\$d.log make ARCH=powerpc O=\$d -s ppc64_defconfig || exit 1 - /usr/bin/time make ARCH=powerpc O=\$d -j40 -O -s > \$log_ppc 2>&1 + /usr/bin/time make ARCH=powerpc O=\$d -j60 -O -s > \$log_ppc 2>&1 rc=\$? if [ \$rc -ne 0 ]; then @@ -160,7 +160,7 @@ $cmd <<-EOF [ -d \$d ] || mkdir \$d || exit 1 log_arm=\$d.log make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- O=\$d -s multi_v7_defconfig || exit 1 - /usr/bin/time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- O=\$d -j40 -O -s > \$log_arm 2>&1 + /usr/bin/time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- O=\$d -j60 -O -s > \$log_arm 2>&1 rc=\$? if [ \$rc -ne 0 ]; then -- 2.39.5