Schedule requests as soon as possible #13
No reviewers
Labels
No labels
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-qos#13
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-qos:fix/limit_scheduling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Let's assume that for some tag
limit = 1000 RPS
defined and eachrequest takes 10 ms to complete. At some point in time 1000 requests
were accepted. Then first request will be scheduled at
now()
, second -at
now() + 1 ms
, third - atnow() + 2 ms
etc. Total processingduration of 1000 requests will be 1 second + 10 ms.
After this fix scheduler looks forward to schedule requests within limit.
So for situation above total processing duration of 1000 requests will be
10 ms in ideal world.
The same for reservation scheduling.
41690c21e5
toa19b28337c
a19b28337c
to57d895c321
WIP: Schedule by limit requests as soon as possibleto WIP: Schedule requests as soon as possibleWIP: Schedule requests as soon as possibleto Schedule requests as soon as possible