docs: Document memory allocation and emulator pinning limitation

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Michal Privoznik 2023-03-08 11:53:37 +01:00
parent df2ef2e706
commit c4b176567b

View File

@ -1117,7 +1117,9 @@ influence how virtual memory pages are backed by host pages.
Using the optional ``mode`` attribute, specify when to allocate the memory by
supplying either "immediate" or "ondemand". :since:`Since 8.2.0` it is
possible to set the number of threads that hypervisor uses to allocate
memory via ``threads`` attribute.
memory via ``threads`` attribute. To speed allocation process up, when
pinning emulator thread it's recommended to include CPUs from desired NUMA
nodes so that allocation threads can have their affinity set.
``discard``
When set and supported by hypervisor the memory content is discarded just
before guest shuts down (or when DIMM module is unplugged). Please note that