• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Linux Patch Boosts Intel 5th Generation Xeon "Emerald Rapids" Performance by up to 38%, up to 18% Less Power

AleksandarK

News Editor
Staff member
Joined
Aug 19, 2017
Messages
2,644 (0.99/day)
Intel's 5th generation Xeon Scalable processors codenamed Emerald Rapids, have been shipping since late 2023 and are installed at numerous servers today. However, Emerald Rapids appears to possess more performance and efficiency tricks than it initially revealed at launch. According to the report from Phoronix, reporting on a Linux kernel patch sent to the Linux Kernel Mailing List (LKML), there is a chance for up to 38% performance increase while using up to 18% less power on all Intel 5th generation Xeon machines. Thanks to Canonical (maker of Ubuntu Linux) engineer Pedro Henrique Kopper, who explained the patch on the LKML, we found out that changing a single line of code yielded this massive increase.

Ubuntu Linux, as well as many other distributions, ship with Energy Performance Preference (EPP) for Emerald Rapids with a "balance_performance" value of 128. However, changing the value to 32 now yields a massive performance improvement alongside using less power. The EPP "balance_performance" is the default out-of-the-box setting for many Linux distributions. Users manually setting the "performance" mode in the EPP are not expecting any increase from this patch, as the "balance_performance" mode had issues balancing power and efficiency. Introducing this new setting yields more performance for machines that run at default settings, and this is especially important for data centers where the need for lower power and increased performance is constantly surging. Especially at hyperscalers like Amazon, Google, and Meta, which may run tens of thousands of these CPUs at default settings to keep them stable and well-cooled, who can now enjoy a massive performance increase with less power consumed.



Below, you can see the patch quote as well as more performance/power measurements.


On Intel Emerald Rapids machines, we ship the Energy Performance Preference (EPP) default for balance_performance as 128. However, during an internal investigation together with Intel, we have determined that 32 is a more suitable value. This leads to significant improvements in both performance and energy:

POV-Ray: 32% faster | 12% less energy
OpenSSL: 12% faster | energy within 1%
Build Linux Kernel: 29% faster | 18% less energy

Therefore, we should move the default EPP for balance_performance to 32. This is in line with what has already been done for Sapphire Rapids.

View at TechPowerUp Main Site | Source
 
Joined
Aug 7, 2023
Messages
28 (0.06/day)
System Name SigmaMATER
Processor Ryzen 7 5800x3d
Motherboard x570 Aorus Master
Cooling Arctic Freezer iii 420
Memory Corsair Dominator Platinum 32gb 3600mz c15
Video Card(s) Rx 7900 xtx
Storage Crucial P5 plus 2tb, Crucial MX500 2tb, Seagate 2tb SSHD, Western Digital 10tb Ultrastar 2x
Display(s) Predator x27 and some lenovo and some other one
Case Corsair 7000D
Power Supply Evga 1600 p2
Mouse Logitech G Pro Wireless
Keyboard Evga z20
Software Windows 11 Enterprise
These gonna kill themselves as well
 
Joined
Feb 11, 2009
Messages
5,569 (0.96/day)
System Name Cyberline
Processor Intel Core i7 2600k -> 12600k
Motherboard Asus P8P67 LE Rev 3.0 -> Gigabyte Z690 Auros Elite DDR4
Cooling Tuniq Tower 120 -> Custom Watercoolingloop
Memory Corsair (4x2) 8gb 1600mhz -> Crucial (8x2) 16gb 3600mhz
Video Card(s) AMD RX480 -> RX7800XT
Storage Samsung 750 Evo 250gb SSD + WD 1tb x 2 + WD 2tb -> 2tb MVMe SSD
Display(s) Philips 32inch LPF5605H (television) -> Dell S3220DGF
Case antec 600 -> Thermaltake Tenor HTCP case
Audio Device(s) Focusrite 2i4 (USB)
Power Supply Seasonic 620watt 80+ Platinum
Mouse Elecom EX-G
Keyboard Rapoo V700
Software Windows 10 Pro 64bit
I mean that is excellent, but, I think with improvements that large it was probably just really poorly setup before.
Bit like this massive 500% gains via a driver update with Intel Arc in the past.
 
