Re: [PATCH] qemu: make block io tuning smarter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/13/2012 12:01 AM, Osier Yang wrote:
> On 02/11/2012 05:56 AM, Eric Blake wrote:
>> When blkdeviotune was first committed in 0.9.8, we had the limitation
>> that setting one value reset all others.  But bytes and iops should
>> be relatively independent.  Furthermore, setting tuning values on
>> a live domain followed by dumpxml did not output the new settings.
>>
>> * src/qemu/qemu_driver.c (qemuDiskPathToAlias): Add parameter, and
>> update callers.
>> (qemuDomainSetBlockIoTune): Don't lose previous unrelated
>> settings.  Make live changes reflect to dumpxml output.
>> * tools/virsh.pod (blkdeviotune): Update documentation.
>> ---
>>   src/qemu/qemu_driver.c |   45
>> +++++++++++++++++++++++++++++++++++++++++----
>>   tools/virsh.pod        |    5 +++--
>>   2 files changed, 44 insertions(+), 6 deletions(-)
>>

>>
>> -When setting any value, all remaining values are reset to unlimited,
>> -an explicit 0 also clears any limit.  A non-zero value for a given total
>> +Bytes and iops values are independent, but setting only one value (such
>> +as --read_bytes_sec) resets the other two in that category to unlimited.
>> +An explicit 0 also clears any limit.  A non-zero value for a given total
>>   cannot be mixed with non-zero values for read or write.
>>
>>   If I<--live>  is specified, affect a running guest.
> 
> ACK

Thanks; pushed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]