subject

Xem tập các tiến trình sau đây, với thời gian cần chạy ở cột Burst Time được cho ở đơn vị mili giây.
Process

Burst Time

Priority

P1 P2 P3 P4 P5
BT 5 3 1 7 4
Priority 4 1 2 2 3
Cho rằng các tiến trình đến theo thứ tự P1, P2, P3, P4, P5, tại thời điểm 0.0

a. Vẽ bốn biểu đồ Gantt minh họa việc thực thi các tiến trình này lần lượt sử dụng các thuật toán lập lịch sau: FCFS, SJF, Mức độ ưu tiên không giữ quyền ưu tiên (non-preemptive priority) (số ưu tiên lớn hơn hàm ý độ ưu tiên cao hơn) và RR (một lượng thời gian = 2).
b. Thời gian quay vòng của mỗi quá trình cho mỗi thuật toán lập lịch trình trong phần a là bao nhiêu?
c. Thời gian chờ đợi của mỗi quá trình cho mỗi tiến trình trong từng giải thuật là bao nhiêu?
d. Những thuật toán nào dẫn đến thời gian đợi trung bình nhỏ nhất (tính trên tất cả các tiến trình)?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:10
Ihave a music player on my phone. i can buy songs, add them to playlists and play them. obviously it would be redundant to store each song in each playlist; each playlist is just a list of pointers to the songs. for this lab you will simulate this behavior. your program will need to have options to: add songs to the system library (you will store the text of the first line of the song, rather than the audio) add playlists add songs to a playlist list playlists play a playlist list all of the songs in the library with a count of how many times each song has been played remove a song from a playlist remove a playlist remove a song from the library (and thus from all playlists that contain it) note that we will not be checking many error cases. in real programming this would be bad, you should usually try to recognize and respond to as many types of errors as you can. in the context of class we are trying to acquaint you with as many concepts as possible, so for the sake of educational efficiency we will not be checking most errors in this lab, you may assume that your user provides correct input. you may add all appropriate error testing if you wish, but we will not be testing for it.
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
in 2007, floridians died in alcohol-related collisions.a.  501b.  1,051c.  5,015d.  10,839
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What type of slide show is a dynamic and eye-catching way to familiarize potential customers with what your company has to offer? a. ole b. photo album c. brochure d. office clipboard
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
In the blank libreoffice writer document, to start the process of entering a date field into a letter, click on the insert menu. edit menu. file menu. fields menu.
Answers: 3
You know the right answer?
Xem tập các tiến trình sau đây, với thời gian cần chạy ở cột Burst Time được cho ở đơn vị mili giây....
Questions
question
Mathematics, 29.12.2019 21:31
question
English, 29.12.2019 21:31
question
Computers and Technology, 29.12.2019 21:31
Questions on the website: 13722362