/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/linux/Documentation/devicetree/bindings/thermal/ |
H A D | nvidia,tegra124-soctherm.yaml | 62 throttle-cfgs: 65 hardware throttle events. These events can be set as cooling devices. 66 Throttle event sub-nodes must be named as "light" or "heavy". 76 description: Each throttles has its own throttle settings, so the 77 SW need to set priorities for various throttle, the HW arbiter 78 can select the final throttle settings. Bigger value indicates 94 of pulse skippers, which used to throttle clock frequencies. It 110 level of pulse skippers, which used to throttle clock 125 # Tegra210 specific and valid only for OCx throttle events 145 nvidia,throttle-period-us: [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 | 37 …"filename": "json:{\"throttle-group\": \"group0\", \"driver\": \"throttle\", \"file\": {\"driver\"… 38 "format": "throttle", 45 "drv": "throttle", 57 …"file": "json:{\"throttle-group\": \"group0\", \"driver\": \"throttle\", \"file\": {\"driver\": \"… 247 "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 | 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 | 235 | 57 log(vm.qmp('object-add', qom_type='throttle-group', id='tg0', 62 'driver': 'throttle', 63 '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',
|
/openbmc/linux/drivers/thermal/ |
H A D | gov_step_wise.c | 31 enum thermal_trend trend, bool throttle) in get_target_state() argument 47 if (throttle) { in get_target_state() 56 if (throttle) { in get_target_state() 87 bool throttle = false; in thermal_zone_trip_update() local 93 throttle = true; in thermal_zone_trip_update() 97 dev_dbg(&tz->device, "Trip%d[type=%d,temp=%d]:trend=%d,throttle=%d\n", in thermal_zone_trip_update() 98 trip_id, trip->type, trip->temperature, trend, throttle); in thermal_zone_trip_update() 105 instance->target = get_target_state(instance, trend, throttle); in thermal_zone_trip_update() 133 * Throttling Logic: This uses the trend of the thermal zone to throttle. 155 .throttle = step_wise_throttle,
|
H A D | gov_fair_share.c | 55 * throttle state of the cooling devices associated with the given zone. 58 * P1. max_state: Maximum throttle state exposed by the cooling device. 63 * We do not want to throttle too much when we trip a lower temperature, 111 .throttle = fair_share_throttle,
|
/openbmc/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | blkio-controller.rst | 38 echo "8:16 1048576" > /sys/fs/cgroup/blkio/blkio.throttle.read_bps_device 50 Limits for writes can be put using blkio.throttle.write_bps_device file. 252 blkio.throttle.read_bps_device 257 echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.read_bps_device 259 blkio.throttle.write_bps_device 264 echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.write_bps_device 266 blkio.throttle.read_iops_device 271 echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.read_iops_device 273 blkio.throttle.write_iops_device 278 echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.write_iops_device [all …]
|
/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/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/qapi/ |
H A D | migration.json | 221 # @cpu-throttle-percentage: percentage of time guest cpus are being 248 # @dirty-limit-throttle-time-per-round: Maximum throttle time (in 270 '*cpu-throttle-percentage': 'int', 276 '*dirty-limit-throttle-time-per-round': 'uint64', 401 # @auto-converge: If enabled, QEMU will automatically throttle down 469 # @dirty-limit: If enabled, migration will throttle vCPUs as needed to 709 # @throttle-trigger-threshold: The ratio of bytes_dirty_period and 713 # @cpu-throttle-initial: Initial percentage of time guest cpus are 717 # @cpu-throttle-increment: throttle percentage increase each time 721 # @cpu-throttle-tailslow: Make CPU throttling slower at tail stage At [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/linux/include/linux/ |
H A D | dm-kcopyd.h | 27 unsigned int throttle; member 45 module_param_named(name, dm_kcopyd_throttle.throttle, uint, 0644); \ 50 * throttle can be NULL if you don't want any throttling. 53 struct dm_kcopyd_client *dm_kcopyd_client_create(struct dm_kcopyd_throttle *throttle);
|
/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', 23 'xyz/openbmc_project/Control/Power/Throttle',
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_aspeed_vuart.c | 44 * If we fill the tty flip buffers, we throttle the data ready interrupt 274 bool throttle) in __aspeed_vuart_set_throttle() argument 282 if (!throttle) in __aspeed_vuart_set_throttle() 286 static void aspeed_vuart_set_throttle(struct uart_port *port, bool throttle) in aspeed_vuart_set_throttle() argument 292 __aspeed_vuart_set_throttle(up, throttle); in aspeed_vuart_set_throttle() 322 * have throttle/unthrottle callbacks, we've seen that the VUART device can 324 * against the throttle threshold. This results in dropped characters before 325 * the throttle. 328 * throttle now and schedule an unthrottle for later, once the ldisc has had 351 /* throttle and schedule an unthrottle later */ in aspeed_vuart_handle_irq() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/include/ |
H A D | kgd_pp_interface.h | 477 /* Throttle status */ 529 /* Throttle status */ 588 /* Throttle status (ASIC dependent) */ 650 /* Throttle status */ 677 /* Throttle status (ASIC independent) */ 726 /* Throttle status */ 776 /* Throttle status */ 826 /* Throttle status (ASIC dependent) */ 834 /* Throttle status (ASIC independent) */ 879 /* Throttle status (ASIC dependent) */ [all …]
|
/openbmc/linux/drivers/thermal/tegra/ |
H A D | soctherm.c | 497 * throttrip_program() - Configures the hardware to throttle the 501 * @stc: pointer to the throttle need to be triggered 504 * Sets the thermal trip threshold and throttle event of the given sensor 506 * throttle. 717 * "THROTTLE" trip points , using "thermtrips", "critical" or "hot" 720 * After they have been configured, THERMTRIP or THROTTLE will take 730 * THROTTLE has been enabled successfully when a message similar to 732 * ""throttrip: will throttle when sensor group XXX reaches YYYYYY mC" 784 "throttrip: will throttle when %s reaches %d mC\n", in tegra_soctherm_set_hwtrips() 790 dev_info(dev, "throttrip: %s: missing throttle cdev\n", in tegra_soctherm_set_hwtrips() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-intel-i915-hwmon | 15 The power controller will throttle the operating frequency 47 for client products. The power controller will throttle the 60 exposed for server products. The power controller will throttle
|