{"id":281940,"date":"2026-06-25T12:22:00","date_gmt":"2026-06-25T16:22:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/06\/25\/cache-aware-scheduling-the-linux-patch-aiming-for-360-performance-on-mysql\/"},"modified":"2026-06-25T18:35:36","modified_gmt":"2026-06-25T22:35:36","slug":"cache-aware-scheduling-the-linux-patch-aiming-for-360-performance-on-mysql","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/06\/25\/cache-aware-scheduling-the-linux-patch-aiming-for-360-performance-on-mysql\/","title":{"rendered":"Cache-aware scheduling &#8211; The Linux patch aiming for +360% performance on MySQL"},"content":{"rendered":"<p><a href=\"https:\/\/korben.info\/en\/cache-aware-scheduling-linux-patch-mysql-performance.html\">Cache-aware scheduling &#8211; The Linux patch aiming for +360% performance on MySQL<\/a><\/p>\n<p><a href=\"https:\/\/korben.info\/en\/cache-aware-scheduling-linux-patch-mysql-performance.html\">https:\/\/korben.info\/en\/cache-aware-scheduling-linux-patch-mysql-performance.html<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-06-25 12:22:00<\/a><\/p>\n<p>Source Domain: <a href=\"korben.info\">korben.info<\/a><\/p>\n<p>The<br \/>\nLinux kernel scheduler <span class=\"lang-tag-fr\">[FR]<\/span><br \/>\nhas just received a proposed update that delivers some pretty spectacular performance gains on certain workloads. Hygon, the Chinese chip maker that manufactures x86 processors under license from AMD&#8217;s Zen architecture, has sent a series of patches to extend cache-aware scheduling, and the announced numbers climb as high as 360% improvement in transactions per second on MySQL.<\/p>\n<p>To understand what&#8217;s going on, we need to go back to basic<br \/>\ncache-aware scheduling<br \/>\n, the famous CAS, designed by Intel engineers (Tim Chen, Chen Yu, and Peter Zijlstra) and just merged into Linux 7.2. On a modern CPU with multiple last-level caches, the famous LLC, the scheduler tries to group tasks that share data onto the same cache domain. The result: fewer cache misses, less data bouncing between caches, and therefore better performance without touching the hardware &#8211; just by placing tasks more intelligently.<\/p>\n<p>The catch is that this basic CAS only thinks in terms of a single LLC. As long as your workload fits within one cache domain, great. But the moment the workload exceeds what a single shared cache can hold, the scheduler has no way to group tasks at the level above: they spread across cores that no longer share the same cache, and all locality goes out the window. That&#8217;s a problem for Hygon, whose recent chips aren&#8217;t a single monolithic block but an assembly of chiplets (the C86-7490 brings together four of them), with multiple shared caches scattered across the die.<\/p>\n<p>Hence the idea behind these patches, which enable hierarchical grouping and offer the ability to expand or contract dynamically depending on workload size and the machine&#8217;s topology.<\/p>\n<p>Hygon is therefore claiming up to +49% on<br \/>\nHackbench<br \/>\n, +20% on<br \/>\nSchbench<br \/>\n(no, not the rapper), and that famous +360% on MySQL!! That&#8217;s insane!<\/p>\n<p>Now, before you sell your PC to grab a Hygon-powered one, hold on! These numbers are &#8220;up to&#8221; figures, measured on multi-domain topologies &#8211; meaning typically large servers&#8230;<\/p>\n<p><a href=\"https:\/\/korben.info\/en\/cache-aware-scheduling-linux-patch-mysql-performance.html\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cache-aware scheduling &#8211; The Linux patch aiming for +360% performance on MySQL https:\/\/korben.info\/en\/cache-aware-scheduling-linux-patch-mysql-performance.html Publish Date:&#8230;<\/p>\n","protected":false},"author":1,"featured_media":281942,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/korben.info\/cache-aware-scheduling-linux-hygon\/cache-aware-scheduling-linux-hygon-1.png","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71],"class_list":["post-281940","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/281940"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=281940"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/281940\/revisions"}],"predecessor-version":[{"id":281943,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/281940\/revisions\/281943"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/281942"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=281940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=281940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=281940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}