27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SET THROTTLE<br />

Usage Notes<br />

Responses<br />

Messages<br />

1. <strong>CP</strong> can throttle devices that are eligible for I/O assist, but not while the device is<br />

in I/O assist. When a device is in I/O assist, the guest is controlling the device<br />

directly, not <strong>CP</strong>. <strong>CP</strong> can only throttle a device when it controls the I/O to <strong>and</strong><br />

from that device. Thus, if you throttle a device that is currently in I/O assist, <strong>CP</strong><br />

accepts your comm<strong>and</strong>, but does not actually begin throttling the device until<br />

the device is no longer in I/O assist.<br />

2. To display which devices are on the I/O throttling list <strong>and</strong> what their rates are,<br />

use the QUERY THROTTLE comm<strong>and</strong> (page 1030).<br />

3. You can also add devices to the I/O throttling list using the THROTTLE<br />

statement in the system configuration file. For more information about the<br />

THROTTLE statement, see the z/<strong>VM</strong>: <strong>CP</strong> Planning <strong>and</strong> Administration book.<br />

Response 1:<br />

To begin throttling a range of devices, enter the following:<br />

set throttle 800-804 rate 10000<br />

23:08:36 H<strong>CP</strong>THR040E Device 0801 does not exist<br />

23:08:36 H<strong>CP</strong>THR040E Device 0804 does not exist<br />

23:08:36 3 device(s) added to I/O throttling list starting with device 0800<br />

23:08:36 2 device(s) skipped. Rate is 10000 I/Os per second<br />

Response 2:<br />

To stop throttling all devices, enter the following:<br />

set throttle all off<br />

23:09:32 The I/O throttling list has been cleared<br />

Response 3:<br />

To stop throttling a range of devices, enter the following:<br />

set throttle 800-804 off<br />

23:10:36 H<strong>CP</strong>THR040E Device 0801 does not exist<br />

23:10:36 H<strong>CP</strong>THR040E Device 0804 does not exist<br />

23:10:36 3 device(s) deleted from the I/O throttling list starting<br />

with device 0800<br />

23:10:36 2 device(s) skipped<br />

Response 4:<br />

To begin throttling a device, enter the following:<br />

set throttle 800 rate 10000<br />

23:25:24 Device 0800 added to I/O throttling list. Rate 10000 I/Os<br />

per second<br />

Response 5:<br />

To stop throttling a device, enter the following:<br />

set throttle 800 off<br />

23:25:36 Device 0800 deleted from the I/O throttling list<br />

H<strong>CP</strong>002E Invalid oper<strong>and</strong> - oper<strong>and</strong> H<strong>CP</strong>040E Device rdev does not exist<br />

1404 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!