Question: Several tasks are submitted to a computer system with two processors, 1 and 2 , working in parallel. The process of submitting tasks can be
Several tasks are submitted to a computer system with two processors, and working in
parallel. The process of submitting tasks can be described in discrete time by
where if a task is submitted at time and otherwise at most one task can
be submitted in each time step Suppose such a process is specified for the time interval
as follows: When a task is seen by the computer system,
the following rule for deciding which of the two processors to use is applied: Alternate between
the two processors, with the first task going to It is assumed that if a task is sent to
and that processor is busy, the task joins a queue of infinite capacity. The processing time
of a task at alternates between and time units starting with whereas the processing
time at is always time units.
Let be the total number of customers having departed from the system at time and
and be the queue lengths at processors and respectively including a task in
process If one or more events occur at time t the values of these variables are taken to be just
after the event occurrences
a Draw a timing diagram with showing arrivals and departures assume that
b Construct a table with the values of and for all
c Suppose we now work in continuous time. Arrivals occur at times and
The processing time at now alternates between and whereas that of is fixed at
time units. Consider an eventdriven model with event set where
arrival, departure from processor
Construct a table with the values of
where are the queue lengths and cumulative
number of departures after the kth event occurs, and is the time instant
of the
event occurrence. If two events occur at the same time, assume that a departure
always comes before an arrival. Compare the number of updates required in this model to a
timedriven model with a time step of magnitude time units
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
