Method and apparatus for adjusting I/O channel on virtual platform
Abstract
A method and an apparatus for adjusting an input/output (I/O) channel on a virtual platform, and the method for adjusting an I/O channel includes: counting, by a host, current average I/O throughput of multiple virtual machines (VMs) operating on the host; increasing or decreasing, by the host, working threads for processing the VMs between front devices and back devices of the multiple VMs according to the current average I/O throughput; and adjusting, by the host, a mapping relationship between queues in the front device, queues in the back devices of the multiple VMs, and working threads for processing the VMs. According to the present invention, when the I/O throughput decreases, idle I/O channel resources are released, thereby avoiding a waste of the I/O channel resources; when the I/O throughput increases, the I/O channel resources are increased, resulting in an improved data transmission capability of the I/O channels.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for adjusting an input/output (I/O) channel on a virtual platform, comprising: counting, by a host, a current average I/O throughput of a plurality of virtual machines (VMs) operating on the host; increasing, by the host, working threads for processing VMs between a plurality of front devices and a plurality of back devices of the VMs when the current average I/O throughput is greater than a first threshold value, wherein the current average I/O throughput of the VMs is less than the first threshold value after the working threads are increased; decreasing, by the host, working thread
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (2)
- Foreign Communication From A Counterpart Application, PCT Application No. PCT/CN2013/080837, Chinese Search Report dated Nov. 14, 2013, 6 pages.
- Foreign Communication From A Counterpart Application, PCT Application No. PCT/CN2013/080837, Chinese Written Opinion dated Nov. 14, 2013, 5 pages.