CFQ: add think time check for service tree and group
Status from this message: I applied 1-3, thanks. 1 was hand applied, since it didn't apply
Get series with b4
b4 am 1310434672.15392.283.camel@sli10-conroeVersions newest first · linked by author and title
- v2 Latest0 of 3 patches 2 repliesApplied
- v13 patches 11 repliesSuperseded
Changes in v2 from the cover letter
1. addressed some good comments from Vivek
2. add more test to make sure the patches don't change behavior of queues without think time.
Patches in v2 Applied
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Vivek Goyal |
|---|---|
| Series | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3]CFQ: add think time check for service tree and group
Hi,
Currently when the last queue of a service tree/group is empty, CFQ
doesn't expire the queue. This is to allow requests from the tree/group come soon, so tree/group doesn't miss its share. But if the think time is big, the assumption isn't correct. idling the queue is just wasting bandwidth.
Originally I was hoping this can resolve Vivek's fsync issue, but it doesn't. The fsync issue is caused by queue idling. But since think time check only helps for think time above default queue idle time (8ms), think time check doesn't help for the fsync issue.
On the other hand, think time check is still helpful for queues with think time. I had test case in follow patches show throughput improvement without sacrifice tree/group shares.
v1->v2:
1. addressed some good comments from Vivek
2. add more test to make sure the patches don't change behavior of queues without think time.
Thanks,
Shaohua