Once I start using about 4 IP-cameras (I've got 8 in total), the CPU starts to rise above 100% in the hypervisor...
Most camera's (6 of them) are foscam cameras with 720p setting and 32b color.
I lowered all camera's to 320x240 and 24 colors. Then it was a bit better, but seems a bit stupid to have this 'low' quality with this kind of hardware.
When I lower the assigned CPU's, I can't notice a real difference. Except for 1 socket / 1 core. But at that point, zoneminder is generating a lot of error logs concerning performance.
Any idea what I can do to solve/debug this?
My systemload is mostly between 5 and 8...
Some exra technical info:
Code: Select all
root@quasimodo:~# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 40 bits physical, 48 bits virtual
CPU(s): 12
On-line CPU(s) list: 0-11
Thread(s) per core: 1
Core(s) per socket: 6
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 15
Model: 6
Model name: Common KVM processor
Stepping: 1
CPU MHz: 1999.999
BogoMIPS: 3999.99
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 384 KiB
L1i cache: 384 KiB
L2 cache: 48 MiB
L3 cache: 32 MiB
NUMA node0 CPU(s): 0-5
NUMA node1 CPU(s): 6-11
Vulnerability Itlb multihit: KVM: Vulnerable
Vulnerability L1tf: Mitigation; PTE Inversion
Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Meltdown: Mitigation; PTI
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Full generic retpoline, STIBP disabled, RSB filling
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_f
ault pti
Memory (top) of the hypervisor, PID 25036 is the zoneminder VM.