-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5039 from dzhengfy/case_auto_mem_nodeset_placement
auto_memory_nodeset_placement: add case auto mem nodeset and placement
- Loading branch information
Showing
3 changed files
with
667 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
libvirt/tests/cfg/numa/guest_numa_node_tuning/auto_memory_nodeset_placement.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
- guest_numa_node_tuning.auto_memory_nodeset_placement: | ||
type = auto_memory_nodeset_placement | ||
take_regular_screendumps = no | ||
start_vm = "no" | ||
libvirtd_debug_level = '1' | ||
cpu_mode = 'host-model' | ||
aarch64: | ||
cpu_mode = 'host-pathrough' | ||
variants vcpu_placement: | ||
- vcpu_auto: | ||
vcpu_attrs = "'placement': 'auto', 'vcpu': 4" | ||
- vcpu_static: | ||
vcpu_attrs = "'placement': 'static', 'cpuset': '0,1,2,3', 'vcpu': 4" | ||
variants memory_binding_mode: | ||
- mem_mode_none: | ||
no nodeset_defined | ||
mem_mode = 'none' | ||
- mem_mode_strict: | ||
mem_mode = 'strict' | ||
- mem_mode_interleave: | ||
mem_mode = 'interleave' | ||
- mem_mode_preferred: | ||
mem_mode = 'preferred' | ||
- mem_mode_restrictive: | ||
mem_mode = 'restrictive' | ||
variants memory_binding_nodeset: | ||
- nodeset_defined: | ||
single_host_node = yes | ||
- nodeset_undefined: | ||
variants iothread: | ||
- without_iothread: | ||
iothreads = "" | ||
- with_iothread: | ||
iothreads = "'iothreads': 2" | ||
numa_memory = {'mode': '${mem_mode}'} | ||
vm_attrs = {${vcpu_attrs}, 'cpu': {'mode': '${cpu_mode}'}, ${iothreads}} |
Oops, something went wrong.