My Oracle Support Banner

OCI : How To Disable HLE "Hardware Lock Elision" Using Clearcpuid (Doc ID 2799576.1)

Last updated on MAY 30, 2022

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 6.0 to Oracle Linux 8.4 [Release OL6 to OL8U4]
Linux x86-64


The customer wants to disable the HLE on OL due to a performance issue related to application migration.

# grep hle /proc/cpuinfo
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp
  lm constant_tsc arch_perfmon rep_good xtopology unfair_spinlock eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe
  popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat xsaveopt invpcid_single ssbd pti ibrs ibpb 
 stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f rdseed adx avx512cd md_clear


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.