All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] Improve scalability of the SMP related Docs
@ 2021-10-07 10:43 Yanan Wang
  2021-10-07 10:43 ` [RFC PATCH 1/3] qemu-options: Improve scalability of the -smp documentation Yanan Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Yanan Wang @ 2021-10-07 10:43 UTC (permalink / raw)
  To: qemu-devel
  Cc: Andrew Jones, Daniel P . Berrangé,
	Eduardo Habkost, Pierre Morel, Markus Armbruster, Yanan Wang,
	wanghaibin.wang, Paolo Bonzini, Philippe Mathieu-Daudé

Hi,

The motivation of this series is to improve the scalability of SMP
related Docs, so that we can easily/clearly extend them without making
confusion when we plan to introduce more target specific CPU topology
members (e.g. CPU cluster in Arm and CPU drawer/book in s390).

With more and more target specific CPU topology members introduced,
it may not be a good method any longer to put all the mixed parameters
into one single hierarchy and then describe the exact meaning of each
member in the Docs, which makes confusion for the reader. On the contrary,
it may be clearer to describe the currently supported sub-hierarchies
separately and better to list some examples in the Docs. For example,
for now we can describe "sockets/cores/threads" and "sockets/dies/cores/
threads" separately from the mixture of "sockets | dies | cores | threads",
and more sub-hierarchies can be described when new parameters are added.

Based on above consideration, correspondingly -smp docs in qemu-options,
comment of struct CpuTopology and SMP related comments in qapi/machine
are somehow rewritten.

Besides the maintainers, I also keep some people on Cc list who may be
interested in having a look at this. Comments welcome!

Thanks,
Yanan
.

Yanan Wang (3):
  qemu-options: Improve scalability of the -smp documentation
  include/hw/boards: Improve scalability of the CpuTopology comment
  qapi/machine.json: Improve scalability of the SMP related comments

 include/hw/boards.h | 26 +++++++++++--
 qapi/machine.json   | 47 ++++++++++++++++++-----
 qemu-options.hx     | 90 ++++++++++++++++++++++++++++++++++++---------
 3 files changed, 133 insertions(+), 30 deletions(-)

--
2.19.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-20  2:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07 10:43 [RFC PATCH 0/3] Improve scalability of the SMP related Docs Yanan Wang
2021-10-07 10:43 ` [RFC PATCH 1/3] qemu-options: Improve scalability of the -smp documentation Yanan Wang
2021-10-07 10:43 ` [RFC PATCH 2/3] include/hw/boards: Improve scalability of the CpuTopology comment Yanan Wang
2021-10-07 10:43 ` [RFC PATCH 3/3] qapi/machine.json: Improve scalability of the SMP related comments Yanan Wang
2021-10-20  2:20 ` [RFC PATCH 0/3] Improve scalability of the SMP related Docs wangyanan (Y)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.