About the idle driver for calling MWAIT in QEMU/KVM Guest without VM exits.

2019-09-30 Thread Weiwei Jia
Hi Michael and Paolo, I read your patch[1] about better MWAIT emulation in the QEMU/KVM Guest. As shown in [1], you mentioned that you were testing and would post the idle driver calling MWAIT in the QEMU/KVM Guest to avoid VM exits. However, I could not find that idle driver. I appreciate if you

Re: [Qemu-devel] Performance about x-data-plane

2017-01-16 Thread Weiwei Jia
On Mon, Jan 16, 2017 at 10:00 AM, Karl Rister <kris...@redhat.com> wrote: > On 01/16/2017 07:15 AM, Stefan Hajnoczi wrote: >> On Tue, Jan 03, 2017 at 12:02:14PM -0500, Weiwei Jia wrote: >>>> The expensive part is the virtqueue kick. Recently we tried polling the >&g

Re: [Qemu-devel] Performance about x-data-plane

2017-01-16 Thread Weiwei Jia
On Mon, Jan 16, 2017 at 8:15 AM, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Tue, Jan 03, 2017 at 12:02:14PM -0500, Weiwei Jia wrote: >> > The expensive part is the virtqueue kick. Recently we tried polling the >> > virtqueue instead of waiting for the ioeven

Re: [Qemu-devel] Performance about x-data-plane

2017-01-03 Thread Weiwei Jia
Hi Stefan, Thanks for your reply. On Tue, Jan 3, 2017 at 10:50 AM, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Thu, Dec 22, 2016 at 01:34:47AM -0500, Weiwei Jia wrote: >> With QEMU x-data-plane, I find the performance has not been improved >> very much. Please see f

[Qemu-devel] Throughput confusion with data plane

2017-01-01 Thread Weiwei Jia
TW, I have checked several times about my hardware configuration and I think the throughput difference as above should be related to QEMU. Maybe, I miss any configuration about QEMU. Best, Weiwei Jia

Re: [Qemu-devel] [libvirt] Cannot add iothreads label in libvirt xml configuration file