Joined
Apr 19, 2018
Messages
1,227 (0.50/day)
Processor AMD Ryzen 9 5950X
Motherboard Asus ROG Crosshair VIII Hero WiFi
Cooling Arctic Liquid Freezer II 420
Memory 32Gb G-Skill Trident Z Neo @3806MHz C14
Video Card(s) MSI GeForce RTX2070
Storage Seagate FireCuda 530 1TB
Display(s) Samsung G9 49" Curved Ultrawide
Case Cooler Master Cosmos
Audio Device(s) O2 USB Headphone AMP
Power Supply Corsair HX850i
Mouse Logitech G502
Keyboard Cherry MX
Software Windows 11
It amazes me that Intel themselves didn't see this... But we all know they are not what they used to be.
 
Joined
May 3, 2019
Messages
2,131 (1.04/day)
System Name BigRed
Processor I7 12700k
Motherboard Asus Rog Strix z690-A WiFi D4
Cooling Noctua D15S chromax black/MX6
Memory TEAM GROUP 32GB DDR4 4000C16 B die
Video Card(s) MSI RTX 3080 Gaming Trio X 10GB
Storage M.2 drives WD SN850X 1TB 4x4 BOOT/WD SN850X 4TB 4x4 STEAM/USB3 4TB OTHER
Display(s) Dell s3422dwg 34" 3440x1440p 144hz ultrawide
Case Corsair 7000D
Audio Device(s) Logitech Z5450/KEF uniQ speakers/Bowers and Wilkins P7 Headphones
Power Supply Corsair RM850x 80% gold
Mouse Logitech G604 lightspeed wireless
Keyboard Logitech G915 TKL lightspeed wireless
Software Windows 10 Pro X64
Benchmark Scores Who cares
Changing a single line of code yielded this massive increase.

Someone made a booboo :laugh:

But nice increase in performance, and nice decrease in power use.
 
Joined
Oct 22, 2014
Messages
14,163 (3.82/day)
Location
Sunshine Coast
System Name H7 Flow 2024
Processor AMD 5800X3D
Motherboard Asus X570 Tough Gaming
Cooling Custom liquid
Memory 32 GB DDR4
Video Card(s) Intel ARC A750
Storage Crucial P5 Plus 2TB.
Display(s) AOC 24" Freesync 1m.s. 75Hz
Mouse Lenovo
Keyboard Eweadn Mechanical
Software W11 Pro 64 bit
Joined
Jan 3, 2021
Messages
3,588 (2.48/day)
Location
Slovenia
Processor i5-6600K
Motherboard Asus Z170A
Cooling some cheap Cooler Master Hyper 103 or similar
Memory 16GB DDR4-2400
Video Card(s) IGP
Storage Samsung 850 EVO 250GB
Display(s) 2x Oldell 24" 1920x1200
Case Bitfenix Nova white windowless non-mesh
Audio Device(s) E-mu 1212m PCI
Power Supply Seasonic G-360
Mouse Logitech Marble trackball, never had a mouse
Keyboard Key Tronic KT2000, no Win key because 1994
Software Oldwin
It amazes me that Intel themselves didn't see this... But we all know they are not what they used to be.
Any company that deploys megawatts upon megawatts of silicon does an immense amount of validation, they have probably already found and optimised the non-optimum settings for themselves.
 
Joined
Apr 19, 2018
Messages
1,227 (0.50/day)
Processor AMD Ryzen 9 5950X
Motherboard Asus ROG Crosshair VIII Hero WiFi
Cooling Arctic Liquid Freezer II 420
Memory 32Gb G-Skill Trident Z Neo @3806MHz C14
Video Card(s) MSI GeForce RTX2070
Storage Seagate FireCuda 530 1TB
Display(s) Samsung G9 49" Curved Ultrawide
Case Cooler Master Cosmos
Audio Device(s) O2 USB Headphone AMP
Power Supply Corsair HX850i
Mouse Logitech G502
Keyboard Cherry MX
Software Windows 11
Any company that deploys megawatts upon megawatts of silicon does an immense amount of validation, they have probably already found and optimised the non-optimum settings for themselves.
Selfish that they didn't share the fix then. I thought that was Linux was supposed to be all about?
 
