Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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