Skip to content

Commit

Permalink
auto_memory_nodeset_placement: add case auto mem nodeset and placement
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Zheng <[email protected]>
  • Loading branch information
dzhengfy committed Jul 19, 2023
1 parent eeb0872 commit b394227
Show file tree
Hide file tree
Showing 2 changed files with 519 additions and 0 deletions.
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}}
Loading

0 comments on commit b394227

Please sign in to comment.