diff --git a/autotest.sh b/autotest.sh index 3ca78a6a1..5f0d4f7ca 100755 --- a/autotest.sh +++ b/autotest.sh @@ -153,6 +153,11 @@ rdma_device_init timing_exit nvmf_setup if [[ $SPDK_TEST_CRYPTO -eq 1 || $SPDK_TEST_REDUCE -eq 1 ]]; then + # Make sure that memory is distributed across all NUMA nodes - by default, all goes to + # node0, but if QAT devices are attached to a different node, all of their VFs will end + # up under that node too and memory needs to be available there for the tests. + CLEAR_HUGE=yes HUGE_EVEN_ALLOC=yes ./scripts/setup.sh + ./scripts/setup.sh status if grep -q '#define SPDK_CONFIG_IGB_UIO_DRIVER 1' $rootdir/include/spdk/config.h; then ./scripts/qat_setup.sh igb_uio else