Hi All My compuer is i7 with 32 GB ram without swap, i try to launch 28 vm with 1GB ram each, it runs smoothly.If I launch 64 VMs, after the VMs eat up all the memory, the linux hang. If the linux is lack of memory, the OOM will try to kill process, right? And the OOM should pick those qemu-kvm processes to kill, but seems the OOM don't pick qemu-kvm or the OOM failed to kill qemu-kvm processes. If I turn on swap, although 64 VMs with 1GB ram each will make my computer very slow, but at least it won't hang. Can anybody explain this? below is my computer information:
CPUinfo: /root>cat /proc/cpuinfo processor : 0vendor_id : GenuineIntelcpu family : 6model : 58model name : Intel(R) Core(TM) i7-3770K CPU @ 3.50GHzstepping : 9microcode : 0x13cpu MHz : 3501.000cache size : 8192 KBphysical id : 0siblings : 8core id : 0cpu cores : 4apicid : 0initial apicid : 0fpu : yesfpu_exception : yescpuid level : 13wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep ermsbogomips : 7000.26clflush size : 64cache_alignment : 64address sizes : 36 bits physical, 48 bits virtualpower management: /root>free -m total used free shared buffers cachedMem: 32133 25910 6222 0 263 3062-/+ buffers/cache: 22583 9549Swap: 0 0 0 /root>uname -aLinux localhost.localdomain 3.7.2-204.fc18.x86_64 #1 SMP Wed Jan 16 16:22:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux /root>rpm -qa|grep qemulibvirt-daemon-driver-qemu-0.10.2.3-1.fc18.x86_64qemu-system-m68k-1.2.2-4.fc18.x86_64qemu-common-1.2.2-4.fc18.x86_64qemu-system-unicore32-1.2.2-4.fc18.x86_64ipxe-roms-qemu-20120328-2.gitaac9718.fc18.noarchqemu-system-sh4-1.2.2-4.fc18.x86_64qemu-kvm-1.2.2-4.fc18.x86_64qemu-system-arm-1.2.2-4.fc18.x86_64qemu-system-s390x-1.2.2-4.fc18.x86_64qemu-user-1.2.2-4.fc18.x86_64qemu-1.2.2-4.fc18.x86_64qemu-system-microblaze-1.2.2-4.fc18.x86_64qemu-system-mips-1.2.2-4.fc18.x86_64qemu-system-xtensa-1.2.2-4.fc18.x86_64qemu-system-ppc-1.2.2-4.fc18.x86_64qemu-img-1.2.2-4.fc18.x86_64qemu-system-alpha-1.2.2-4.fc18.x86_64qemu-system-sparc-1.2.2-4.fc18.x86_64qemu-system-lm32-1.2.2-4.fc18.x86_64libvirt-daemon-qemu-0.10.2.3-1.fc18.x86_64qemu-system-or32-1.2.2-4.fc18.x86_64qemu-system-cris-1.2.2-4.fc18.x86_64qemu-system-x86-1.2.2-4.fc18.x86_64 /root>rpm -qa|grep kvmlibvirt-daemon-kvm-0.10.2.3-1.fc18.x86_64qemu-kvm-1.2.2-4.fc18.x86_64 Thanksfrom Peter