Intel Linux Kernel Optimizations Show Huge Benefit For High Core Count Servers

Written by Michael Larabel in Software on 29 March 2023 at 01:00 PM EDT. Page 4 of 5. 19 Comments.
MariaDB benchmark with settings of Clients: 512. Clear Linux: 240 Threads was the fastest.

With the MariaDB MySQL server there is a very clear difference in behavior between Clear Linux's optimizations and stock Ubuntu 23.04 when running at 15+ threads. As with all these benchmarks, the same benchmark/software configuration was used across testing and we see Clear Linux coping much better at 30+ threads than with Ubuntu. Intel's optimizations around kernel locking contention and other tuning is paying off big time for the out-of-the-box Linux performance.

PostgreSQL benchmark with settings of Scaling Factor: 1000, Clients: 250, Mode: Read Only. Clear Linux: 60 Threads was the fastest.
PostgreSQL benchmark with settings of Scaling Factor: 1000, Clients: 250, Mode: Read Only, Average Latency. Clear Linux: 60 Threads was the fastest.

The poor database performance at high thread counts outside of Intel's tuned environment was less of an issue for PostgreSQL but did still show much greater performance on Clear Linux than Ubuntu at 120+ threads.

PostgreSQL benchmark with settings of Scaling Factor: 1000, Clients: 250, Mode: Read Write. Clear Linux: 60 Threads was the fastest.
PostgreSQL benchmark with settings of Scaling Factor: 1000, Clients: 250, Mode: Read Write, Average Latency. Clear Linux: 60 Threads was the fastest.
PostgreSQL benchmark with settings of Scaling Factor: 1000, Clients: 800, Mode: Read Write. Clear Linux: 60 Threads was the fastest.
PostgreSQL benchmark with settings of Scaling Factor: 1000, Clients: 800, Mode: Read Write, Average Latency. Clear Linux: 60 Threads was the fastest.

I certainly hope that Intel will soon be able to get most of their optimization work upstreamed into the mainline Linux kernel for the benefit of all distributions.


Related Articles