home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / ultrix / 8499 < prev    next >
Encoding:
Text File  |  1992-11-23  |  2.1 KB  |  48 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!still3.chem.columbia.edu!shenkin
  3. From: shenkin@still3.chem.columbia.edu (Peter Shenkin)
  4. Subject: Re: Program nices itself?
  5. Keywords: nice renice
  6. References: <1992Nov23.182128.26000@tc.cornell.edu> <By6o98.K52@cs.psu.edu>
  7. Sender: nobody@ctr.columbia.edu
  8. Organization: Dept. of Chem, Columbia U, New York
  9. Date: Mon, 23 Nov 1992 20:33:07 GMT
  10. Message-ID: <1992Nov23.203307.26208@sol.ctr.columbia.edu>
  11. X-Posted-From: still3.chem.columbia.edu
  12. NNTP-Posting-Host: sol.ctr.columbia.edu
  13. Lines: 33
  14.  
  15. In article <By6o98.K52@cs.psu.edu> kenh@leps5.phys.psu.edu
  16.  (Ken Hornstein) writes:
  17. >In article <1992Nov23.182128.26000@tc.cornell.edu>
  18.  matthew@alchemy.tn.cornell.edu (Matthew Kleinmann) writes:
  19.  
  20. >>We have a decstation5500 running ULTRIX V4.2A (Rev. 47).  The system was 
  21. >>bought to run one large application for finite element analises.  We have 
  22. >>been having this problem where after a day or more the program will nice 
  23. >>itself to a level of ...
  24.  
  25. >You know, I thought this was just me.  I've seen this happen before, and never
  26. >could figure out why.
  27.  
  28. As far as I know, all versions of UNIX degrade the priority of processes
  29. as they accumulate more CPU time.  If the system was bought to run one
  30. large application, then presumably there isn't anything else (other
  31. than system processes) running on the machine.  In this situation the
  32. job's priority will not matter -- it will still be getting virtually all 
  33. the CPU that an application can get, since there's nothing else around to 
  34. preempt it.
  35.  
  36. You set up a script to "time" the program.  If you use the csh builtin, 
  37. then one of the figures you will see is CPU user+system time as a percentage
  38. of elapsed time.  If this is high (eg, over 90%), it would seem you have 
  39. nothing to complain about.
  40.  
  41.     -P.
  42.  
  43. -- 
  44. ************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb************************
  45. Peter S. Shenkin, Box 768 Havemeyer Hall, Dept. of Chemistry, Columbia Univ.,
  46. New York, NY  10027;  shenkin@still3.chem.columbia.edu;  (212) 854-5143
  47. *** In scenic New York:  where the Third World is just a subway ride away ***
  48.