qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] monitor: increase amount of data for monitor to


From: Denis Lunev
Subject: Re: [Qemu-devel] [PATCH] monitor: increase amount of data for monitor to read
Date: Wed, 3 Jul 2019 07:18:39 +0000

On 7/3/19 9:36 AM, Markus Armbruster wrote:
> Did this fall through the cracks?
>
> Denis Plotnikov <address@hidden> writes:
>
>> Right now QMP and HMP monitors read 1 byte at a time from the socket, which
>> is very inefficient. With 100+ VMs on the host this easily reasults in
>> a lot of unnecessary system calls and CPU usage in the system.
> Yes, reading one byte at a time is awful.  But QMP is control plane; I
> didn't expect it to impact system performance.  How are you using QMP?
> Just curious, not actually opposed to improving QMP efficiency.
500 VMs on a host, each 30 seconds libvirts executes AFAIR 3-5 commands
with default settings. This results in at least some load. It is not very
significant, but it is noticeable.

This reduces idle CPU consumption around 1-2% observable via top, which is
not that small amount.

Den

reply via email to

[Prev in Thread] Current Thread [Next in Thread]