question

Kamesh avatar image
0 Likes"
Kamesh asked Jason Lightfoot commented

batch processing with prioritiy pulling

kindly help me to solve this question either by 3d model or process flow anything is fine

An antiquated computer operates in a batch multiprocessing mode, meaning that its starts many ( up to a fixed maximum of k=4) jobs at a time, runs them simultaneously, but cannot start any new jobs until all the jobs in a batch are done. Within a batch, each job has its own completion time, and leaves the CPU when it finishes. There are three priority classes, with jobs of class1 being the highest priority and class 3 being the lowest priority. When the CPU finishes the last job in a batch, if first looks for jobs in the class1 queue and takes as many as possible from it, up to a maximum of k . If there were fewer than k jobs in the class 1 queue as many jobs as possible from the class 2 queue are taken to bring the total of class1 and class 2 jobs to no more than the maximum batch size k, if still more room is left in the batch, the CPU moves on to the class 3 queue. If the total number of jobs waiting in all the queues is less than k, the CPU takes them all and begins running this partially full batch; it not begin any jobs that subsequently arrive until it finishes all of its current batch. If no jobs at all are waiting in the queues, the CPU become idle, and the next arriving job start the CPU running with a batch of size 1. The service requirement of class I job is distributed uniformly between constants a (i) and b)i) minutes. Each class has it own separate arrival processes.

i.e the inter arrival time between two successive class 1 jobs is exponentially distributed with mean r(i) minutes.

i

r(i)

a(i)

b(i)

1

0.2

0.05

0.11

2

1.6

0.94

1.83

3

5.4

4.00

8.00

Initially the system is empty and idle, and the simulation is to run for exactly 720 minutes. For each queue, compute the average, minimum and maximum delay, as well as the time average and maximum length. Also, compute the utilization of the CPU, defined here as the proportion of time it is busy regardless of the number of jobs running. Finally, compute the time average number of jobs running in the CPU ( where 0 jobs are considered running when the CPU is idle). Suppose that a hardware upgrade could increase K to 6. Would this be worth it.

FlexSim 23.2.1
batchingbatch pulling
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image Joerg Vogel commented ·
This looks like an exercise of a university course. Please ask specific questions, if you run into a problem, that you cannot solve by manual and tutorials. Please provide at least a model. You find here an article about academic integrity. You should know by now, what this is.
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Kamesh, as Joerg says...

It looks like this question may be part of a homework assignment or academic project. The professors who assign simulation modeling exercises using FlexSim expect that the academic integrity of their assignments will be maintained. In addition, we are supportive of Honor Codes or Pledges that regulate the behavior surrounding academic assignments.

I recommend reading our best practices page on the subject, which includes some resources that you should find helpful as you use FlexSim for academic purposes. I also highly recommend Dr. Allen Greenwood's FlexSim Primer, which was written specifically for students and professors.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Kamesh,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

0 Answers