/openbmc/qemu/docs/ |
H A D | throttle.txt | 17 it works internally. The implementation is in throttle.c. 258 The 'throttle' block filter 261 'throttle' block filter. This filter uses the exact same throttling 274 "qom-type": "throttle-group", 283 throttle-group has a 'limits' property (of type ThrottleLimits as 287 A throttle-group can also be created with the -object command line 292 -object throttle-group,id=group0,x-iops-total=1000,x-bps-write=2097152 298 Once we have a throttle-group we can use the throttle block filter, 317 "driver": "throttle", 319 "throttle-group": "group0", [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 184 | 4 # Test I/O throttle block filter driver interface 37 _require_drivers throttle 52 test_throttle=$($QEMU_IMG --help|grep throttle) 53 [ "$test_throttle" = "" ] && _supported_fmt throttle 68 "qom-type": "throttle-group", 77 "driver": "throttle", 79 "throttle-group": "group0", 95 "qom-type": "throttle-group", 133 "qom-type": "throttle-group", 173 "driver": "throttle",
|
H A D | 258 | 28 def node(node_name, path, backing=None, fmt=None, throttle=None): argument 44 if throttle: 46 'driver': 'throttle', 47 'throttle-group': throttle, 103 qom_type='throttle-group', 112 **node('node4', node4_path, throttle=stream_throttle, 116 backing=node('node0', node0_path, throttle=commit_throttle,
|
H A D | 184.out | 38 …"filename": "json:{\"throttle-group\": \"group0\", \"driver\": \"throttle\", \"file\": {\"driver\"… 39 "format": "throttle", 52 "drv": "throttle", 64 …"file": "json:{\"throttle-group\": \"group0\", \"driver\": \"throttle\", \"file\": {\"driver\": \"… 257 "desc": "Parameter 'throttle-group' is missing"
|
H A D | 258.out | 5 …nts": {"id": "tg", "limits": {"iops-write": 1, "iops-write-max": 1}, "qom-type": "throttle-group"}} 7 …": "IMGFMT", "file": {"driver": "throttle", "file": {"driver": "file", "filename": "TEST_DIR/PID-n… 21 …nts": {"id": "tg", "limits": {"iops-write": 1, "iops-write-max": 1}, "qom-type": "throttle-group"}} 23 …ver": "raw", "file": {"driver": "throttle", "file": {"driver": "file", "filename": "TEST_DIR/PID-n…
|
H A D | 262 | 38 vm.add_object('throttle-group,id=tg0,x-bps-total=65536') 42 vm.add_blockdev('throttle,file=drive0-cor,node-name=drive0-throttle,throttle-group=tg0') 43 vm.add_blockdev('blkdebug,image=drive0-throttle,node-name=drive0-dbg')
|
H A D | 255 | 51 vm.add_object('throttle-group,x-bps-read=4096,id=throttle0') 53 vm.add_blockdev('throttle,throttle-group=throttle0,file=base,node-name=throttled') 100 vm.add_object('throttle-group,x-bps-read=4096,id=throttle0') 108 vm.add_blockdev('throttle,node-name=src-throttled,' + 109 'throttle-group=throttle0,file=src')
|
H A D | 235 | 57 log(vm.qmp('object-add', qom_type='throttle-group', id='tg0', 62 'driver': 'throttle', 63 'throttle-group': 'tg0',
|
H A D | 245 | 568 # Insert (and remove) a throttle filter 574 # Create a throttle-group object 575 opts = { 'qom-type': 'throttle-group', 'id': 'group0', 579 # Add a throttle filter with the group that we just created. 581 opts = { 'driver': 'throttle', 'node-name': 'throttle0', 582 'throttle-group': 'group0', 'file': 'hd0-file' } 585 # Insert the throttle filter between hd0 and hd0-file 588 # Remove the throttle filter from hd0 680 @iotests.skip_if_unsupported(['quorum', 'throttle']) 774 ###### throttle ###### [all …]
|
H A D | 129 | 38 self.vm.add_object('throttle-group,id=tg0,x-bps-total=1024') 40 source_drive = 'driver=throttle,' \ 42 'throttle-group=tg0,' \
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | stream-under-throttle | 4 # Test streaming with throttle nodes on top 51 the base image. Attach them to the VM underneath two throttle nodes, 65 'driver': 'throttle', 67 'throttle-group': 'thrgr-limited', 69 'driver': 'throttle', 70 'throttle-group': 'thrgr-unlimited', 86 self.vm.add_object('throttle-group,id=thrgr-unlimited') 87 self.vm.add_object('throttle-group,id=thrgr-limited,' 102 Do a simple stream beneath the two throttle nodes. Should complete 122 required_fmts=['throttle'])
|
H A D | stream-error-on-reset | 38 # In order to have the block job complete on drain, we (1) throttle its 64 'qom-type': 'throttle-group', 72 'driver': 'throttle', 73 'throttle-group': 'thrgr',
|
H A D | iothreads-commit-active | 49 vm.add_object('throttle-group,x-bps-write=1048576,id=tg0') 61 vm.add_blockdev('throttle,throttle-group=tg0,file=mirror-dst-fmt,'
|
/openbmc/qemu/block/ |
H A D | throttle.c | 23 #include "block/throttle-groups.h" 26 #include "qemu/throttle-options.h" 30 .name = "throttle", 36 .help = "Name of the throttle group", 43 * If this function succeeds then the throttle group name is stored in 60 error_setg(errp, "Please specify a throttle group"); in throttle_parse_options() 64 error_setg(errp, "Throttle group '%s' does not exist", group_name); in throttle_parse_options() 242 .format_name = "throttle",
|
/openbmc/linux/Documentation/admin-guide/cgroup-v1/ |
D | blkio-controller.rst |
|
/openbmc/qemu/tests/unit/ |
H A D | test-throttle.c | 2 * Throttle infrastructure tests 19 #include "qemu/throttle.h" 23 #include "block/throttle-groups.h" 334 /* functions to test is throttle is enabled by a config */ 815 g_test_add_func("/throttle/leak_bucket", test_leak_bucket); in main() 816 g_test_add_func("/throttle/compute_wait", test_compute_wait); in main() 817 g_test_add_func("/throttle/init", test_init); in main() 818 g_test_add_func("/throttle/init_readonly", test_init_readonly); in main() 819 g_test_add_func("/throttle/init_writeonly", test_init_writeonly); in main() 820 g_test_add_func("/throttle/destroy", test_destroy); in main() [all …]
|
/openbmc/qemu/docs/devel/migration/ |
H A D | dirty-limit.rst | 6 dirty ring to throttle down the guest during live migration. 13 main --------------> throttle thread ------------> PREPARE(1) <-------- 29 the QEMU main thread starts the throttle thread. The throttle thread, once 59 After completing the three above stages, the throttle thread loops back
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Control/Power/Throttle/ |
H A D | meson.build | 3 sdbusplus_current_path = 'xyz/openbmc_project/Control/Power/Throttle' 8 '../../../../../../yaml/xyz/openbmc_project/Control/Power/Throttle.interface.yaml', 28 'xyz/openbmc_project/Control/Power/Throttle',
|
/openbmc/linux/include/linux/ |
D | dm-kcopyd.h |
|
/openbmc/qemu/qapi/ |
H A D | migration.json | 226 # @cpu-throttle-percentage: percentage of time guest cpus are being 278 # @dirty-limit-throttle-time-per-round: Maximum throttle time (in 305 '*cpu-throttle-percentage': 'int', 319 '*dirty-limit-throttle-time-per-round': 'uint64', 442 # @auto-converge: If enabled, QEMU will automatically throttle down 510 # @dirty-limit: If enabled, migration will throttle vCPUs as needed to 789 # @throttle-trigger-threshold: The ratio of bytes_dirty_period and 793 # @cpu-throttle-initial: Initial percentage of time guest cpus are 797 # @cpu-throttle-increment: throttle percentage increase each time 801 # @cpu-throttle-tailslow: Make CPU throttling slower at tail stage. [all …]
|
/openbmc/qemu/fsdev/ |
H A D | qemu-fsdev-throttle.h | 2 * Fsdev Throttle 20 #include "qemu/throttle.h"
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Control/Power/ |
H A D | meson.build | 8 subdir('Throttle') subdir 159 '../../../../../yaml/xyz/openbmc_project/Control/Power/Throttle.interface.yaml', 161 output: ['Throttle.md'], 173 'xyz/openbmc_project/Control/Power/Throttle',
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Power/ |
H A D | Throttle.interface.yaml | 2 This interface provides information related to the throttle status of a 47 Objects implementing Throttle can optionally implement the
|
/openbmc/qemu/migration/ |
H A D | cpu-throttle.c | 30 #include "system/cpu-throttle.h" 101 * boolean to store whether throttle is already active or not, in cpu_throttle_set() 108 /* Ensure throttle percentage is within valid range */ in cpu_throttle_set()
|
/openbmc/qemu/include/system/ |
H A D | cpu-throttle.h | 62 * Returns the vcpu throttle percentage. See cpu_throttle_set for details. 64 * Returns: The throttle percentage in range 1 to 99.
|