Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgroup: blkio: adjust block io bps limit by weight
Kernel now supports cgroup bps and iops hard limit by io-throttling. But that's not a scalable way, because block devices' bandwith is always changing over time. This patch dynamically adjusts bps limit of each blkio cgroup according to its pre-set weight. Additionally, if a process has not issued any io request during a time window, its weight will be shared by other processes until its next io request. Signed-off-by: Lei Chen <lennychen@tencent.com>
- Loading branch information
Lei Chen
committed
Mar 11, 2020
1 parent
c18a297
commit e8be225
Showing
5 changed files
with
484 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.