Zoneminder - A Case Study (Budget server load with 33 cams)
Posted: Fri Jun 03, 2011 7:16 am
At one site with a lot of cameras, I was running two servers. One recording 24/7 and one doing just modect. Due to a reorganisation, I thought I could get everything running on one server - and it proved to work very well. I post this because of the scale of use is beyond the norm.
Server is an HP ML115 with 2gb ram and a quad core AMD (Bogomips total: 18k). This is a cheap and cheerful server costing about £230 (although watch for sales, HP do cashback deals very often) It has a 1tb drive for zm images and another for os which keeps images for aroudn 3 weeks. Debian has the jpg-turbo libs installed.
Cameras are all IP cameras. Mixture of Axis 205,206,207,211, Y-Cam Black, A panasonic and a couple of those $40 dealextreme cameras. Distro is debian lenny and using zm 1.24.2
Recording:
20 cameras at 1.25 fps, 640x480. Approx half recording at greyscale, the rest in colour. This was the original batch and produced a load of around 0.1 - 0.2 (it being a quad core, 4.0 is 100%)
Motion:
13 cameras at 3 fps, 640x480 colour. A single zone per monitor and set to "Best, Most sensitive" and cropped to what's needed. (On average, about 75% of the image is within the zone)
The motions were added and don't appear to have affected system load massively... ( load average: 0.21, 0.13, 0.10 )
Follows some munin graphs showing the difference on 01 from before (20 cams, just recording) and after (33 cams)
Server is an HP ML115 with 2gb ram and a quad core AMD (Bogomips total: 18k). This is a cheap and cheerful server costing about £230 (although watch for sales, HP do cashback deals very often) It has a 1tb drive for zm images and another for os which keeps images for aroudn 3 weeks. Debian has the jpg-turbo libs installed.
Cameras are all IP cameras. Mixture of Axis 205,206,207,211, Y-Cam Black, A panasonic and a couple of those $40 dealextreme cameras. Distro is debian lenny and using zm 1.24.2
Recording:
20 cameras at 1.25 fps, 640x480. Approx half recording at greyscale, the rest in colour. This was the original batch and produced a load of around 0.1 - 0.2 (it being a quad core, 4.0 is 100%)
Motion:
13 cameras at 3 fps, 640x480 colour. A single zone per monitor and set to "Best, Most sensitive" and cropped to what's needed. (On average, about 75% of the image is within the zone)
The motions were added and don't appear to have affected system load massively... ( load average: 0.21, 0.13, 0.10 )
Follows some munin graphs showing the difference on 01 from before (20 cams, just recording) and after (33 cams)