DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Open Source as a Leadership Lab for Software Engineers
  • Multi-Agent Software Engineering: Can AI Teams Build Production Systems?
  • The AI Software Supply Chain Blueprint
  • 7 Technology Waves I’ve Seen in 30 Years of Software — Will AI Be the Next Real Transformation?

Trending

  • Structured Logging in Distributed Systems: What Most Teams Get Wrong and How to Fix It
  • Beyond JSON: Benchmarking TOON and TOON-LD for LLMs
  • Retrieval Augmented Generation With Spring AI 2.0, Claude, and PGvector
  • We Empowered AI Agents With 'Hands,' Now We Require Kernel-Level Vision to Monitor Them
  1. DZone
  2. Software Design and Architecture
  3. Performance
  4. Software Interrupt Time – ‘si’ Time in top

Software Interrupt Time – ‘si’ Time in top

Pardon the interruption...

By 
Ram Lakshmanan user avatar
Ram Lakshmanan
DZone Core CORE ·
Feb. 08, 21 · Tutorial
Likes (2)
Comment
Save
Tweet
Share
6.1K Views

Join the DZone community and get the full member experience.

Join For Free

CPU consumption in Unix/Linux operating systems is studied using eight different metrics: User CPU time, System CPU time, nice CPU time, Idle CPU time, Waiting CPU time, Hardware Interrupt CPU time, Software Interrupt CPU time, Stolen CPU time. In this article let's study ‘Software Interrupt CPU time’.

What Is Software Interrupt CPU Time?

To understand the ‘software interrupt time’, one must understand ‘software interrupts’ first. Software interrupts can be triggered because of the following events:

  • When software run into exceptional conditions such as a divide by zero or accessing unavailable memory.
  • When a special instruction in the application code causes an interrupt when the processor executes it.
  • Some hardware interrupts might take a long time to complete. In such scenarios, hardware interrupts can be deferred to execute at a later point of time through software interrupts. Software interrupts can be scheduled to run independently or on any CPU in the device or even run concurrently. On the other hand, these flexibilities don’t exist in hardware interrupts.

The amount of time the CPU spends in processing these software interrupt signals is called ‘Software interrupt time’. 

How to Find the Software Interrupt CPU Time

 Software interrupt CPU time can be found from the following sources:

  • You can use web-based root cause analysis tools to report ‘software interrupt’ CPU time. Tool is capable of generating alerts if ‘software interrupt’ CPU time goes beyond the threshold.
  • ‘software interrupt’ CPU time is also reported in the Unix/Linux command line tool ‘top’ in the field ‘si’ as highlighted in the below image.

Fig: software interrupt ‘si’ time in top

How to Resolve a High Software Interrupt CPU Time

  1. Try rebooting the device.
  2. Make sure you are running on the latest OS version with all patches installed.
Software CPU time

Opinions expressed by DZone contributors are their own.

Related

  • Open Source as a Leadership Lab for Software Engineers
  • Multi-Agent Software Engineering: Can AI Teams Build Production Systems?
  • The AI Software Supply Chain Blueprint
  • 7 Technology Waves I’ve Seen in 30 Years of Software — Will AI Be the Next Real Transformation?

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook