home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / misc / 32 < prev    next >
Encoding:
Internet Message Format  |  1992-12-20  |  1.4 KB

  1. Path: sparky!uunet!olivea!sgigate!sgi!twilight!zuni!anchor!olson
  2. From: olson@anchor.esd.sgi.com (Dave Olson)
  3. Newsgroups: comp.sys.sgi.misc
  4. Subject: Re: Where does the CPU go, when its not doing nuthin' (gr_osview)
  5. Message-ID: <to01eas@zuni.esd.sgi.com>
  6. Date: 18 Dec 92 02:39:22 GMT
  7. References: <MBR.92Dec17063936@ponape.bellcore.com>
  8. Sender: news@zuni.esd.sgi.com (Net News)
  9. Organization: Silicon Graphics, Inc.  Mountain View, CA
  10. Lines: 20
  11.  
  12. In <MBR.92Dec17063936@ponape.bellcore.com> mbr@bellcore.com (Mark Rosenstein) writes:
  13.  
  14. | When looking at gr_osview, I have a program that uses about 50% of the
  15. | cpu (indigo R4000 elan running 4.05F). The CPU wait line in gr_osview
  16. | is empty, so if the cpu isn't waiting, why doesn't my program get 100%
  17. | of the CPU?
  18. | I guess the less naive way of putting this is: What factors aren't captured
  19. | between the CPU Usage and CPU wait?
  20. | [The program in question reads in a 16k chunks of stuff off of disk, messes
  21. | around with them and writes them out. All to local disk.]
  22.  
  23. It's hard to say just where it is waiting.  Running osview may be
  24. helpful, as would 'timex -s yourprog'.  My guess is that it is indeed
  25. waiting for the disk part of the time.
  26. --
  27. Let no one tell me that silence gives consent,  |   Dave Olson
  28. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  29.     Maria Isabel Barreno                        |   olson@sgi.com
  30.