xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0 of 2 RFC] xl: move domeins among NUMA nodes
@ 2012-07-06  9:54 Dario Faggioli
  2012-07-06  9:54 ` [PATCH 1 of 2 RFC] xl: parse extra_config options even when restoring Dario Faggioli
  2012-07-06  9:54 ` [PATCH 2 of 2 RFC] xl: allow for moving the domain's memory when changing vcpu affinity Dario Faggioli
  0 siblings, 2 replies; 13+ messages in thread
From: Dario Faggioli @ 2012-07-06  9:54 UTC (permalink / raw)
  To: xen-devel
  Cc: George Dunlap, Zhang, Yang Z, Ian Jackson, Ian Campbell,
	Andre Przywara

Hello Everyone,

FIRST OF ALL, this is an RFC and, more important, it implements a new feature
(although it's a small one), so it is not meant for 4.2. Of course, comments
are more than welcome, if you happen to find the time to look at it (after all,
it is why I'm releasing it)... Just don't rush if you're busy with some
pressing release-related stuff! :-P

The above being stated, this series tries to tackle the problem of moving an
already existent domain from a (some) NUMA node(s) to a (some) other(s). In
fact, changing vcpu-affinity affects the node affinity of the domain itself,
but this is only effective wrt the memory that will be allocated in the future,
while all the existent pages are untouched. This of course makes a lot of
sense, but there might be the need to _fully_ move a domain, both vcpus and
memory wise, and that's what this series tries to achieve.

Just let me add that the whole process looks a lot like a suspend/resume (or
either to a local migration) to me, and that's why I implemented it like that
for now. I went for the suspend resume approach, but I think I can make it more
migration-oriented solution if wanted, as it'd reduce the downtime (although,
in that case, we'd need to have twice the memory of the domain available during
the process).
Of course, I can also add the proper logic and interface to the hypervisor, but
I'm not sure it buys that much, as there will still be something very similar
to suspension or migration, just called and used a little bit differently (but
of course I'm open to change my mind :-)).

Thanks and Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

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

end of thread, other threads:[~2012-07-06 14:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-06  9:54 [PATCH 0 of 2 RFC] xl: move domeins among NUMA nodes Dario Faggioli
2012-07-06  9:54 ` [PATCH 1 of 2 RFC] xl: parse extra_config options even when restoring Dario Faggioli
2012-07-06  9:54 ` [PATCH 2 of 2 RFC] xl: allow for moving the domain's memory when changing vcpu affinity Dario Faggioli
2012-07-06 12:53   ` George Dunlap
2012-07-06 13:25     ` Ian Campbell
2012-07-06 13:30       ` George Dunlap
2012-07-06 13:38         ` Ian Campbell
2012-07-06 14:05       ` Dario Faggioli
2012-07-06 14:07         ` George Dunlap
2012-07-06 14:42         ` Ian Campbell
2012-07-06 13:57     ` Dario Faggioli
2012-07-06 14:04       ` George Dunlap
2012-07-06 14:14         ` Dario Faggioli

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