All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel unresponsive after booting 700+ vm's on a single host
@ 2012-09-10 13:51 Alfred Bratterud
  2012-09-10 17:42 ` [libvirt-users] " Eric Blake
  0 siblings, 1 reply; 2+ messages in thread
From: Alfred Bratterud @ 2012-09-10 13:51 UTC (permalink / raw)
  To: libvirt-users-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org


[-- Attachment #1.1: Type: text/plain, Size: 734 bytes --]

For a research project we are trying to boot a very large amount of tiny, custom built VM's on KVM/ubuntu. The maximum VM-count achieved was 1000, but with substantial slowness, and eventually kernel failure, while the cpu/memory loads were nowhere near limits. Where is the likely bottleneck? Any solutions, workarounds, hacks or dirty tricks?

A few more details here (tumbleweed question), and the possibility of an upvote:
http://stackoverflow.com/questions/12243129/kvm-qemu-maximum-vm-count-limit

Any tips would be much appreciated!

Best regards,

Alfred Bratterud
Assistant Professor
Dept. of Computer Science,
Oslo and Akershus University College
of Applied Sciences
P:  (+47) 2245 3263
M: (+47) 4102 0222


[-- Attachment #1.2: Type: text/html, Size: 1522 bytes --]

[-- Attachment #2: Type: text/plain, Size: 182 bytes --]

_______________________________________________
libvirt-users mailing list
libvirt-users-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
https://www.redhat.com/mailman/listinfo/libvirt-users

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

* Re: [libvirt-users] Kernel unresponsive after booting 700+ vm's on a single host
  2012-09-10 13:51 Kernel unresponsive after booting 700+ vm's on a single host Alfred Bratterud
@ 2012-09-10 17:42 ` Eric Blake
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Blake @ 2012-09-10 17:42 UTC (permalink / raw)
  To: Alfred Bratterud; +Cc: libvirt-users@redhat.com, kvm@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

On 09/10/2012 07:51 AM, Alfred Bratterud wrote:
> For a research project we are trying to boot a very large amount of tiny, custom built VM's on KVM/ubuntu. The maximum VM-count achieved was 1000, but with substantial slowness, and eventually kernel failure, while the cpu/memory loads were nowhere near limits. Where is the likely bottleneck? Any solutions, workarounds, hacks or dirty tricks?

Are you using cgroups?  There have been some known bottlenecks in the
kernel cgroup code, where it scales very miserably; and since libvirt
uses a different cgroup per VM by default when cgroups are enabled, that
might explain part of the problem.

Other than that, if you can profile the slowdowns, I'm sure people would
be interested in the results.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 617 bytes --]

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

end of thread, other threads:[~2012-09-10 17:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10 13:51 Kernel unresponsive after booting 700+ vm's on a single host Alfred Bratterud
2012-09-10 17:42 ` [libvirt-users] " Eric Blake

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.