{"id":7892,"date":"2018-06-12T23:06:05","date_gmt":"2018-06-13T06:06:05","guid":{"rendered":"http:\/\/www.apolonio.com\/blog\/?p=7892"},"modified":"2018-06-12T23:06:05","modified_gmt":"2018-06-13T06:06:05","slug":"zoneminder-load","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=7892","title":{"rendered":"Zoneminder Load"},"content":{"rendered":"<p>So my buddy Rob runs Blue Iris, I don&#8217;t think it is a bad product, just that for me, I am a Linux guy and feel more comfortable with Zoneminder running on Linux.<\/p>\n<p>But I do want to share how I monitor my environment with him and if anyone reads my blog.<\/p>\n<p>This is my current zoneminder rig<\/p>\n<p><a href=\"https:\/\/www.apolonio.com\/blog\/?p=7173\">https:\/\/www.apolonio.com\/blog\/?p=7173<\/a><\/p>\n<p>But I have since added and upgraded a few more cameras.<\/p>\n<ul>\n<li>Currently I have 24 cameras (25 monitors but 1 is a simple jpeg)<\/li>\n<li>6 are 1080P cameras<\/li>\n<li>1 is a 4MP camera<\/li>\n<li>Most of the Cameras are set at 10FPS<\/li>\n<li>Most of the monitors are set at modect<\/li>\n<\/ul>\n<p>Most cameras are doing motion detection and I think all but 1 of the 1080P cameras are doing motion detection so it gets BUSY<\/p>\n<p><a href=\"http:\/\/www.apolonio.com\/blog\/?attachment_id=7893\" rel=\"attachment wp-att-7893\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7893\" src=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2018\/06\/zoneminder-load-gui.jpg\" alt=\"\" width=\"742\" height=\"634\" srcset=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2018\/06\/zoneminder-load-gui.jpg 742w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2018\/06\/zoneminder-load-gui-300x256.jpg 300w\" sizes=\"auto, (max-width: 742px) 100vw, 742px\" \/><\/a><\/p>\n<p>Note that the CPUs are busy (curious that RAM is barely used).\u00a0 This utility,\u00a0gnome-system-monitor give a pretty real time graph as to how resources are being used on the box.<\/p>\n<p>Sometimes the GUI is not available so you run top<\/p>\n<p><a href=\"http:\/\/www.apolonio.com\/blog\/?attachment_id=7894\" rel=\"attachment wp-att-7894\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7894\" src=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2018\/06\/zoneminder-load-top.jpg\" alt=\"\" width=\"637\" height=\"91\" srcset=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2018\/06\/zoneminder-load-top.jpg 637w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2018\/06\/zoneminder-load-top-300x43.jpg 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/a><\/p>\n<p>And although you are given a point in time value for load average, this may not give you an idea if you are overloaded or not.<\/p>\n<p>This is an 2 socket 4 core per CPU machine (so 8 total cores),\u00a0 so running at 13, 11, and 9 may indicated an overloaded box.<\/p>\n<p>But running sar -q gives you a history from midnight with an average for the day<\/p>\n<p><a href=\"http:\/\/www.apolonio.com\/blog\/?attachment_id=7895\" rel=\"attachment wp-att-7895\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7895\" src=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2018\/06\/zoneminder-load-sar.jpg\" alt=\"\" width=\"592\" height=\"374\" srcset=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2018\/06\/zoneminder-load-sar.jpg 592w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2018\/06\/zoneminder-load-sar-300x190.jpg 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><\/a><\/p>\n<p>Note that the load average for the day is 5.71, 5.76, and 5.74 which is what I usually see with this setup.<\/p>\n<p>For those interested the CPUs\u00a0Intel(R) Xeon(R) CPU E5606 @ 2.13GH.<\/p>\n<p>If CPU becomes an issue I can upgrade, two 6 core 3GHz CPUs would run me about $50 each.<\/p>\n<p>Another way I can reduce load is to use the secondary channel which is at a lower resolution to do the analytics and trigger the main channel to record.<\/p>\n<p>Or I could use external devices like an X10 network or other 433Mhz devices to trigger the cameras.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So my buddy Rob runs Blue Iris, I don&#8217;t think it is a bad product, just that for me, I am a Linux guy and feel more comfortable with Zoneminder running on Linux. But I do want to share how &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=7892\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,3],"tags":[],"class_list":["post-7892","post","type-post","status-publish","format-standard","hentry","category-technical","category-training"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7892"}],"version-history":[{"count":1,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7892\/revisions"}],"predecessor-version":[{"id":7896,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7892\/revisions\/7896"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}