Skip to content

Conversation

@yzhan298
Copy link
Collaborator

@yzhan298 yzhan298 commented Mar 3, 2020

When we set the kvQ capacity to 1, we allow 1 reqs to get into the kvQ. For these two lines:

env.process(osdClient(env, 1, meanInterArrivalTime * 2, meanReqSize, osdQ1))
env.process(osdClient(env, 2, meanInterArrivalTime * 2, meanReqSize, osdQ1))

Does it mean that we should get the ten in order 2,1,2,1,2,1.,..?
But I noticed that we could have order 2,1,2,1,1,2,.... Does this mean we have a priority inversion?
If so, we could count the number of inversion.

The result is shown in the CoDelTest/simulation-codel-out.ipynb. I can compare the inversion number, average throughput, and average latency between blocking and non-blocking case.

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.

3 participants