From: Dominik Csapak <d.csapak@proxmox.com>
To: Elias Huhsovitz <e.huhsovitz@proxmox.com>, pve-devel@lists.proxmox.com
Subject: Re: [RFC qemu-server v2 0/4] fix #7282: allow (NUMA aware) vCPU pinning
Date: Thu, 24 Sep 2026 14:25:25 +0200 [thread overview]
Message-ID: <faaf878f-e44d-4d38-a947-441b11c7629b@proxmox.com> (raw)
In-Reply-To: <20260921095404.61552-1-e.huhsovitz@proxmox.com>
I'm in the progress of looking through the code, but want
to give some high level feedback 'early'
I think the approach goes to far for what was intended:
The pinning setting now also influences memory behavior
but we already have the numaX options for that, the intention
was that this is just related to the virtual cores.
I'd prefer for it to stay that way.
If we want to modify the memory handling, we'll have to do
that in the memory/numa/etc. options (or a new separate
one) but don't conflate it with the CPU pinning.
Also, AFAIU this can also change the guest hardware
depending on the host topology no?
If yes, this is a no-go since this breaks live migration,
potentially suspend/resume and backup/restore.
It also can mess up the guest licensing when this is fixed
for some sockets for example.
In general such an options should never overwrite the
explicit values in the config.
Iff we want such a thing, this must be reflected in the
sockets/cores/etc config (e.g. by setting 'auto' or
some thing) and must be live migration blocker.
In a first applied version I'd really like for it to focus
on pinning vcpus on specific cores (or sets of cores).
This should be opt-in and align with already existing options
(such as numa/memory/sockets/etc) and not break
live migration (e.g. it is ok to pin to different
cpus/hostnodes on another node, but the hardware must
stay the same)
Making memory hostnode selection automatic and inferring guest
topology can also make sense, but should be a separate
patch/series and isn't really what the bug was about.
Let's keep the focus narrow, this also will make the patches
smaller and more easily digestible ;)
I'll answer on the individual patches for style/code things too
prev parent reply other threads:[~2026-09-24 12:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 9:53 [RFC qemu-server v2 0/4] fix #7282: allow (NUMA aware) vCPU pinning Elias Huhsovitz
2026-09-21 9:54 ` [RFC qemu-server v2 1/4] pinning: add topology discovery and config parsing Elias Huhsovitz
2026-09-24 12:35 ` Dominik Csapak
2026-09-21 9:54 ` [RFC qemu-server v2 2/4] pinning: add NUMA allocator and reservation tracking Elias Huhsovitz
2026-09-21 9:54 ` [RFC qemu-server v2 3/4] memory: integrate pinning-aware NUMA memory binding Elias Huhsovitz
2026-09-21 9:54 ` [RFC qemu-server v2 4/4] pinning: integrate cpu pinning into vm lifecycle Elias Huhsovitz
2026-09-24 12:25 ` Dominik Csapak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=faaf878f-e44d-4d38-a947-441b11c7629b@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=e.huhsovitz@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox