Skip to content

Commit

Permalink
numa_various_numa_topology_settings: Enable test for aarch64
Browse files Browse the repository at this point in the history
Enable tests for aarch64 with the following changes:
  1. cpu model: aarch64 support host-passthrough
  2. target_hugepages: Reduce the number of huge pages to 32, because the default pagesize of aarc64 is 512M, creating
1024 hugepages requires a lot of free memory on the machine

Signed-off-by: Hu Shuai <[email protected]>
  • Loading branch information
hs0210 committed Jun 28, 2023
1 parent 91badd8 commit 1aa588d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
memory_backing = {'hugepages': {}}
qemu_monitor_option = '--hmp'
qemu_monitor_cmd = 'info memdev'
cpu_mode = 'host-model'
cpu_mode = 'host-model'
target_hugepages = 1024
aarch64:
cpu_mode = 'host-passthrough'
target_hugepages = 32
hugepage_size = 2048
numa_cell_0 = {'id': '0', 'memory': '1048576', 'cpus': '0-1'}
numa_cell_1 = {'id': '1', 'memory': '1048576', 'cpus': '2-3'}
Expand Down

0 comments on commit 1aa588d

Please sign in to comment.