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

  1. Path: sparky!uunet!news.larc.nasa.gov!news
  2. From: s.j.scotti@larc.nasa.gov (Stephen J. Scotti)
  3. Newsgroups: comp.sys.sgi.misc
  4. Subject: Re: Where does the CPU go, when its not doing nuthin' (gr_osview)
  5. Date: 30 Dec 1992 17:35:14 GMT
  6. Organization: Aircraft Structures Branch, NASA Langley Research Center
  7. Lines: 26
  8. Distribution: world
  9. Message-ID: <1hsmkiINNf05@rave.larc.nasa.gov>
  10. References: <to01eas@zuni.esd.sgi.com>
  11. Reply-To: s.j.scotti@larc.nasa.gov (Stephen J. Scotti)
  12. NNTP-Posting-Host: scotti.larc.nasa.gov
  13.  
  14.  
  15. >| When looking at gr_osview, I have a program that uses about 50% of the
  16. >| cpu (indigo R4000 elan running 4.05F). The CPU wait line in gr_osview
  17. >| is empty, so if the cpu isn't waiting, why doesn't my program get 100%
  18. >| of the CPU?
  19. >| 
  20. >| I guess the less naive way of putting this is: What factors aren't captured
  21. >| between the CPU Usage and CPU wait?
  22. >| 
  23. >| [The program in question reads in a 16k chunks of stuff off of disk, messes
  24. >| around with them and writes them out. All to local disk.]
  25.  
  26. >It's hard to say just where it is waiting.  Running osview may be
  27. >helpful, as would 'timex -s yourprog'.  My guess is that it is indeed
  28. >waiting for the disk part of the time.
  29.  
  30. I have been running a structural analysis finite element code on a 4d35 with 
  31. similar problems.  I was the only user on the machine but could get no more 
  32. than about 60% of the CPU.  I too attributed this to disk accesses but when 
  33. we upgraded our memory from 16mb to 48mb, I found that I could get about 95% 
  34. of the CPU!
  35. I wonder if Dave Olson could explain that?
  36.  
  37. Stephen J. Scotti
  38. ASB, NASA Langley Research Center
  39. s.j.scotti@larc.nasa.gov
  40.