stanford university deptofspecial cafecfions 4 ceh oc 3-mocx885dw5448/cx885... · 2015. 10. 23. ·...

17
MAC (PROJECT MAC) : Stanford University ( Dept of Special Cafecfions CeH oC 3-MO 4

Upload: others

Post on 23-Jan-2021

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

MAC (PROJECT MAC) :

Stanford University (Dept ofSpecial Cafecfions

CeH oC 3-MO

4

Page 2: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

<EflE s*. "/

Yopfk U/jC

/hM

I EEkh^OOun ( IpEpE^Ea, IPP. J */7P;OiE) cdrA/^cJ te^^td-c*? DPsc- (aas, £EES E(E;<yvo,cAo cJiorEU) E&+A-

Page 3: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

1

O

o

O

Memorandum MAC-M-161June 2, 1964

TO: Project MAC Participants

FROM: Stephen Whitelaw and Malcolm Jones

SUBJECT: Statistics for CTSS

Io Introduction

A program has been written that gathers statistics on the performance

of the 7094 time-sharing system* The program monitors the system from

CORE B and writes the accumulated statistics onto the disk. At present

eight frequency distributions are generated:

1. Think time—including input wait, dead and dormant2„ Wait time—working status, but not current user, plus command

wait status

3» Swap time

4o Run time—current, user5 , Output wait6. Number of users logged in7„ Number of users active—all users who are in working sr,atus or

the last clock £rap„in command wait status at

8. Length of active users' programs

The first five frequency distributions are printed and their densityfunction and the cumulative3are plotted. The last three frequency distri-butions are only printed. Number of observations, means, standard devia-tions and maximum values are given for all eight frequency distributions «

l.cAl^p-MASSACHUSETTS INSTITUTE OF TECHNOLOGY IL^ £& Lc*a~E

Project MAC Q^,. (^

Page 4: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

2

O

o

O

11. Gathering Statistics

The user starts the program called STATI from his console . This

program receives data from the monitoring program which has written the

data into a buffer in COSE B„ SXATI takes this data in raw form and writes

it onto the disk. The statistics st this point consist of all records of

the state changes of the system as a whole. When the user desires to

stop collecting statistics he hits the quit button twice and then types

in the command USE. This will close out and file a file called EVENT FILE

onto the user's tracks. Remember to delete any EVENT FILE previously

collected before accumulating new statistics or else rename it, otherwise

two files of the same name will be in your directory. One hour of statistic

collecting uses up about 150 tracks, but this varies depending on how

busy the system is.

Tne program STATI consists of five small subprograms which will be

briefly described:

A. DISK- -Main program, prints out total number of words writtenand writes the statistics on the disk.

B. ERead--Reads the words from the buffer in CORE A into buffer inCORE B.

C. GETmon--sets the information from the getmon supervisor entry.

D. DElAYA—Reactivates program from SLEEP every 20 seconds .E. PI—Takes control when user quits the program and files statistics

under the file name EVENT FILE.

111. Analysis of Data

This program "called STAT2 analyzes the data written in EVENT FILE and

converts it into frequency distributions. First, we will give a breif

description of the nine subroutines in STAT2.

Page 5: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

3

o

O

IV.

user

\^J

A.Bo

M MAD—Main program, teste for end of file in EVENT PILE.

REVENT MAD—Reads EVENT FILE data words from the disk.

EXPAND PAP— splits words for E MAD program.C

E MAD—This program analyzes the data and generates the eightdifferent types of statistics. Depending on the data, E MADwill convert it into three pieces of information..

D„

I. Type—Thie; will always be equal to zero

2o State—There are eight states corresponding to the fivepossible user states and the three general system statesdescrlbid aoove.

3. Time, Number of Users, or Largth—depending on the state,this will be equal to either the time a user spent in aparticular state, the number of users active or logged In,or the length of the active users' programs.

E.Fo

PP FAP—This does a code conversion.

ACCUM MADTRN—This program accumulates the statistics in eightfrequency distribution tables. The tables run from 0 to 100for the five individual state statistics. The units of thesefive tables are different depending on the magnitude of thenumbers. The 100th position in the tables Is an overflowposition to catch all data outside the range. The two tablesfor active users and total users at present run from 0 to 31.The program size table runs from 0 to 32. As the data isaccumulated, the total number of observations, sums and sumssquared for the frequency distributions are kept.

G. ANALZ MADTRN—This program computes means and standard devia-tions for the eight frequency distributions.

H. PENT MADTRN—This program prints out the values of the frequencydistribution.':, their means, standard deviations, and maximumvalues, and also calls a plotting routine to plot the densityand cumulative density functions for the five individual userstatistics.

I. P BSS—This Is the plot routine.

General Comments

It Is most important to realize that the statistics for the .individualare accumulated for all states between the time the user started in

Page 6: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

4

O

o

thinking status and then returned to thinking status. In other words, a

user will initiate a request thereby going out of thinking status. He may

very well have many separate increments of run time and hence swap, wait

and possibly output wait time, before he returns to thinking status » These

four states are accumulated between thinking, but thinking naturally ±3 not.

o

The statistics for the system as a whole (i.e., number of users, etc.)

are accumulated periodically as the monitor program gets control. They

represent snapshots of the system at particular moments.

V. Use

Anyone desiring to make use of these programs should contact Steve

Whitelaw at ext. 5882 or Malcolm Jones at ext. 5870. We have collectedseveral sets of statistics and the results are available, or thoseinterested can collect their own.

Page 7: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

data collected on may 11, 195U at night, from 2128 to 2202

Qzo: program swapped in 85 timesm oni Er p ro «=r r«. W r o

TIIItIKIIIG (IH UHITS OF 2 SECS)fi „ ? 26 , 1;18 I

■<■

**" y -"

~-

> , „, , , - - i i, p -i r. V> 16 99 15 10 Dim II 15 " l l X \\ I \\ *! 2U

17 7 13 10 19 6 2u 9 21 111 > « ;L ** .2 26 1 27 6 23 J 29 7 SO | 32

?J£?11«5 " 2 H i I W |8 !is ii slo is {■ I

■81 0 32 0 83 0 8U 0 35 0 8b 0 87 2 88 0

89 0 90 0 91 1 92 0 93 1 9U .0 93 0 96 0

97 l 98 0 99 0 100 29

NUMBER - 536, MEAN - 29.k STND, DEV, - 7U.9 MAX - 896

{5 ° &£V*^

DENSITY FUNCTIONoW0025

0,2 0

ft

—-^_

p roor rpc rfi

0.15

0,10

ft

-

ft

0,05 '""

ft

vr

ft ft ftft ft ft ft

*.„. j-_.v.-

ft

-;.- *

-ft ft ft

ft ft

ft ft

* * "' *E^) n ...... a ,-. (, «

ft ft ft ft ft ft

*ftftftft«ftftft

ft ft ft ft

* *'* **ftftftft** * ** *jWaa n. 20^00 isO.OO 60.00 80.00 100.00

Page 8: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

*

$

CUMULATIVE 01 STR! OUT. UN

a

*

ft ft

".'.-

ft

*

ftft ft ft ft

*

ft ft ftft ft ft*-*

ft ft ft ft ft

0 .8 0

ft ft ft ft ft">

*"*'

ft ftft

ft

*

ft

0 0 60

ft

ooi+o0 o i+0ft

ft ft

*>. 0,2 0 *

ft

80„00 100.00

d

1,00

Oo *o.„ 20 0 00 i»0«00 60 c 00

Page 9: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

oWAITING (IN 'UNITS OF 1/2 SEC)

1 112 2 33 3 7k k 3d 5 58 6 29 7 35 8 2211 10 11 11 IU 12 5 13 8 IU 9 15 8 16 51

17 7 18 3 19 2 20 2 21 6 22 5 23 2 2U 1'-5 1 26 1 27 0 23 2 29 2 30 0 31 0 32 233 0 3U I 35 1 3G 1 37 0 38 1 39 0 UO 2kl 3 G2 3 U3 2 kk 1 US 2 U6 0 U7 0 US 0U9 0 50 2 51 1 52 0 53 0 5U 0 55 1 56

'

157 0 58 1 59 1 60 0 61 0 62 1 63 0 6«i 055 0 66 0 67 0 63 0 69 0 70 0 71 0 72 (I

73 0 7U 0 75 0 7G 1 77 0 78 0 79 1 80 081 0 82 0 83 0 3d 0 85 0 86 0 87 1 88 03 9 0 90 0 91 0 92 1 93 0 9U 0 95 0 96 097 1 53 0 99 0 100 10

NUMBER « 537, MEAN - 11.2 STND. DEV. ■ 27.1 MAX ■ 279

>vo DENSITY FUNCTION

0„2 5 .

ft

Go 20

OCIS0 C 15

ft

0010

ft ft ft

0,0 5 ft *

ft

■.-.-

ft ft ft

ft ft ft ft ft

>a ftft■""*^ Q

ftft- ft- ft ft ft ft ft

ft 4

ft ft

4

ft

ft

ft ft ft

ft

ft ft ft

it

ft

ft ft ft

ft ft ft ft ft ft ft ft ft ft ft- ft ft ft

0. 20s OO UO.OO 50,00 80.00 100.00

Page 10: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

<

oCUMULATIVE DISTRIBUTION

1000 "A

ft

*

ft ft ft

ft

ft

ft

ft ft

ft ft ft ft ft ft

ft ft

ft

ft

ft

ft ft ft ft

ft

ft ft ftft ft

OoSO

ftft

-fl

0060

ft

00-tO

ft

OC2O0 C 20 ft

Oo80 0 00 100 8 000 20 c OO tOoOO 6 :

"

J

Page 11: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

oSNAPPING ' ; N UNITS OF 1/10 SEC)1 0 3 102 k 5 UO G 0 1 .IS 8 09 '; 0 II kh 12 : 13 x.. ii| 0 15 55 16

17 d 19 16 20 21 27 22 0 25 20 2U 0I 2 7 U 2 0 C rA k 30 1-31 5 3 2 0

33 2 '. 0 35 3 36 0 3 7 7 33 0 3 9 3 UO 0kl I ',2 0 kl 0 Ud US 1 U5 0 U7 0 kl 0;-n 5 0 51 0 5 2 0 5 3 0 5U 0 55 ' 0 .56 0

D 53 G 59 0 GO D 51 0 G2 0 63 0 6U 065 I 0 67 C 68 0 69 0 70 0 71 0 72 073 3 0 75 0 76 0 77 0 73 0 7G 0 80 0

0 35 0 Bk 0 85 0 36 0 87 1 88 0Q 90 0 91 1 92 0 93 1 9U 0 95 0 96 0

97 0 53 0 99 0 100 I

NUMBER - . !9o MEAN * 13E STND. DEV. - 11,7 MAX - 100

DENSITY FUNCTION .

01X25

ft

0,2-:

0015 ■

o.lo*

it

*2j

0„0 5 *

ft

a

ft

r<<^ r\ .-. ■:■;.

ft ft ft

■„" ..'..■;.■ ■;.- -.'.■ -.'■

ft ft ft

ft

ft ft ft ft ft ft ft ft- ft ft ft ft ft ft

'.

fe

ft

ft

ft ft ft

ft

ft

ft ft

ft

ft

ft ■'"'

ft ft ft ft ft ft

3 0, 20.00 UO.OO 60,00 C0„00 IOO'.OO

Page 12: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

DISTRIBUTIONCUMULATIVE

ft ft

ft

ft ft ft ft ft ft ft

ft ft ft ft ft ft

Page 13: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

"■

J."'-<-"I.)

20

G01

&6fnon i ro r (R rc-^ r<a m1 j

RUNNING (IN UNITS OF 1/10 SEO-^x'

U9 U 5 057 Z . jo J to 1 oU

0 6655

818997

NUMBER 361 o MEAN 2U.U STND,. DEV,

3>M36.9 MAX 310

DENSITY FUNCTION'

J,25

0.20

0015

0,10

ft ftft

0005

ft

&

ft ft ft

1 0 2 0 3 liiof* U 0 5 25 6 0 7 23 89 29 10 2 11 2U 12 3 13 10 IU 1 Id IU 15

17 3 IC U 19 12 20 1 21 3 22 3 23 5 2U25 2 25 0 27 1 23 0 29 5 30 2 31 3 5233 . 2 3U 0 35 3 36 0 37 2 3d 1 39 7 UOkl k U2 2 U3 5 UU 1 U5 2 U6 0 U7 2 US

0 51 1 5 2 1 5 3 2 5U 0 55 3 5G0 59 2 60 3 61 0 620 67 1 63 0 69 1 70 0 71 0 72

1 7k 0 75 0 75 1 77 I 78 1 79 0 800 82 0 83 0 8U 0 85 0 86 1 87 2 38G GO 0 91 1 92 0 95 2 9U 1 95 2 961 93 3 99 0 100 15

ft ft ft ft ft ft ft ft ft ft ft ft ft ft ft ft

ft

ft ft ft

-.. " ft

ft ft

ft« ft ft

ft

ft

ft ft ft ft ft ft ft ft ft ft ft ft ft ft ft

'.■ : . V '.'.- ft it

ft

.': ft

ft ft ft

ft ft

ft ft ft ft ft ft

ft'

"^ Oo 2.0.00 UO.OO 63,00 80,00 100.00

Page 14: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

t

CUMULATIVE DISTRIBUTIONiv1000

ft

ft

ft ftft ft ft ft ft

ft ft ft ft

0.80

ft ft ft

v.-

ft -ft ft ftft

v.-ftft

ft

ft ft

0.50

ft

";."

ft-ft ft

OoUO

ft ft

o

ftft

0020ft

100.00

j

ft ft ft ft ft ft

ft

ft ft ft ft ft ft ft ft ft ft

ftft

OoOo 20 0 00 40.00 60,00 80, 0 0

Page 15: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

»

00

:) 2k 0o.

■<

'■ 0v >i UO

0 kZa i: f. 0D 6»» 0

7 2 03 0 0

0 8 8 096 G

1 3-.

r

13

15U

DENSITY FUNCTION

0.25

O0.2S

U o - -"

ft

ft ■-

0010

ftft- ft

0005

ft

a

Q .

ft ft ft ft uftftft

ft

ft -ft ft ft ft ft ft ft ft ft ft Cfft ft ft

An .■■:"ftftft

ft

ft ft .';

ft

ft

ft ft ft

ft ft

ft ft ft- ft ft

ft

Oo 20000 UOcOO

GO,

OO 80 0 00 IGOoOO

NUMBER «= 28 6 MEAN « 22 a U STND. DEV. « 35.6 MAX

r

|UTPUT

91725

.33

5755733d8997

WAIT0001000000000

( IN2

IC18253dU25053667U829093

1/.l I . ok0I1000000000

OF3

11192 735U3515 96775839199

5 SECS)3 :■0 1 !0 2 .0i ; io0 5 20 E )00 7 i0 3d0 9 :0 IC )

000

.!0002

.212937US536 1>9778595

?

00000000000

5IU2 23 038U65U52707835

. 9U

20

001

000000

-JI15233339G 75 56371793 795

Page 16: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

14

f

Page 17: Stanford University DeptofSpecial Cafecfions 4 CeH oC 3-MOcx885dw5448/cx885... · 2015. 10. 23. · 4 O o thinking status and thenreturned tothinking status. Inotherwords, a user

»

r

nv 00

C0 160 2U0

i{

8 U3710 16 0

00 2U0

oNtT. OF USERS LOCOED If!n 2 n 3 0 U ;■ 0 G 0 7

0 .159 0 '..0 0 11 0 12 0 IU.:

17 G 18 309 19 6U 20 21 62 22 0 250 3125 0 26 0 27 0 28 0 29 0 30

NUMBER IJ MAX

NO. OF USERS ACTIVEU i3 UU

10a

12 0 1320 0 21

G 2928

1.8 MAXNUMBER 53 9 0 MEAN

NUMBER U9 7 MEAN 11o 9 STND, DEV. Bn98 n 9 MAX

END OF STATISTICS

6U.266-s-29 o OQQ

;

53G0 MEAN ■ 18,6 STND, D.F.V.

5 111 5 125 73. 0 IU 0 15I 0 22 0 259 0 30 0 31

1 k 2 Ik 39 18 10 9 II

17 0 18 0 1925 0 25 0 27

5.5 STND, DEV,

rnoriEoT pcc\ra.rn - 86LENGTH OF PROGRAMS (IN 102U WORDS) ' E~ J

1 51 2 90 3 29 U 21/ 5 3 5 17 0 8 6

0 9 26 10 1 11 ' G 12 ripl] 13 6 IU 0 15 G 16 017 33 13 71 19 0 20 2 21 20 22 0 23 0 2U 025 11 26 0 27 0 28 2 29 0 30 1 31 0 32 36