

            basys (3) --- basic computer system simulator            02/23/82


            _U_s_a_g_e

                 basys


            _D_e_s_c_r_i_p_t_i_o_n

                 'Basys'  is  a program designed to simulate a basic computer
                 system configuration  consisting  of  a  central  processing
                 unit,  a disk drive and a central memory.  It is a distribu-
                 tion driven simulator.  In other words, the work load  under
                 which  the  system  is  to  be simulated is characterized by
                 probability distributions  for  such  factors  as  the  time
                 between  job  arrivals, the priority of a job, the amount of
                 memory required by a job, the number of i/o requests  a  job
                 will make, and so on.

                 When  invoked,  'basys'  asks  the  user  for  the following
                 information:

                 -    sssiiimmmuuulllaaatttiiiooonnn llleeennngggttthhh
                      The number of seconds  for  which  the  simulation  run
                      should last is given here.  Note that this is simulated
                      time, not real time.

                 -    mmmeeemmmooorrryyy sssiiizzzeee
                      This  is  the size of main memory in K-words.  All jobs
                      generated by the simulator have memory requirements  in
                      the  range  2K  to  70K  words;  thus,  the memory size
                      specified should probably be greater than or  equal  to
                      70.

                 -    tttiiimmmeee tttooo cccooommmpppaaacccttt mmmeeemmmooorrryyy
                      This  is the amount of time in microseconds required to
                      compress memory to make space available for a job.

                 -    pppeeerrr wwwooorrrddd dddiiissskkk tttrrraaannnsssfffeeerrr tttiiimmmeee
                      This is the time in microseconds required  to  transfer
                      one word between disk and memory.

                 -    dddiiissskkk aaacccccceeessssss tttiiimmmeee
                      This  is  the time in milliseconds required to position
                      the disk head over the desired sector before a transfer
                      takes place.  It includes both seek time and rotational
                      latency.

                 -    iii///ooo ooovvveeerrrhhheeeaaaddd tttiiimmmeee
                      This is the overhead time in microseconds  involved  in
                      the initiation of an i/o request.

                 -    mmmeeeaaannn jjjooobbb iiinnnttteeerrraaarrrrrriiivvvaaalll tttiiimmmeee
                      The  time  in  milliseconds  between  job  arrivals  is
                      generated from an exponential distribution  whose  mean
                      is specified here.




            basys (3)                     - 1 -                     basys (3)




            basys (3) --- basic computer system simulator            02/23/82


                 -    mmmeeeaaannn cccpppuuu tttiiimmmeee pppeeerrr jjjooobbb
                      The number of milliseconds of cpu time required by each
                      job  is generated from a normal distribution whose mean
                      and standard deviation are specified by this  parameter
                      and the next.

                 -    ssstttaaannndddaaarrrddd dddeeevvviiiaaatttiiiooonnn ooofff cccpppuuu dddiiissstttrrriiibbbuuutttiiiooonnn
                      The standard deviation (in milliseconds) of the per-job
                      cpu time distribution.

                 -    mmmeeeaaannn nnnuuummmbbbeeerrr ooofff iii///ooo rrreeeqqquuueeessstttsss pppeeerrr jjjooobbb
                      The  number  of  i/o  requests  that a job will make is
                      determined by a normal distribution for which the  mean
                      value is specified here.

                 -    ssstttaaannndddaaarrrddd dddeeevvviiiaaatttiiiooonnn ooofff iii///ooo dddiiissstttrrriiibbbuuutttiiiooonnn
                      The  standard  deviation of the distribution from which
                      the per-job number of  i/o  requests  is  generated  is
                      specified here.

                 -    mmmiiinnniiimmmuuummm rrreeecccooorrrddd sssiiizzzeee
                      This  is  the  minimum  number of words in a single i/o
                      transfer.  All transfers  requested  by  a  single  job
                      involve the same number of words.

                 -    mmmaaaxxxiiimmmuuummm rrreeecccooorrrddd sssiiizzzeee
                      The  maximum  number  of  words  in  an i/o transfer is
                      specified here.

                 -    eeevvveeennnttt tttrrraaaccceee
                      If the user responds with "yes", 'basys' will print  on
                      standard  output  two a listing of all pertinent events
                      as they are scheduled and as they occur.  Events traced
                      are job  arrival,  memory  request,  cpu  request,  cpu
                      release,   disk   request,   disk   release   and   job
                      termination.  WARNING:  under reasonable  durations  of
                      simulation,  the  volume  of  output  produced  by this
                      option is prohibitively large.

                 Upon completion of the simulation, 'basys' prints  on  stan-
                 dard  output  one  a three part report.  The first part is a
                 summary of system parameters as specified by the user.   The
                 second part is a table of job descriptions, sorted by ascen-
                 ding job number.  The table gives a profile of each job that
                 entered  the  system  during the simulation run.  Finally, a
                 summary  of  how  well  the  system  performed  is  printed.
                 Included  in  this part are statistics on utilization of the
                 three system resources:  memory, cpu and disk,  as  well  as
                 statistics on the wait queues for each of these resources.


            _E_x_a_m_p_l_e_s

                 parameters> basys
                 basys  >report  >event_trace



            basys (3)                     - 2 -                     basys (3)




            basys (3) --- basic computer system simulator            02/23/82


            _B_u_g_s

                 Meaningless results accompany meaningless input.

                 Locally supported.





















































            basys (3)                     - 3 -                     basys (3)


