By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Meta Optimizing /proc/interrupts Reading As It’s Too Costly At Scale: 29% Speedup
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Meta Optimizing /proc/interrupts Reading As It’s Too Costly At Scale: 29% Speedup
Computing

Meta Optimizing /proc/interrupts Reading As It’s Too Costly At Scale: 29% Speedup

News Room
Last updated: 2026/03/31 at 2:44 PM
News Room Published 31 March 2026
Share
Meta Optimizing /proc/interrupts Reading As It’s Too Costly At Scale: 29% Speedup
SHARE

One of the latest Linux kernel optimizations being worked on by Meta’s large kernel engineering team is making reading of /proc/interrupts less costly. Due to monitoring of their servers frequently reading /proc/interrupts, it’s actually become a noticeable cost over time with their massive fleet of systems.

Dmitry Ilvokhin with Meta has optimized /proc/interrupts by optimizing the decimals printing by adapting the use of the seq_printf() function and also adding a helper routine for putting space and decimal numbers without the overhead of rich formatting of printf().

cat /proc/interrupts

While it may seem like a mundane optimization, these print changes for /proc/interrupts resulted in a 29% relative speed-up in the time elapsed for printing /proc/interrupts. On a massive fleet of servers routinely capturing the interrupts output, the savings is very much worthwhile.

“Monitoring tools periodically scan /proc/interrupts to export metrics as a timeseries for future analysis and investigation.

In large fleets, /proc/interrupts is polled (often every few seconds) on every machine. The cumulative overhead adds up quickly across thousands of nodes, so reducing the cost of generating these stats does have a measurable operational impact. With the ongoing trend toward higher core counts per machine, this cost becomes even more noticeable over time, since interrupt counters are per-CPU. In Meta’s fleet, we have observed this overhead at scale.

Although a binary /proc interface would be a better long-term solution due to lower formatting (kernel side) and parsing (userspace side) overhead, the text interface will remain in use for some time, even if better solutions will be available. Optimizing the /proc/interrupts printing code is therefore still beneficial.

Function seq_printf() supports rich format string for decimals printing, but it doesn’t required for printing /proc/interrupts per CPU counters, seq_put_decimal_ull_width() function can be used instead to print per CPU counters, because very limited formatting is required for this case. Similar optimization idea is already used in show_interrupts().

As a side effect this aligns the x86 decriptions with the generic interrupts event descriptions.
…
Relative speed up in time elapsed is around 29%.”

This latest optimization patch is now under review on the Linux kernel mailing list.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article If you hurry, Google’s forever young Pixel 9 can be yours at a special 0 Big Spring discount If you hurry, Google’s forever young Pixel 9 can be yours at a special $300 Big Spring discount
Next Article Huawei presents the Atlas 350 AI accelerator Huawei presents the Atlas 350 AI accelerator
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Five takeaways for US policymakers about China’s new five-year development plan
Five takeaways for US policymakers about China’s new five-year development plan
News
Sony raises prices of China-market PS5 lineup by up to 0 · TechNode
Sony raises prices of China-market PS5 lineup by up to $100 · TechNode
Computing
Cloudflare Adds Active API Vulnerability Scanning to Its Edge
Cloudflare Adds Active API Vulnerability Scanning to Its Edge
News
13 Nike deals I’m shopping before they’re gone — save up to 40% on the best spring styles
13 Nike deals I’m shopping before they’re gone — save up to 40% on the best spring styles
News

You Might also Like

Sony raises prices of China-market PS5 lineup by up to 0 · TechNode
Computing

Sony raises prices of China-market PS5 lineup by up to $100 · TechNode

1 Min Read
How Milsat mapped Nigeria in just nine months
Computing

How Milsat mapped Nigeria in just nine months

11 Min Read

Pinterest Creator Content: Why Value Grows Over Time

2 Min Read
Chain-of-Verification Prompting: The Advanced Technique That Eliminates AI Hallucinations in 2026 – Chat GPT AI Hub
Computing

Chain-of-Verification Prompting: The Advanced Technique That Eliminates AI Hallucinations in 2026 – Chat GPT AI Hub

22 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?