我正在阅读 kernel[1] 文档并对cpu.cfs_period_us这部分内容感到困惑:
3. Limit a group to 20% of 1 CPU.
With 50ms period, 10ms quota will be equivalent to 20% of 1 CPU.
# echo 10000 > cpu.cfs_quota_us /* quota = 10ms */
# echo 50000 > cpu.cfs_period_us /* period = 50ms */
By using a small period here we are ensuring a consistent latency
response at the expense of burst capacity.
Run Code Online (Sandbox Code Playgroud)
如果我“使用一小段时间”,我不清楚有什么区别:
是什么意思ensuring a consistent latency response at the expense of burst capacity? …
linux-kernel ×1