[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9151.0. "realtime,user,sys" by BEJVC::ARTHURWANG () Wed Mar 12 1997 20:54

    Hi!
    
    Customer asked me some question about "time" command, they did a
    performance test on DEC's alphaStation 500/333 and HP's C160. The
    result of performance test is the following:
    
    HP C160  (128MB,2GB)		AlphaStation 500/333(128MB,2GB)
    
    realtime   	43.51                   33.0
    user	26.26                   29.6
    sys		0.51                    0.4
    
    The customer asked why HP's realtime > DEC's but HP's user < DEC's?
    What's realtime,user,sys means?
    
    arthur
T.RTitleUserPersonal
Name
DateLines
9151.1SMURF::DENHAMDigital UNIX KernelWed Mar 12 1997 21:197
    Realtime means elapsed or wall-clock time.
    
    User means time spent in user mode running application or
    library code.
    
    System means time spent in kernel mode doing system calls
    or page faults and the like.
9151.2HGOM11::ARTHURWANGThu Mar 13 1997 01:167
    Hello:
    
    is that means realtime = user + system?
    pls tell me the relationship about realtime,user,system.
    
    thanks!
    arthur 
9151.3real time = user + sys + waitnamix.fno.dec.com::jptFIS and ChipsThu Mar 13 1997 03:1415
	No, realtime is NIT same as User+Sys. User+Sys is same as 
	CPU time used, realtime is how long it takes for the command
	from start to exit. 

	Realtime is more or less same as User+Sys+Wait meaning that
	if for example application waits for I/O to complete, it will
	be added to "Wall Clock Time" but not measured by System or
	User time. Also, if you have for example workstation, the
	Windowing Interface can "hog" some CPU time causing it to
	compete from available time with real life application, and
	that causes increase of realtime as application must wait
	other services to complete.

			-jari