Upcoming Linux Kernel Patch to introduce "6% performance improvement" to storage performance

  • 19 January 2024
  • 5 comments
  • 73 views

Userlevel 7
Badge +20

Happy Friday everyone!

I hope that you’ve all had a good week 🙂

 

I’m back with an interesting news story to share, and it provides an example of how overengineering can impact the deliverables you’re trying to achieve.

 

So, a gentleman called Jens Axboe has published an interesting patch update (link here) that claimed with their test case a performance increase from 108M IOPS to 115M IOPS, and they said they haven’t even enabled most of the costly block layer items that means the performance improvement could be even higher in real world utilisations.

 

Now, such a claim could be met with scepticism, but I was intrigued, how is this working?

 

Thankfully Jens provided some insights into this, and this is where I believe a lesson can be learned in overdesigning a solution to a problem, to its own detriment.

 

Jens explains in his patch notes that the patch reduces the number of times that the time is queried for timestamps. Historically near enough every time that a write occurred, the time would be queried, so that timestamps had nanosecond accuracy. But Jens patch caches the time more frequently so this takes place less often. Because realistically, do you need NANOSECOND accuracy in your logs when troubleshooting? Who knows, maybe one day? But for now, a slightly lower level of accuracy in the nanosecond range is a good enough solution, with real world performance improvements!

 

Hopefully we’ll see some speed improvements when this patch eventually makes its way into the kernels of our favourite Linux distros...


5 comments

Userlevel 7
Badge +17

Well...isn't that an interesting take? 😁 Will indeed be interesting to see if perf improvements are attained when released. Thanks for sharing Michael. 

Userlevel 7
Badge +20

Wow this will be a nice addition now that we are deploying Veeam Hardened Repos with our Hitachi storage.  I will be interested to see the performance gains for sure.

Userlevel 7
Badge +8

That’s a lot of IOPS. Why can’t Microsoft fix their performance 😂

Userlevel 7
Badge +20

That’s a lot of IOPS. Why can’t Microsoft fix their performance 😂

They’ll give you what you’ll get and you’ll be grateful that they don’t mark your disks as RAW again! 😂

Userlevel 7
Badge +6

108M IOPS to 115M IOPS -» It´s a very decent IOPS! Thanks for sharing, @MicoolPaul

Comment