Skip to content

Instantly share code, notes, and snippets.

@fenar
Created January 18, 2024 18:23
Show Gist options
  • Save fenar/d03ac6e43c9d42e4e87c1497327101ef to your computer and use it in GitHub Desktop.
Save fenar/d03ac6e43c9d42e4e87c1497327101ef to your computer and use it in GitHub Desktop.
SNO-HP-32Coresx2
---
apiVersion: tuned.openshift.io/v1
kind: Tuned
metadata:
name: sno-hugepages-patch
namespace: openshift-cluster-node-tuning-operator
spec:
profile:
- data: |
[main]
summary=Configuration changes profile inherited from performance created tuned
include=openshift-node-performance-sno-control-plane
[bootloader]
cmdline_crash=nohz_full=4-63,68-127
[sysctl]
kernel.timer_migration=1
[service]
service.stalld=start,enable
name: sno-hugepages-patch
recommend:
- machineConfigLabels:
machineconfiguration.openshift.io/role: "master"
priority: 30
profile: sno-hugepages-patch
---
apiVersion: performance.openshift.io/v2
kind: PerformanceProfile
metadata:
name: sno-control-plane
spec:
additionalKernelArgs:
- rcupdate.rcu_normal_after_boot=0
- efi=runtime
cpu:
isolated: '4-63,68-127'
reserved: '0-3,64-67'
hugepages:
defaultHugepagesSize: 2M
pages:
- count: 4096
node: 0
size: 2M
- count: 4096
node: 1
size: 2M
machineConfigPoolSelector:
pools.operator.machineconfiguration.openshift.io/master: ''
nodeSelector:
node-role.kubernetes.io/master: ''
numa:
topologyPolicy: restricted
realTimeKernel:
enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment