How to enable hyperthreading in Openshift after installation
Issue
- Hyperthreading is disabled during Openshift installation, how to enable hyperthreading in Openshift after installation?
$ cat install-config.yaml
apiVersion: v1
baseDomain: example.com
compute:
- hyperthreading: Disabled
name: worker
replicas: 0
controlPlane:
hyperthreading: Disabled
name: master
replicas: 3
$ oc get mc
99-master-disable-hyperthreading 3.1.0 10h
99-worker-disable-hyperthreading 3.1.0 10h
[core@worker02 ~]# cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt1)/ostree/rhcos-8531b9a3611a5ad880a2479e1cf8b720a1a72d49e05aad05ca15fa8ac553353d/vmlinuz-4.18.0-193.29.1.el8_2.x86_64 rhcos.root=crypt_rootfs random.trust_cpu=on console=tty0 console=ttyS0,115200n8 ignition.platform.id=metal rd.luks.options=discard ostree=/ostree/boot.0/rhcos/8531b9a3611a5ad880a2479e1cf8b720a1a72d49e05aad05ca15fa8ac553353d/0 nosmt
Environment
- OpenShift Container Platform 4.6
- OpenShift Container Platform 4.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.