numam-spdk/test/setup
Michal Berger 3f674e1e29 test/setup: Perform custom alloc based on hugepages' size not quantity
512 and 1024 number of hugpages is not a sensible value in case 1G
hugepages are in use. Instead of setting fixed number of hugepages,
determine it safely based on the default size and allocate 1GB for
node0, 2GB for node1 (if present).

Fixes: #1954

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I850ba877332527a68ec4ddf7408fcc183835cda6
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8012
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2021-05-26 09:20:44 +00:00
..
acl.sh test/setup: fix failure in allowed() when there is only one device 2021-04-27 08:36:35 +00:00
common.sh test/setup: Make sure big enough drive is selected for the tests 2021-04-15 11:24:08 +00:00
devices.sh test/setup: Make sure big enough drive is selected for the tests 2021-04-15 11:24:08 +00:00
driver.sh test/setup: Check if correct driver is in use 2021-03-29 07:24:14 +00:00
hugepages.sh test/setup: Perform custom alloc based on hugepages' size not quantity 2021-05-26 09:20:44 +00:00
test-setup.sh test/setup: Add tests for different block devices' setups 2021-03-29 07:24:14 +00:00