[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] qmp: add query-cpus-fast
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH 0/2] qmp: add query-cpus-fast |
Date: |
Wed, 7 Feb 2018 12:50:12 -0500 |
We've recently debugged a huge performance degradation we were getting
on a latency sensitive workload down to the fact that libvirt is
issuing query-cpus. As it turns out, query-cpus always interrupts all
vCPU threads so that they can run ioctl to collect a number of register
information, most of which are not even used by query-cpus at all.
This series adds a new command called query-cpus-fast, which returns
the most relevant information returned by query-cpus without having
to interrupt vCPU threads. This series also updates query-cpus
documentation to advise against its use in production.
More details in individual patches.
Luiz Capitulino (2):
qmp: add query-cpus-fast
qmp: document query-cpus performance issue
cpus.c | 44 ++++++++++++++++++++++++++++++
hmp-commands-info.hx | 14 ++++++++++
hmp.c | 24 +++++++++++++++++
hmp.h | 1 +
qapi-schema.json | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 158 insertions(+)
--
2.14.3
- [Qemu-devel] [PATCH 0/2] qmp: add query-cpus-fast,
Luiz Capitulino <=