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

  • 7 Technology Waves I’ve Seen in 30 Years of Software — Will AI Be the Next Real Transformation?
  • Beyond SOLID: Embracing CUPID for Modern Software Craftsmanship
  • Why AI Forces a Rethink of Everything We Know About Software Security
  • Part I: The Build You Can’t See Is the One That Will Kill You: Software Supply Chains, SBOMs, and the Long Reckoning After SolarWinds

Trending

  • Migrate a Hardcoded LangGraph Agent to LaunchDarkly AI Configs in 20 Minutes
  • Why DDoS Protection Is an Architectural Decision for Developers
  • When One MVP Is Really Four Systems: A Better Way to Plan Multi-Role Apps
  • OpenAPI From Code With Spring and Java: A Recipe for Your CI
  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

  • 7 Technology Waves I’ve Seen in 30 Years of Software — Will AI Be the Next Real Transformation?
  • Beyond SOLID: Embracing CUPID for Modern Software Craftsmanship
  • Why AI Forces a Rethink of Everything We Know About Software Security
  • Part I: The Build You Can’t See Is the One That Will Kill You: Software Supply Chains, SBOMs, and the Long Reckoning After SolarWinds

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