Monday, March 16, 2015

Solaris: Interrupts and Priorities





 












To get details of Interrupts on a system; use "ptime" command
Example:
  1. root# /usr/bin/ptime /usr/share/lib/dict/words
  2. Observe the time taken (Real, User & System).
  3. Repeat the command again. This time the command should be reading the file contents from memory cache. So the "Real time" should be shorter.
  4. Execute the command again, but use the mouse button to drag the window around the screen while the command is executing.
  5. Observe the time taken (Real, User & System).
Observation: "Real Time" increases significantly, but the user and system times remain approximately same. A high interrupt rate temporarily prevents the user's process from running. This increases the response time of the execution of the command.

 


 


 

No comments:

Post a Comment