Spdk/test
Tomasz Zawadzki 84fa73eb5c test/scheduler: wait for scheduler after thread creation in busy()
All other tests wait for scheduling to occur before verifying
the results. Even for 100% busy threads, they are first
round robined between cores.

In some edge cases, if threads are created right at the
end of the scheduling period - they will be 100% busy.
Yet due to low busy_tsc it will be deemed that two of such threads
can be placed on single core. To prevent that a few
full scheduling periods have to be observed.

Thus added sleep for 10 scheduling periods before verifying
the results, similar to other test cases in this file.

While here increased the sleep time between samples to
match the scheduling period. With 1 sec default scheduling period,
no change would occur between two 0.5 sec samples.

Fixes #2140

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I5abf3bc04c6f65f4faae2bcd3e6828be72f97311
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9387
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
2022-06-20 09:56:09 +00:00
..
accel_engine accel: add ISAL based compress/decompress to accel SW module 2022-05-23 19:10:46 +00:00
app llvm: Using typecast for consisting 32b/16b. 2022-06-14 09:18:19 +00:00
bdev Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
blobfs Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
blobstore blob: blobcli should use hex for blob IDs 2022-02-01 20:05:13 +00:00
common pkgdep/rhel: install missing sshpass package 2022-06-14 09:17:45 +00:00
compress bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
cpp_headers Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
dd test/dd: Simple tests utilizing uring RPCs 2021-12-20 08:46:13 +00:00
dma Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
dpdk_memory_utility check_format: Ignore shellcheck's SC2128 and SC2178 directives 2021-06-30 22:43:05 +00:00
env test: add ENV_CFLAGS after includes 2022-06-10 07:56:02 +00:00
event Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
external_code Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
ftl autotest: Skip use of any zoned nvme devices 2021-12-06 08:34:46 +00:00
fuzz nvme_fuzz: pass trid on command line only 2021-09-27 10:55:34 +00:00
interrupt scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt hello_sock: Add cli params to enable/disable zcopy 2022-05-04 08:03:39 +00:00
json_config bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
lvol bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
make test: ignore spdk_nvme_power_state ABI changes 2022-06-07 20:19:13 +00:00
nvme test: optimize the print statements in aer test 2022-06-15 08:11:10 +00:00
nvmf test/multipath: Use variable instead of fixed IP value 2022-06-15 11:19:20 +00:00
ocf bdev: remove support for deprecated RPC names 2022-05-09 23:03:02 +00:00
openstack test/openstack: restart whole devstack before tests 2021-12-23 08:36:21 +00:00
pmem bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
rpc scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
rpc_client Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler test/scheduler: wait for scheduler after thread creation in busy() 2022-06-20 09:56:09 +00:00
setup scripts/setup: Skip devices which have any valid data present 2022-04-06 07:21:17 +00:00
sma test/sma: add vhost tests on qemu vm 2022-05-20 09:16:54 +00:00
spdkcli event/vhost: separate vhost subsystem to scsi and blk 2022-05-20 09:20:07 +00:00
thread Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
unit bdev/nvme: replace nn with mnan in ana_log size calculation 2022-06-15 08:10:48 +00:00
vfio_user test/vfio_user: Remove subsystem listener while VM is connected, issue #2246 autotest. 2022-02-18 00:00:22 +00:00
vhost bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
vmd test: replace VMD_WHITELIST with VMD_ALLOWED 2020-12-03 09:41:07 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
spdk_cunit.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00