Joined
Aug 10, 2020
Messages
335 (0.21/day)
Unfortunately this is buried deep within the kernel, so most distros won't even have it updated for a while. It won't be out until a future kernel 6.11 rev, or possibly not until 6.12. Update your kernels people.

I noticed Alder Lake is still set at EPP 102, I wonder if someone has checked all of these. Intel should be jumping on this, their chips have been known for poor efficiency for years they should be on top of this.
 
Joined
Nov 13, 2007
Messages
10,827 (1.73/day)
Location
Austin Texas
System Name stress-less
Processor 9800X3D @ 5.42GHZ
Motherboard MSI PRO B650M-A Wifi
Cooling Thermalright Phantom Spirit EVO
Memory 64GB DDR5 6400 1:1 CL30-36-36-76 FCLK 2200
Video Card(s) RTX 4090 FE
Storage 2TB WD SN850, 4TB WD SN850X
Display(s) Alienware 32" 4k 240hz OLED
Case Jonsbo Z20
Audio Device(s) Yes
Power Supply Corsair SF750
Mouse DeathadderV2 X Hyperspeed
Keyboard 65% HE Keyboard
Software Windows 11
Benchmark Scores They're pretty good, nothing crazy.
linux power management is to this day the reason why linux laptops are not a thing.
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
27,065 (3.83/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) 49" Philips Evnia OLED (49M2C8900)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Gunnr
Power Supply Seasonic Prime TX-1600
Mouse Razer Viper mini signature edition (mercury white)
Keyboard Monsgeek M3 Lavender, Moondrop Luna lights
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
Selfish that they didn't share the fix then. I thought that was Linux was supposed to be all about?
They actually did. That epp value was already set for sapphire rapids.
 
Joined
Mar 16, 2017
Messages
2,154 (0.76/day)
Location
Tanagra
System Name Budget Box
Processor Xeon E5-2667v2
Motherboard ASUS P9X79 Pro
Cooling Some cheap tower cooler, I dunno
Memory 32GB 1866-DDR3 ECC
Video Card(s) XFX RX 5600XT
Storage WD NVME 1GB
Display(s) ASUS Pro Art 27"
Case Antec P7 Neo
linux power management is to this day the reason why linux laptops are not a thing.
But is that because of Linux PM or x86? Android has a Linux kernel, as do many other things, but they don't use x86. I'm curious to see how Linux behaves on snapdragon laptops, as that's probably the best way to find out.
 
Joined
Nov 13, 2007
Messages
10,827 (1.73/day)
Location
Austin Texas
System Name stress-less
Processor 9800X3D @ 5.42GHZ
Motherboard MSI PRO B650M-A Wifi
Cooling Thermalright Phantom Spirit EVO
Memory 64GB DDR5 6400 1:1 CL30-36-36-76 FCLK 2200
Video Card(s) RTX 4090 FE
Storage 2TB WD SN850, 4TB WD SN850X
Display(s) Alienware 32" 4k 240hz OLED
Case Jonsbo Z20
Audio Device(s) Yes
Power Supply Corsair SF750
Mouse DeathadderV2 X Hyperspeed
Keyboard 65% HE Keyboard
Software Windows 11
Benchmark Scores They're pretty good, nothing crazy.
But is that because of Linux PM or x86? Android has a Linux kernel, as do many other things, but they don't use x86. I'm curious to see how Linux behaves on snapdragon laptops, as that's probably the best way to find out.
Considering there's not even a stable release out for them yet despite long-running ARM support on the kernel, I don't imagine it will be good. I know theres a bunch of teams working on it now. Someone on youtube compiled a beta kernel for them a few weeks agoa to run some benchies, but I havent heard anything since.
 
