mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-23 22:17:19 +00:00
clh: Expose net rate limiter config
With everything implemented, let's now expose the net rate limiter configuration options in the Cloud Hypervisor configuration file. Fixes: #4017 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
a88adabaae
commit
7580bb5a78
@ -180,6 +180,42 @@ block_device_driver = "virtio-blk"
|
|||||||
# but it will not abort container execution.
|
# but it will not abort container execution.
|
||||||
#guest_hook_path = "/usr/share/oci/hooks"
|
#guest_hook_path = "/usr/share/oci/hooks"
|
||||||
#
|
#
|
||||||
|
# These options are related to network rate limiter at the VMM level, and are
|
||||||
|
# based on the Cloud Hypervisor I/O throttling. Those are disabled by default
|
||||||
|
# and we strongly advise users to refer the Cloud Hypervisor official
|
||||||
|
# documentation for a better understanding of its internals:
|
||||||
|
# https://github.com/cloud-hypervisor/cloud-hypervisor/blob/main/docs/io_throttling.md
|
||||||
|
#
|
||||||
|
# Bandwidth rate limiter options
|
||||||
|
#
|
||||||
|
# net_rate_limiter_bw_max_rate controls network I/O bandwidth (size in bits/sec
|
||||||
|
# for SB/VM).
|
||||||
|
# The same value is used for inbound and outbound bandwidth.
|
||||||
|
# Default 0-sized value means unlimited rate.
|
||||||
|
#net_rate_limiter_bw_max_rate = 0
|
||||||
|
#
|
||||||
|
# net_rate_limiter_bw_one_time_burst increases the initial max rate and this
|
||||||
|
# initial extra credit does *NOT* affect the overall limit and can be used for
|
||||||
|
# an *initial* burst of data.
|
||||||
|
# This is *optional* and only takes effect if net_rate_limiter_bw_max_rate is
|
||||||
|
# set to a non zero value.
|
||||||
|
#net_rate_limiter_bw_one_time_burst = 0
|
||||||
|
#
|
||||||
|
# Operation rate limiter options
|
||||||
|
#
|
||||||
|
# net_rate_limiter_ops_max_rate controls network I/O bandwidth (size in ops/sec
|
||||||
|
# for SB/VM).
|
||||||
|
# The same value is used for inbound and outbound bandwidth.
|
||||||
|
# Default 0-sized value means unlimited rate.
|
||||||
|
#net_rate_limiter_ops_max_rate = 0
|
||||||
|
#
|
||||||
|
# net_rate_limiter_ops_one_time_burst increases the initial max rate and this
|
||||||
|
# initial extra credit does *NOT* affect the overall limit and can be used for
|
||||||
|
# an *initial* burst of data.
|
||||||
|
# This is *optional* and only takes effect if net_rate_limiter_bw_max_rate is
|
||||||
|
# set to a non zero value.
|
||||||
|
#net_rate_limiter_ops_one_time_burst = 0
|
||||||
|
|
||||||
[agent.@PROJECT_TYPE@]
|
[agent.@PROJECT_TYPE@]
|
||||||
# If enabled, make the agent display debug-level messages.
|
# If enabled, make the agent display debug-level messages.
|
||||||
# (default: disabled)
|
# (default: disabled)
|
||||||
|
Loading…
Reference in New Issue
Block a user