cloud-hypervisor/docs
Thomas Barrett c297d8d796 vmm: use RateLimiterGroup for virtio-blk devices
Add a 'rate_limit_groups' field to VmConfig that defines a set of
named RateLimiterGroups.

When the 'rate_limit_group' field of DiskConfig is defined, all
virtio-blk queues will be rate-limited by a shared RateLimiterGroup.
The lifecycle of all RateLimiterGroups is tied to the Vm.
A RateLimiterGroup may exist even if no Disks are configured to use
the RateLimiterGroup. Disks may be hot-added or hot-removed from the
RateLimiterGroup.

When the 'rate_limiter' field of DiskConfig is defined, we construct
an anonymous RateLimiterGroup whose lifecycle is tied to the Disk.
This is primarily done for api backwards compatability. Importantly,
the behavior is not the same! This implementation rate_limits the
aggregate bandwidth / iops of an individual disk rather than the
bandwidth / iops of an individual queue of a disk.

When neither the 'rate_limit_group' or the 'rate_limiter' fields of
DiskConfig is defined, the Disk is not rate-limited.

Signed-off-by: Thomas Barrett <tbarrett@crusoeenergy.com>
2024-01-03 10:21:06 -08:00
..
amd_sev_snp.md docs: Add documentations for MSHV and related features 2023-11-10 11:30:40 -08:00
api.md scripts: more compatible shebangs 2023-12-16 09:35:32 +00:00
balloon.md docs/balloon: fix typos 2023-09-23 09:37:32 +01:00
building.md doc: Add musl-tools to instructions for build 2023-01-26 08:09:46 -08:00
COPYING.docs docs: Update license to match the one specified in the project charter 2022-02-01 16:56:19 +00:00
coverage.md docs: add notes on collecting coverage data from in-tree tests 2023-10-20 10:35:13 -07:00
cpu.md vmm: Add support for enabling AMX in vm guests 2022-03-25 14:11:54 -07:00
custom-image.md docs: Fix broken link to macvtap doc in custom-image.md 2023-06-02 14:57:24 -07:00
debug-port.md docs: update command line options to use clap 2023-10-20 11:44:28 -07:00
device_model.md Change to . 2022-06-27 11:24:57 +01:00
fs.md docs: mention thread pool option for virtiofsd 2022-08-03 20:36:22 +00:00
fuzzing.md doc: Stop advertizing QCOW usage at some places in doc 2021-08-05 09:24:45 +02:00
gdb.md docs: update command line options to use clap 2023-10-20 11:44:28 -07:00
heap-profiling.md docs: Add instructions for heap profiling 2023-01-17 14:02:01 +00:00
hotplug.md docs: update command line options to use clap 2023-10-20 11:44:28 -07:00
intel_sgx.md docs: Replace Cloud-Hypervisor with Cloud Hypervisor syntax 2021-11-15 17:27:23 +01:00
intel_tdx.md docs: intel_tdx: add info about dependencies 2023-09-11 16:39:16 +01:00
io_throttling.md vmm: use RateLimiterGroup for virtio-blk devices 2024-01-03 10:21:06 -08:00
iommu.md docs: update command line options to use clap 2023-10-20 11:44:28 -07:00
live_migration.md docs: update command line options to use clap 2023-10-20 11:44:28 -07:00
logging.md docs: update command line options to use clap 2023-10-20 11:44:28 -07:00
macvtap-bridge.md docs: Fix some typos in docs and comments 2021-05-18 17:19:12 +01:00
memory.md docs: update command line options to use clap 2023-10-20 11:44:28 -07:00
mshv.md docs: Add documentations for MSHV and related features 2023-11-10 11:30:40 -08:00
performance_metrics.md docs: Add a documentation for performance metrics 2022-03-14 09:41:51 +00:00
profiling.md docs: update command line options to use clap 2023-10-20 11:44:28 -07:00
releases.md doc: Initial add releases.md 2022-04-29 11:19:45 +01:00
seccomp.md docs: seccomp: Enhance strace command to print thread name 2022-11-11 16:47:24 +00:00
snapshot_restore.md docs: update command line options to use clap 2023-10-20 11:44:28 -07:00
tpm.md docs: Fix a typo on the doc for tpm 2022-11-27 18:55:07 +00:00
tracing.md misc: Fix various spelling errors using typos 2023-09-09 10:46:21 +01:00
uefi.md docs: update UEFI.md to reference upstream tianocore EDK2 repository 2022-12-13 18:16:34 +01:00
vdpa.md docs: Add documentation for vDPA 2022-03-25 15:30:20 +01:00
vfio-user.md docs/vfio-user: Add more description on NVMe Device part 2021-11-22 11:34:42 -08:00
vfio.md docs: Update VFIO documentation 2021-11-16 11:46:41 +01:00
vhost-user-blk-testing.md docs: update command line options to use clap 2023-10-20 11:44:28 -07:00
vhost-user-net-testing.md docs: Remove an extra CR 2022-05-18 10:18:52 +01:00
virtiofs-root.md docs: Update documentation for Rust based virtiofsd 2022-02-21 10:42:36 +00:00
vsock.md docs: fix the description of host/guest in vsock 2023-10-19 09:39:17 -07:00
windows.md docs: Add a missing backslash 2023-12-11 13:30:24 +00:00