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
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • An Enterprise AI Governance Checklist for Software Teams
  • The AI Evolution in Software Testing: A QA Manager's Blueprint for Staying Irreplaceable
  • Shift-Left Without Losing the Audit Trail: Test Automation for Regulated Surgical Software
  • Open Source as a Leadership Lab for Software Engineers

Trending

  • Beyond HTTP Handoffs: Build Durable Agent-to-Agent Services With Temporal Nexus
  • Building and Serving a Custom Model With Azure ML, Then Wiring It Into a Foundry Agent
  • Build Software Faster With Three Simple Principles
  • MCP Is the USB-C of AI — Here's What That Actually Means for Your Architecture
  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.2K 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

  • An Enterprise AI Governance Checklist for Software Teams
  • The AI Evolution in Software Testing: A QA Manager's Blueprint for Staying Irreplaceable
  • Shift-Left Without Losing the Audit Trail: Test Automation for Regulated Surgical Software
  • Open Source as a Leadership Lab for Software Engineers

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