Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site houxf.UUCP
Path: utzoo!linus!wivax!decvax!harpo!eagle!mhuxt!mhuxi!mhuxa!houxm!houxf!govern
From: govern@houxf.UUCP
Newsgroups: net.unix-wizards
Subject: Why is the "real time" so much  greater than the "cpu time"
Message-ID: <374@houxf.UUCP>
Date: Thu, 14-Jul-83 15:59:23 EDT
Article-I.D.: houxf.374
Posted: Thu Jul 14 15:59:23 1983
Date-Received: Fri, 15-Jul-83 01:50:20 EDT
Organization: Bell Labs, Holmdel NJ
Lines: 19

On my 4.1BSD system, the output of "time" for a long, CPU-intensive
program typically shows a "real time" about 20 times as high as the
CPU time, and the "user" time is often close to the real time.

1) Is this normal?  The ratio seems awfully high.  How can I check
to see if the system is running ok or if it needs tuning?

2) Exactly what times go into the CPU and user times?
	- When a process has  20% of the CPU, is the "CPU time"
		value scaled to reflect this?
	- Where does IO time fit in?
	- What about paging time? (The application was a very large
		simulation, so it has to page a lot.)

			Thanks;
			Bill Stewart
				houxf!govern
				ucbvax!ihnp4!houxf!govern
				     allegra!houxf!govern