2016-12-23 Thread Weiwei Jia
On Thu, Dec 22, 2016 at 5:01 PM, John Ferlan <jfer...@redhat.com> wrote: > > > On 12/21/2016 12:11 PM, Weiwei Jia wrote: >> Hi, >> >> I cannot add iothreads >> (https://libvirt.org/formatdomain.html#elementsIOThreadsAllocation) in >> the libvirt xml co

Re: [Qemu-devel] [libvirt] Cannot add iothreads label in libvirt xml configuration file

2016-12-22 Thread Weiwei Jia
On Thu, Dec 22, 2016 at 4:33 AM, Daniel P. Berrange <berra...@redhat.com> wrote: > On Wed, Dec 21, 2016 at 12:11:51PM -0500, Weiwei Jia wrote: >> Hi, >> >> I cannot add iothreads >> (https://libvirt.org/formatdomain.html#elementsIOThreadsAllocation) in >> the

Re: [Qemu-devel] [libvirt] Performance about x-data-plane

2016-12-22 Thread Weiwei Jia
On Thu, Dec 22, 2016 at 4:30 AM, Daniel P. Berrange <berra...@redhat.com> wrote: > On Thu, Dec 22, 2016 at 01:34:47AM -0500, Weiwei Jia wrote: >> Hi, >> >> With QEMU x-data-plane, I find the performance has not been improved >> very much. Please see following t

[Qemu-devel] Performance about x-data-plane

2016-12-21 Thread Weiwei Jia
you, Weiwei Jia

Re: [Qemu-devel] Cannot add iothreads label in libvirt xml configuration file

2016-12-21 Thread Weiwei Jia
Sorry to add my libvirt and qemu version. Libvirt version: 2.4.0 QEMU version: 2.3.0 Thanks, Weiwei Jia On Wed, Dec 21, 2016 at 12:11 PM, Weiwei Jia <harryn...@gmail.com> wrote: > Hi, > > I cannot add iothreads > (https://libvirt.org/formatdomain.html#elementsI

[Qemu-devel] Cannot add iothreads label in libvirt xml configuration file

2016-12-21 Thread Weiwei Jia
I config 4 dedicated IOthreads for one drive. Just like above, I want to start 4 IOthreads for virtio-disk0. If true, is my config like above correct? Thank you. Best, Weiwei Jia

Re: [Qemu-devel] Lock contention in QEMU

2016-12-19 Thread Weiwei Jia
Got it. Thank you very much. Best, Weiwei Jia On Mon, Dec 19, 2016 at 5:58 AM, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Fri, Dec 16, 2016 at 04:42:54PM -0500, Weiwei Jia wrote: >> Has x-data-plane been used (or accepted) widely in systems. I have >> this concern si

Re: [Qemu-devel] Lock contention in QEMU

2016-12-16 Thread Weiwei Jia
feature in systems? Thanks, Weiwei Jia On Fri, Dec 16, 2016 at 9:32 AM, Weiwei Jia <harryn...@gmail.com> wrote: > On Fri, Dec 16, 2016 at 4:48 AM, Stefan Hajnoczi <stefa...@gmail.com> wrote: >> On Thu, Dec 15, 2016 at 11:04:23AM -0500, Weiwei Jia wrote: >>> On Thu, D

Re: [Qemu-devel] Lock contention in QEMU

2016-12-16 Thread Weiwei Jia
On Fri, Dec 16, 2016 at 4:48 AM, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Thu, Dec 15, 2016 at 11:04:23AM -0500, Weiwei Jia wrote: >> On Thu, Dec 15, 2016 at 3:06 AM, Stefan Hajnoczi <stefa...@gmail.com> wrote: >> > On Thu, Dec 15, 2016 at 12:17:09AM -0500, W

Re: [Qemu-devel] Lock contention in QEMU

2016-12-15 Thread Weiwei Jia
I will try it later on. Thank you. Best, Weiwei Jia On Thu, Dec 15, 2016 at 7:13 AM, Paolo Bonzini <pbonz...@redhat.com> wrote: > > > On 15/12/2016 09:04, Stefan Hajnoczi wrote: >>> Does this feature only work for VirtIO? Does it work for SCSI or IDE? >> This only w

Re: [Qemu-devel] Lock contention in QEMU

2016-12-15 Thread Weiwei Jia
On Thu, Dec 15, 2016 at 3:06 AM, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Thu, Dec 15, 2016 at 12:17:09AM -0500, Weiwei Jia wrote: >> BTW, do we have an example to show users how to config following >> virtio-blk dataplane commands into XML configuration file? >&g

Re: [Qemu-devel] Lock contention in QEMU

2016-12-15 Thread Weiwei Jia
On Thu, Dec 15, 2016 at 3:04 AM, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Wed, Dec 14, 2016 at 08:06:10PM -0500, Weiwei Jia wrote: >> Hi Stefan, >> >> Thanks for your reply. Please see the inline replies. >> >> On Wed, Dec 14, 2016 at 2:31 PM, Ste

Re: [Qemu-devel] Lock contention in QEMU

2016-12-14 Thread Weiwei Jia
Thank you, Weiwei Jia

Re: [Qemu-devel] Lock contention in QEMU

2016-12-14 Thread Weiwei Jia
Hi Stefan, Thanks for your reply. Please see the inline replies. On Wed, Dec 14, 2016 at 2:31 PM, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Wed, Dec 14, 2016 at 12:58:11AM -0500, Weiwei Jia wrote: >> I find the timeslice of vCPU thread in QEMU/KVM is unstable when th

[Qemu-devel] Lock contention in QEMU

2016-12-13 Thread Weiwei Jia
though there are lots of I/O Read requests on it. Thank you. Best, Weiwei Jia

Re: [Qemu-devel] Timeslice of vCPU thread in QEMU/KVM is not stable

2016-12-09 Thread Weiwei Jia
Hi Pankaj Gupta, Thanks for your reply. I have found the problem after debug Linux Kernel. The problem is once there is I/O thread upon vCPU2 thread of VM1, there will be some mutex (synchronization) produced so that it will be preempted by vCPU2 thread of VM2. After I set

[Qemu-devel] Timeslice of vCPU thread in QEMU/KVM is not stable

2016-12-08 Thread Weiwei Jia
Hi everyone, I am testing the timeslice of vCPU thread in QEMU/KVM. In principle, the timeslice should be stable under following workload but it is unstable after I do experiments with following workload. I appreciate it if you can give me some suggestions. Thanks in advance. Workload settings: