hs-test: CPU allocation improvements 70/40970/13
authorAdrian Villin <[email protected]>
Mon, 17 Jun 2024 06:51:27 +0000 (08:51 +0200)
committerDave Wallace <[email protected]>
Mon, 8 Jul 2024 16:27:38 +0000 (16:27 +0000)
commit5d171ebdc21efa4085e2c2130f595d7e0e1d2f59
tree9b1e967d20e8c83f9780d5a76579db0edd3c5373
parent75e8e1e948da182dbf4f6b3394f1b7fc44c1403a
hs-test: CPU allocation improvements

- Release build runs on numa node0, debug on node1.
  Using the last digit of a build number to reserve 4 cores per test
  mmeans we can run 20 jobs (10 release, 10 debug) on the same machine,
  assuming we have 111 cores available (not counting core 0).
  Can be increased if needed, there are still some cores left.
- Added separate numa aware cpu allocation
- Added CPU0=true|false (useful for users with 4c/8t)

Type: test

Change-Id: Iba8e492a4e01a7f457e49112303887a2a27f6af9
Signed-off-by: Adrian Villin <[email protected]>
extras/hs-test/Makefile
extras/hs-test/framework_test.go
extras/hs-test/hs_test.sh
extras/hs-test/infra/cpu.go
extras/hs-test/infra/hst_suite.go