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