kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cpu hotplug
@ 2010-09-17 21:39 Conrad Wood
  2010-09-18 14:32 ` Kevin O'Connor
  0 siblings, 1 reply; 45+ messages in thread
From: Conrad Wood @ 2010-09-17 21:39 UTC (permalink / raw)
  To: kvm

Hi everyone,

I'm currently looking into hotplugging CPUs. 
This exclusively with linux-guests and linux-host.
I have found some (conflicting) information about this on the net.

As far as I read:
* seabios doesn't support SMP (but why does the linux-guest show
multiple cpus?)
* there is no uniform way of informing the linux kernel that a cpu has
added (Found references to a unisys way of doing it though, which seems
to be still implemented)
* the kernel needs the acpi tables to determine how many cpus it has,
thus the support in the bios would involve an aml-compiler to
hot-compile new acpi tables.

1) *If* I understood this right, wouldn't it be feasible to patch the
linux-kernel to forego the check on the acpi tables and read them
straight from a kvm provided area (even in a kvm-proprietary format?).
Then at least the aml-compiler wouldn't be necessary, or am I wrong
there?

2) Assuming I understood this right, I'd further assume, I could create
some sort of kernel event (udev) to initiate a cpu_starting event,
couldn't I?

Some feedback would be much appreciated ;)


Conrad





^ permalink raw reply	[flat|nested] 45+ messages in thread
* CPU HOTPLUG
@ 2017-01-01 10:03 Ozgur O Kilic
  0 siblings, 0 replies; 45+ messages in thread
From: Ozgur O Kilic @ 2017-01-01 10:03 UTC (permalink / raw)
  To: kvm

Hello,

I am trying to hot plug and hot(un)plug vCPU to a KVM guest. At the
fallowing link, I found out we can hotplug vCPUs on the run time with "cpu
add" but the hot(un)plug is still in progress. Is there any update on it.
Can we use device add/remove for CPUs?
http://wiki.qemu.org/Features/CPUHotplug

Also, I also find out that we can use virsh (libvirt) to add and remove
vCPUs on the fly but I think it is just putting vCPU to sleep or wake up.
Is it a good method to change CPU numbers or will it be  performance
overhead such as does sleeping vCPUs get any time  on the host, are those
get scheduled?

Thank you, Happy new year,
Ozgur

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

end of thread, other threads:[~2017-01-01 10:03 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-17 21:39 cpu hotplug Conrad Wood
2010-09-18 14:32 ` Kevin O'Connor
2010-09-18 15:14   ` Conrad Wood
2010-09-18 18:27   ` Conrad Wood
2010-09-19  6:38     ` Gleb Natapov
2010-09-19 10:41       ` Conrad Wood
2010-09-19 10:46         ` Gleb Natapov
2010-09-19 11:09           ` Conrad Wood
2010-09-19 11:13             ` Gleb Natapov
2010-09-19 11:32               ` Conrad Wood
2010-09-19 11:39                 ` Gleb Natapov
2010-09-19 11:51                   ` Conrad Wood
2010-09-19 11:59                     ` Gleb Natapov
2010-09-19 12:18                       ` Conrad Wood
2010-09-19 15:20                       ` Avi Kivity
2010-09-19 15:22                         ` Gleb Natapov
2010-09-19 13:26       ` Kevin O'Connor
2010-09-19 13:29         ` Conrad Wood
2010-09-19 13:31           ` Gleb Natapov
2010-09-19 13:35             ` Conrad Wood
2010-09-19 13:40               ` Gleb Natapov
2010-09-19 13:46                 ` Kevin O'Connor
2010-09-19 13:50                   ` Gleb Natapov
2010-09-19 14:07                     ` Conrad Wood
2010-09-19 14:14                       ` Kevin O'Connor
2010-09-19 14:36                       ` Gleb Natapov
2010-09-19 15:16                         ` Conrad Wood
2010-09-19 15:19                           ` Gleb Natapov
2010-09-19 15:37                             ` Conrad Wood
2010-09-19 15:41                               ` Gleb Natapov
2010-09-19 15:44                                 ` Conrad Wood
2010-09-19 15:53                                   ` Gleb Natapov
2010-09-19 16:04                                     ` Kevin O'Connor
2010-09-19 16:12                                       ` Gleb Natapov
2010-09-19 22:03                                         ` Kevin O'Connor
2010-09-20  6:50                                           ` Gleb Natapov
2010-09-21  1:07                                             ` Kevin O'Connor
2010-09-21  6:42                                               ` Gleb Natapov
2010-09-21  9:38                                               ` Gleb Natapov
2010-09-19 16:24                                       ` Conrad Wood
2010-09-19 21:57                                         ` Kevin O'Connor
2010-09-20  6:48                                           ` Gleb Natapov
2010-09-19 13:38           ` Kevin O'Connor
2010-09-19 13:39             ` Conrad Wood
  -- strict thread matches above, loose matches on Subject: below --
2017-01-01 10:03 CPU HOTPLUG Ozgur O Kilic

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