From: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
To: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>,
qemu-block@nongnu.org
Cc: qemu-devel@nongnu.org, kwolf@redhat.com, mreitz@redhat.com,
armbru@redhat.com, dgilbert@redhat.com, pbonzini@redhat.com,
eblake@redhat.com, marcandre.lureau@redhat.com, den@openvz.org
Subject: Re: [PATCH 0/2] Increase amount of data for monitor to read
Date: Mon, 9 Nov 2020 20:08:46 +0300 [thread overview]
Message-ID: <8eb2ee1e-78b1-7819-334c-48e36d48727f@virtuozzo.com> (raw)
In-Reply-To: <d48af433-a39d-27ba-8aed-a6957c89d2d1@virtuozzo.com>
On 09.11.2020 13:04, Vladimir Sementsov-Ogievskiy wrote:
> 09.11.2020 11:50, Vladimir Sementsov-Ogievskiy wrote:
>> 06.11.2020 15:42, Andrey Shinkevich wrote:
>>> The subject was discussed here:
>>> https://lists.gnu.org/archive/html/qemu-devel/2017-05/msg00206.html
>>>
>>> This series is a solution for the issue with QMP monitor buffered input.
>>> A little parser is introduced to throttle JSON commands read from the
>>> buffer so that QMP requests do not overwhelm the monitor input queue.
>>> A side effect raised in the test #247 was managed in the first patch.
>>> It may be considered as a workaround. Any sane fix suggested will be
>>> appreciated.
>>>
>>> Note:
>>> This series goes after the Vladimir's one:
>>> '[PATCH v3 00/25] backup performance: block_status + async"'
>>> To make the test #129 passed, the following patch should be applied
>>> first:
>>> '[PATCH v3 01/25] iotests: 129 don't check backup "busy"'.
>>>
[...]
>
>
> Positive thing: the patches do increase performance:
>
> for me, the following command:
>
> (echo "{ 'execute': 'qmp_capabilities' }"; for i in {1..10000}; do echo
> "{ 'execute': 'query-block-jobs' }"; done; echo "{ 'execute': 'quit' }"
> ) | time ./qemu-system-x86_64 -qmp stdio > /dev/null
>
> shows 2.4s on master and 0.6s after patches
>
>
Thank you for testing it. I'd like to include the result to the patch
description with "Tested-by: ..."
Andrey
prev parent reply other threads:[~2020-11-09 17:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-06 12:42 [PATCH 0/2] Increase amount of data for monitor to read Andrey Shinkevich via
2020-11-06 12:42 ` [PATCH 1/2] iotests: add another bash sleep command to 247 Andrey Shinkevich via
2020-11-06 12:42 ` [PATCH 2/2] monitor: increase amount of data for monitor to read Andrey Shinkevich via
2020-11-09 9:55 ` Vladimir Sementsov-Ogievskiy
2020-11-16 11:10 ` Andrey Shinkevich
2020-11-06 15:31 ` [PATCH 0/2] Increase " Andrey Shinkevich
2020-11-09 8:50 ` Vladimir Sementsov-Ogievskiy
2020-11-09 10:04 ` Vladimir Sementsov-Ogievskiy
2020-11-09 17:08 ` Andrey Shinkevich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8eb2ee1e-78b1-7819-334c-48e36d48727f@virtuozzo.com \
--to=andrey.shinkevich@virtuozzo.com \
--cc=armbru@redhat.com \
--cc=den@openvz.org \
--cc=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--cc=kwolf@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=mreitz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=vsementsov@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).