{"id":273995,"date":"2026-06-15T22:28:00","date_gmt":"2026-06-16T02:28:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/06\/15\/someone-moved-three-lines-of-code-in-linux-7-2-and-got-a-5-storage-speed-boost\/"},"modified":"2026-06-16T00:05:24","modified_gmt":"2026-06-16T04:05:24","slug":"someone-moved-three-lines-of-code-in-linux-7-2-and-got-a-5-storage-speed-boost","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/06\/15\/someone-moved-three-lines-of-code-in-linux-7-2-and-got-a-5-storage-speed-boost\/","title":{"rendered":"Someone moved three lines of code in Linux 7.2 and got a 5% storage speed boost"},"content":{"rendered":"<p><a href=\"https:\/\/www.xda-developers.com\/someone-moved-three-lines-of-code-in-linux-72-and-got-a-5-storage-speed-boost\/\">Someone moved three lines of code in Linux 7.2 and got a 5% storage speed boost<\/a><\/p>\n<p><a href=\"https:\/\/www.xda-developers.com\/someone-moved-three-lines-of-code-in-linux-72-and-got-a-5-storage-speed-boost\/\">https:\/\/www.xda-developers.com\/someone-moved-three-lines-of-code-in-linux-72-and-got-a-5-storage-speed-boost\/<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-06-15 22:28:00<\/a><\/p>\n<p>Source Domain: <a href=\"www.xda-developers.com\">www.xda-developers.com<\/a><\/p>\n<h3 class=\"title icon i-list\">Summary<\/h3>\n<ul>\n<li>\n                                        Linux 7.2 gains ~5% IOPS on ext4\/xfs from a tiny code change.\n                        <\/li>\n<li>\n                                        Skipping an unnecessary iomap memset after iteration freed write bandwidth.\n                        <\/li>\n<li>\n                                        Moving three lines to run post-iteration shows tiny edits can boost performance.\n                        <\/li>\n<\/ul>\n<p>Ensuring your code is working at its utmost best can be pretty daunting if you&#8217;re not sure what to pull back, and by how much. However, sometimes the stars align, and you spot a really simple fix that significantly boosts your software&#8217;s speed. As good as that is, though, not many people can claim they sped up a process by 5% just by moving three chunks of code down by a few lines, which is exactly what one Linux engineer achieved with kernel version 7.2.<\/p>\n<h2 id=\"linux-7-2-got-a-5-storage-speed-boost-by-moving-three-lines-of-code\">\n                        Linux 7.2 got a 5% storage speed boost by moving three lines of code<br \/>\n               <\/h2>\n<h3 id=\"it-was-a-very-impactful-move-but-a-move-nonetheless\">\n            It was a very impactful move, but a move nonetheless<br \/>\n    <\/h3>\n<p>As spotted by Phoronix, this change was authored by Fengnan Chang and committed by Christian Brauner. In Brauner&#8217;s commit notes, he mentions the work that Chang had done to the kernel and how it helped flesh out Linux 7.2:<\/p>\n<p>Skip the memset&#8230;<\/p>\n<p><a href=\"https:\/\/www.xda-developers.com\/someone-moved-three-lines-of-code-in-linux-72-and-got-a-5-storage-speed-boost\/\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Someone moved three lines of code in Linux 7.2 and got a 5% storage speed&#8230;<\/p>\n","protected":false},"author":1,"featured_media":273998,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/static0.xdaimages.com\/wordpress\/wp-content\/uploads\/wm\/2026\/06\/linux-debian-terminal-unbound-dns-server-status.jpeg?w=1600&h=900&fit=crop","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71],"class_list":["post-273995","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\/273995"}],"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=273995"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/273995\/revisions"}],"predecessor-version":[{"id":273999,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/273995\/revisions\/273999"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/273998"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=273995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=273995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=273995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}