Skip to content

Changed answer, there should be 2 instead of N#14

Open
timepassuser wants to merge 1 commit intoahmedbilal:masterfrom
timepassuser:master
Open

Changed answer, there should be 2 instead of N#14
timepassuser wants to merge 1 commit intoahmedbilal:masterfrom
timepassuser:master

Conversation

@timepassuser
Copy link

Worst case response time in RR with N jobs should be (N-1)q/2 instead of (N-1)q/N as given in the solution.

This is because - sum of all response times will be 0q + 1q + 2q + .... + (N-1)q = N(N-1)q/2, hence average response time is (N-1)q/2

Additionally, (N-1)q/N response time would make the response time shorter than the quantum length.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant