vswitchperf: Utilize more CPU cores during build 45/24845/3
authorMartin Klozik <martinx.klozik@intel.com>
Thu, 24 Nov 2016 09:08:37 +0000 (09:08 +0000)
committerMartin Klozik <martinx.klozik@intel.com>
Tue, 3 Jan 2017 09:48:24 +0000 (09:48 +0000)
Multiple CPU cores will be utilized during build of DPDK,
OVS and QEMU. It will speed up build significantly.
In case of VERIFY and MERGE jobs it can spare about 1/4
of time required for job execution.
Initial setup will use up to 10 cores for daily job,
which is executed on POD dedicated to vsperf project.
In case of VERIFY and MERGE jobs was number of cores
limited to 5 to evaluate impact on other jobs run
in parallel.

Change-Id: Ia0dc8f3d551c84ef2859f233c8442792e0b25c35
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/vswitchperf/vswitchperf.yml

index 0d2c67b..fe8ea53 100644 (file)
@@ -46,7 +46,7 @@
             pwd
             cd src
             make clobber
-            make
+            make MORE_MAKE_FLAGS="-j 10"
             # run basic sanity test
             make sanity
             cd ../ci
             pwd
             cd src
             make clobber
-            make
+            make MORE_MAKE_FLAGS="-j 5"
             # run basic sanity test
             make sanity
             cd ../ci
             pwd
             cd src
             make clobber
-            make
+            make MORE_MAKE_FLAGS="-j 5"
             cd ../ci
             ./build-vsperf.sh merge