Page 1 of 1
Question on the theoretical consumption of zoneminder
Posted: Thu Jan 12, 2017 10:07 am
by akewl
Hello everyone,
Here I do tests with your super tool zoneminder, now I would like to put it into production but I am trying to estimate the theoretical consumption to see what type of server I will have to take.
Here the project is 190 IP cameras in several agencies in several different countries.
I will put in mode modect in recording Ffmpegt
With 10-day retention for images
Here is the question it is in theory with the following number of camera how much powerful CPU, RAM, DISK, BANDWIDTH?
Thank you in advance for your help.
Re: Question on the theoretical consumption of zoneminder
Posted: Sat Jan 14, 2017 2:34 pm
by iconnor
You havn't provided enough information for us to even guess.
I would say 32 cores, 32GB of RAM, 32TB of storage.
Re: Question on the theoretical consumption of zoneminder
Posted: Thu Jan 19, 2017 4:28 pm
by akewl
Hello,
Thank you for your reply,
For additional information you need what as details?
Thank you for your help
Re: Question on the theoretical consumption of zoneminder
Posted: Sun Jan 22, 2017 2:13 pm
by chevelle67
I was glad to see this post, and I bet there must be a calculator that someone has made to figure this out. I am working on one now based on the FAQ page found here
http://zoneminder.readthedocs.io/en/stable/faq.html look for the section that says "Math for Memory: Making sure you have enough memory to handle your cameras" and you will find the formula:
The example listed is this one first explaining the variables.
Min Memory = 1.2 * (image-width*image-height*image buffer size*target color space*number of cameras/8/1024/1024)
---------------------------------------------------------------------\/This part is a 5th added camera at a different setting
Min Memory = 1.2 * ((1280*960*50*32*4/8/1024/1024 ) + (640 *480 *50*8/8 /1024/1024))
This should solve a lot of your question, though maybe not all.
From the FAQ page also states ".... a good rule of thumb is to make sure you have twice the memory as the calculation above (and if you are using the ZM server for other purposes, please factor in those memory requirements as well) Also remember by default ZM only uses 50% of your available memory unless you change it" so Using this formula I got some values to consider but if you read further you then have to double the below figures as a minimum: