Bug 1358141

Summary: Removal of the "x-" prefix for dynamic cpu throttling
Product: Red Hat Enterprise Linux 7 Reporter: zhe peng <zpeng>
Component: qemu-kvm-rhevAssignee: Amit Shah <amit.shah>
Status: CLOSED ERRATA QA Contact: Qianqian Zhu <qizhu>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: chayang, dyuan, hhuang, jdenemar, jsuchane, juzhang, knoel, michal.skrivanek, mzhan, rbalakri, sherold, virt-bugs, virt-maint, zpeng
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-rhev-2.6.0-19.el7 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1289288 Environment:
Last Closed: 2016-11-07 21:24:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1289285, 1289288, 1289290, 1289291    
Bug Blocks: 1313485    

Comment 2 Ademar Reis 2016-07-20 11:22:38 UTC
Looks like this is the upstream command to be backported:


"""
commit d85a31d1f4d45462b7ca333190b5d14fad982f3e
Author: Jason J. Herne <jjherne.ibm.com>
Date:   Thu Apr 21 14:07:18 2016 -0400

    migration: Promote improved autoconverge commands out of experimental state
    
    The new autoconverge throttling commands have been tested for a release now. It
    is time to move them out of the experimental state.
    
    Signed-off-by: Jason J. Herne <jjherne.ibm.com>
    Message-Id: <1461262038-8197-1-git-send-email-jjherne.ibm.com>
    Signed-off-by: Amit Shah <amit.shah>
"""


Reassign to Amit.

Comment 3 Miroslav Rezanina 2016-08-05 10:57:14 UTC
Fix included in qemu-kvm-rhev-2.6.0-19.el7

Comment 5 Qianqian Zhu 2016-08-09 07:57:11 UTC
Verified with:
qemu-kvm-rhev-2.6.0-19.el7.x86_64
kernel-3.10.0-478.el7.x86_64

Steps:
1. Launch guest:
 /usr/libexec/qemu-kvm -name linux -cpu Opteron_G5 -m 2048 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1  -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 -drive file=/nfsmnt/RHEL-Server-7.3-64-virtio-scsi.raw,if=none,id=scsi0,format=raw  -device virtio-scsi-pci,id=scsi0 -device scsi-disk,drive=scsi0,scsi-id=0,lun=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -spice port=5901,disable-ticketing -vga qxl -global qxl-vga.revision=3 -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=3C:D9:2B:09:AB:44,bus=pci.0,addr=0x4 -monitor stdio

2. Check migrate_set_parameter command

Result:
(qemu) migrate_set_parameter cp
cpu-throttle-increment  cpu-throttle-initial

Comment 6 Qianqian Zhu 2016-08-26 08:10:00 UTC
Supplementation:
qmp case:
{"execute":"query-migrate-parameters"}                
{"return": {"cpu-throttle-initial": 20, "decompress-threads": 2, "compress-threads": 8, "compress-level": 1, "cpu-throttle-increment": 10}}
{ "execute": "migrate-set-parameters" , "arguments":{"cpu-throttle-initial":30}}
{"return": {}}
{ "execute": "migrate-set-parameters" , "arguments":{"cpu-throttle-increment": 15}}
{"return": {}}

Comment 8 errata-xmlrpc 2016-11-07 21:24:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2673.html