qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Initialize backend memory objects in parallel
@ 2024-01-08 15:10 Mark Kanda
  2024-01-08 15:10 ` [PATCH v1 1/2] oslib-posix: refactor memory prealloc threads Mark Kanda
  2024-01-08 15:10 ` [PATCH v1 2/2] oslib-posix: initialize backend memory objects in parallel Mark Kanda
  0 siblings, 2 replies; 11+ messages in thread
From: Mark Kanda @ 2024-01-08 15:10 UTC (permalink / raw)
  To: qemu-devel; +Cc: david, pbonzini, mark.kanda

QEMU initializes preallocated backend memory when parsing the corresponding
objects from the command line. In certain scenarios, such as memory being
preallocated across multiple numa nodes, this approach is not optimal due to
the unnecessary serialization.

This series addresses this issue by initializing the backend memory objects in
parallel.

Mark Kanda (2):
  oslib-posix: refactor memory prealloc threads
  oslib-posix: initialize backend memory objects in parallel

 include/qemu/osdep.h |   6 ++
 system/vl.c          |   2 +
 util/oslib-posix.c   | 150 +++++++++++++++++++++++++++++--------------
 util/oslib-win32.c   |   5 ++
 4 files changed, 116 insertions(+), 47 deletions(-)

-- 
2.39.3



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

end of thread, other threads:[~2024-01-17 14:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-08 15:10 [PATCH v1 0/2] Initialize backend memory objects in parallel Mark Kanda
2024-01-08 15:10 ` [PATCH v1 1/2] oslib-posix: refactor memory prealloc threads Mark Kanda
2024-01-08 15:40   ` David Hildenbrand
2024-01-08 18:40     ` Mark Kanda
2024-01-09 14:02       ` David Hildenbrand
2024-01-09 14:15         ` Daniel P. Berrangé
2024-01-09 14:25           ` David Hildenbrand
2024-01-09 18:42             ` Mark Kanda
2024-01-17 14:44             ` Mark Kanda
2024-01-17 14:51               ` David Hildenbrand
2024-01-08 15:10 ` [PATCH v1 2/2] oslib-posix: initialize backend memory objects in parallel Mark Kanda

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).