Bug 1949845
Summary: | Run testpmd after enable hyperthreading and do qemu thread priority guest got hung | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | mhou <mhou> |
Component: | kernel-rt | Assignee: | Virtualization Maintenance <virt-maint> |
kernel-rt sub component: | KVM | QA Contact: | Pei Zhang <pezhang> |
Status: | CLOSED NOTABUG | Docs Contact: | |
Severity: | low | ||
Priority: | low | CC: | bhu, chayang, ctrautma, jinzhao, jlelli, juri.lelli, juzhang, kzhang, lcapitulino, mhou, mtosatti, virt-maint |
Version: | 8.2 | Keywords: | Triaged |
Target Milestone: | beta | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-27 09:49:48 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: | |||
Bug Blocks: | 1932086 |
Description
mhou
2021-04-15 08:52:05 UTC
Hello Minxi, Does this testing scenario works with libvirt and disabling HT? As customers use kvm-rt from libvirt layer. And I think we suggest users to disable HT for the KVM-RT for the performance guarantee.Thanks. Best regards, Pei Hello Pei I thought when using libvirt to start a guest, it will work as well. It just occurs when using qemu. From the perspective of qemu, this situation will be encountered regardless of whether HT is turned off. (In reply to mhou from comment #2) > Hello Pei > > I thought when using libvirt to start a guest, it will work as well. It just > occurs when using qemu. From the perspective of qemu, this situation will be > encountered regardless of whether HT is turned off. Do you mean that it works with libvirt? We only support running qemu via libvirt. Actually, I still can't find an easy way to convert test qemu cmd[1] to XML file. As per talk with Pei, Pei already doing enough tuning test on libvirt. So I thought when using libvirt to start a guest, it will work as well. test qemu cmd[1] /bin/bash -c "sudo -E taskset -c 23,24,25,26,27,28,29,30,31 /usr/libexec/qemu-kvm -name test,debug-threads=on -m 8192 -machine q35,accel=kvm,usb=off,vmport=off,dump-guest-core=off,kernel_irqchip=split -overcommit mem-lock=on -smp 9,sockets=9,cores=1,threads=1 -cpu host,migratable=on,tsc-deadline=on,pmu=off -drive if=ide,file=rhel8.3-vsperf-4Q-noviommu.qcow2 -boot c --enable-kvm -monitor unix:/tmp/vm0monitor,server,nowait -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on,prealloc=yes,host-nodes=0,policy=bind -numa node,cpus=0-8,nodeid=0,memdev=mem -nographic -vnc :0 -name Client0 -global kvm-pit.lost_tick_policy=delay -no-hpet -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on -snapshot -net none -no-reboot -chardev socket,id=char0,path=/var/run/openvswitch/dpdkvhostuserclient0,server -netdev type=vhost-user,id=net1,chardev=char0,vhostforce,queues=4 -device virtio-net-pci,mac=00:00:00:00:00:01,netdev=net1,csum=off,mrg_rxbuf=off,gso=off,guest_tso4=off,guest_tso6=off,guest_ecn=off,rx_queue_size=1024,mq=on,vectors=10 -chardev socket,id=char1,path=/var/run/openvswitch/dpdkvhostuserclient1,server -netdev type=vhost-user,id=net2,chardev=char1,vhostforce,queues=4 -device virtio-net-pci,mac=00:00:00:00:00:02,netdev=net2,csum=off,mrg_rxbuf=off,gso=off,guest_tso4=off,guest_tso6=off,guest_ecn=off,rx_queue_size=1024,mq=on,vectors=10" (In reply to mhou from comment #4) > Actually, I still can't find an easy way to convert test qemu cmd[1] to XML > file. As per talk with Pei, Pei already doing enough tuning test on libvirt. > So I thought when using libvirt to start a guest, it will work as well. Hi Minxi, Thanks a lot for this testing and for filing the BZ! It's important that we know about possible bugs, especially crashes and hung tasks. As it turns out, we only support running QEMU through libvirt. If you think this will work via libvirt, would it make sense to close the BZ? Or, we could keep it open but we'd need to convert your command-line to a working XML file and try to reproduce with libvirt and a proper KVM-RT configuration. PS: I'm changing priority to low since we have the expectation this will work under libvirt. |