Joined
May 13, 2010
Messages
6,080 (1.14/day)
System Name RemixedBeast-NX
Processor Intel Xeon E5-2690 @ 2.9Ghz (8C/16T)
Motherboard Dell Inc. 08HPGT (CPU 1)
Cooling Dell Standard
Memory 24GB ECC
Video Card(s) Gigabyte Nvidia RTX2060 6GB
Storage 2TB Samsung 860 EVO SSD//2TB WD Black HDD
Display(s) Samsung SyncMaster P2350 23in @ 1920x1080 + Dell E2013H 20 in @1600x900
Case Dell Precision T3600 Chassis
Audio Device(s) Beyerdynamic DT770 Pro 80 // Fiio E7 Amp/DAC
Power Supply 630w Dell T3600 PSU
Mouse Logitech G700s/G502
Keyboard Logitech K740
Software Linux Mint 20
Benchmark Scores Network: APs: Cisco Meraki MR32, Ubiquiti Unifi AP-AC-LR and Lite Router/Sw:Meraki MX64 MS220-8P
linux power management is to this day the reason why linux laptops are not a thing.
just for suspend/standby there's a command line fix I'll update the post when I find it.

The rest you can just change CPU governor like this

I got it set to this most of the time... and sometimes put on powersave when I am on battery but a lot of the time this is plugged in...

Screenshot from 2024-08-05 09-12-13.png
 
Joined
Nov 13, 2007
Messages
10,827 (1.73/day)
Location
Austin Texas
System Name stress-less
Processor 9800X3D @ 5.42GHZ
Motherboard MSI PRO B650M-A Wifi
Cooling Thermalright Phantom Spirit EVO
Memory 64GB DDR5 6400 1:1 CL30-36-36-76 FCLK 2200
Video Card(s) RTX 4090 FE
Storage 2TB WD SN850, 4TB WD SN850X
Display(s) Alienware 32" 4k 240hz OLED
Case Jonsbo Z20
Audio Device(s) Yes
Power Supply Corsair SF750
Mouse DeathadderV2 X Hyperspeed
Keyboard 65% HE Keyboard
Software Windows 11
Benchmark Scores They're pretty good, nothing crazy.
just for suspend/standby there's a command line fix I'll update the post when I find it.

The rest you can just change CPU governor like this

I got it set to this most of the time... and sometimes put on powersave when I am on battery but a lot of the time this is plugged in...

View attachment 357609
Not just - getting the battery calibrated, and the percentage to display correctly, getting the power settings dialed in through TLP, god help you if your manufacturer didn't make a custom ACPI module - because your laptop will just straight turn off when it thinks it has 30% battery remaining. Suspend and standby... just pain all around - not surprising to see it takes a bunch of expertise and special settings on the server side.

Windows Server you can kind of just roll your face on the keyboard during setup and get the consistent mediocre performance we know and love.
 
Last edited:
Joined
Sep 13, 2020
Messages
154 (0.10/day)
Not just - getting the battery calibrated, and the percentage to display correctly, getting the power settings dialed in through TLP, god help you if your manufacturer didn't make a custom ACPI module - because your laptop will just straight turn off when it thinks it has 30% battery remaining. Suspend and standby... just pain all around - not surprising to see it takes a bunch of expertise and special settings on the server side.

Windows Server you can kind of just roll your face on the keyboard during setup and get the consistent mediocre performance we know and love.
best comment.
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
27,065 (3.83/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) 49" Philips Evnia OLED (49M2C8900)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Gunnr
Power Supply Seasonic Prime TX-1600
Mouse Razer Viper mini signature edition (mercury white)
Keyboard Monsgeek M3 Lavender, Moondrop Luna lights
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
Translation: Ubuntu cripples performance with their default settings.

Linux kernel patch sent to the Linux Kernel Mailing List

Ubuntu Linux, as well as many other distributions

Phoronix said:
However, during an internal investigation together with Intel, we have determined that 32 is a more suitable value.

You mean when Ubuntu fixed it by sending a patch to the KERNEL. Lets try not to spread so much FUD.
 
Top