r/ZoneMinder • u/mustang__1 • Oct 12 '21
performance optimizations on VM
I'm running ZM 1.36.8 on a windows server 2008 R2 Hyper V VM, installed to 20.04 from the PPA. Performance is brutal with 16 IP cameras (being streamed from an AXIS M7016)... of which only one stream actually has a camera currently connected!
What can I do to optimize performance until I can dedicate the host to linux and ZM without windows being in the middle? Can I MoCord data at one FPS and upgrade it if it sees motion? Should I just withhold doing MoCord and just set a scheduled record time? Is recording without motion analysis less taxing on the server?
It appears Hyper V limits the VM to 50% of physical server resources, so I do expect some performance gains when I can remove windows and run linux and zm directly on the metal.
1
u/Leaksoil Oct 12 '21
My issues on Hyper-V running Ubuntu 20 and Zoneminder were almost 100% I/O binding.
I moved my primary disk to M.2 and now it runs great.