test: set all coremasks to use 8 or fewer cores.
This will allow us to reduce core assignments for build pool vms to 8. Change-Id: Iba5f6beb387742df2c30b48e22be1961e82af0cf Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/403559 Reviewed-by: John Kariuki <John.K.Kariuki@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-on: https://review.gerrithub.io/408413 Tested-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
3bc1b71100
commit
5ac01ab53e
@ -13,7 +13,7 @@ run_step() {
|
||||
echo "--spdk_cache_size=$CACHE_SIZE" >> "$1"_flags.txt
|
||||
|
||||
echo -n Start $1 test phase...
|
||||
/usr/bin/time taskset 0xFFF $DB_BENCH --flagfile="$1"_flags.txt &> "$1"_db_bench.txt
|
||||
/usr/bin/time taskset 0xFF $DB_BENCH --flagfile="$1"_flags.txt &> "$1"_db_bench.txt
|
||||
echo done.
|
||||
}
|
||||
|
||||
|
@ -140,9 +140,9 @@ run_step() {
|
||||
echo -n Start $1 test phase...
|
||||
if [ "$USE_PERF" = "1" ]
|
||||
then
|
||||
sudo /usr/bin/time taskset 0xFFF perf record $DB_BENCH --flagfile="$1"_flags.txt &> "$1"_db_bench.txt
|
||||
sudo /usr/bin/time taskset 0xFF perf record $DB_BENCH --flagfile="$1"_flags.txt &> "$1"_db_bench.txt
|
||||
else
|
||||
sudo /usr/bin/time taskset 0xFFF $DB_BENCH --flagfile="$1"_flags.txt &> "$1"_db_bench.txt
|
||||
sudo /usr/bin/time taskset 0xFF $DB_BENCH --flagfile="$1"_flags.txt &> "$1"_db_bench.txt
|
||||
fi
|
||||
echo done.
|
||||
|
||||
|
@ -13,5 +13,5 @@ if [ -z "$ISCSI_APP" ]; then
|
||||
fi
|
||||
|
||||
if [ -z "$ISCSI_TEST_CORE_MASK" ]; then
|
||||
ISCSI_TEST_CORE_MASK=0xFFFF
|
||||
ISCSI_TEST_CORE_MASK=0xFF
|
||||
fi
|
||||
|
@ -9,7 +9,7 @@ if [ -z "$NVMF_APP" ]; then
|
||||
fi
|
||||
|
||||
if [ -z "$NVMF_TEST_CORE_MASK" ]; then
|
||||
NVMF_TEST_CORE_MASK=0xFFFF
|
||||
NVMF_TEST_CORE_MASK=0xFF
|
||||
fi
|
||||
|
||||
function load_ib_rdma_modules()
|
||||
|
Loading…
Reference in New Issue
Block a user