[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/4] add NUMA emulation
From: |
Andre Przywara |
Subject: |
[Qemu-devel] [PATCH 0/4] add NUMA emulation |
Date: |
Tue, 31 Mar 2009 15:28:53 +0200 |
Hi,
the following patches add NUMA emulation to QEMU guests.
Although the ultimate goal is KVM with host side support, these
patches are pure QEMU with no host side binding.
This is a reworked version from end of last year, I adapted the command line
syntax to Anthony's wishes:
-numa node[,mem=<size>[MG]][,cpus=<from>[-<to>]][,nodeid=<nr>]
If we agree to this scheme (which drops mem=from-to and requires at least
one -numa node for each NUMA node), I will provide more detailed documentation.
Patch 1/4 adds the -numa command line parameter and sets a QEMU global
array with the parsed values. If no specific values for memory and CPUs are
given, all resources will be split equally across all nodes.
Patch 2/4 adds an "info numa" command to the monitor to output the current
topology. Since NUMA is advertised via static ACPI tables, no changes are
possible during runtime.
Patch 3/4 uses the QEMU firmware configuration interfacce to send the NUMA
topology to the BIOS, which has to setup the tables. Only one channel is used.
Patch 4/4 finally adds the BIOS support, which create the appropriate
SRAT table reflecting the given topology.
Looking forward to any comments.
Regards,
Andre.
P.S. I hope I have applied to the latest QEMU coding style ;-)
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 448 3567 12
----to satisfy European law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Jochen Polster; Thomas M. McCoy; Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
- [Qemu-devel] [PATCH 0/4] add NUMA emulation,
Andre Przywara <=
[Qemu-devel] Re: [PATCH 1/4] added -numa cmdline parameter parser, Anthony Liguori, 2009/03/31