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

  • AI Agents Need an Identity Plane: Rethinking Enterprise Authorization for Autonomous Software
  • 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

Trending

  • RAG Architecture Patterns: Proxy, Caching, and Routing
  • Solving Comprehension Debt in AI-Generated Codebases
  • Why Kotlin or Java Is the Wrong Question For Enterprises
  • Slopsquatting: Building a Scanner That Catches AI-Hallucinated Packages Before They Reach Production

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  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
DZone Core CORE ·
Feb. 08, 21 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
6.2K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

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

  • AI Agents Need an Identity Plane: Rethinking Enterprise Authorization for Autonomous Software
  • 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

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • 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