[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 08/12] s390x/cpu_topology: implementing numa for the s390x
From: |
Pierre Morel |
Subject: |
Re: [PATCH v8 08/12] s390x/cpu_topology: implementing numa for the s390x topology |
Date: |
Thu, 21 Jul 2022 13:41:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
On 7/21/22 10:16, Janis Schoetterl-Glausch wrote:
On 7/21/22 09:58, Pierre Morel wrote:
...snip...
You are right, numa is redundant for us as we specify the topology using the
core-id.
The roadmap I would like to discuss is using a new:
(qemu) cpu_move src dst
where src is the current core-id and dst is the destination core-id.
I am aware that there are deep implication on current cpu code but I do not
think it is not possible.
If it is unpossible then we would need a new argument to the device_add for cpu to define
the "effective_core_id"
But we will still need the new hmp command to update the topology.
I don't think core-id is the right one, that's the guest visible CPU address,
isn't it?
Yes, the topology is the one seen by the guest.
Although it seems badly named then, since multiple threads are part of the same
core (ok, we don't support threads).
I guess that threads will always move with the core or... we do not
support threads.
Instead socket-id, book-id could be changed dynamically instead of being
computed from the core-id.
What becomes of the core-id ?
--
Pierre Morel
IBM Lab Boeblingen
- Re: [PATCH v8 08/12] s390x/cpu_topology: implementing numa for the s390x topology, Janis Schoetterl-Glausch, 2022/07/14
- Re: [PATCH v8 08/12] s390x/cpu_topology: implementing numa for the s390x topology, Pierre Morel, 2022/07/14
- Re: [PATCH v8 08/12] s390x/cpu_topology: implementing numa for the s390x topology, Janis Schoetterl-Glausch, 2022/07/15
- Re: [PATCH v8 08/12] s390x/cpu_topology: implementing numa for the s390x topology, Pierre Morel, 2022/07/15
- Re: [PATCH v8 08/12] s390x/cpu_topology: implementing numa for the s390x topology, Janis Schoetterl-Glausch, 2022/07/20
- Re: [PATCH v8 08/12] s390x/cpu_topology: implementing numa for the s390x topology, Pierre Morel, 2022/07/21
- Re: [PATCH v8 08/12] s390x/cpu_topology: implementing numa for the s390x topology, Janis Schoetterl-Glausch, 2022/07/21
- Re: [PATCH v8 08/12] s390x/cpu_topology: implementing numa for the s390x topology,
Pierre Morel <=
- Re: [PATCH v8 08/12] s390x/cpu_topology: implementing numa for the s390x topology, Janis Schoetterl-Glausch, 2022/07/22