Skip to content

Commit

Permalink
Merge pull request #5039 from dzhengfy/case_auto_mem_nodeset_placement
Browse files Browse the repository at this point in the history
auto_memory_nodeset_placement: add case auto mem nodeset and placement
  • Loading branch information
dzhengfy authored Aug 15, 2023
2 parents 194baef + 85b755c commit 61479e5
Show file tree
Hide file tree
Showing 3 changed files with 667 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 61479e5

Please sign in to comment.