hardware consensus

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
User avatar
thelight
Posts: 54
Joined: Sat Jun 26, 2004 9:25 pm
Contact:

hardware consensus

Post by thelight »

Im currently running a P4 2.0, 640mb ram at the moment. 3 camera's at 352x288 analysing @ 10fps and recording at 25fps.

At the moment the system constantly uses about 50mb of swap so it's just baring the loud, crank up the resulution any further and it chokes.

Simply buying more RAM would seem the easiest option but this computer is an old RDRAM machine and the memory for it costs a fortune, so im considering going for a system overhaul to replace the cpu/mobo/ram for something more powerful and cheaper in the longrun.

Ive seen a few people mention dual-xeon systems which seem to run anything you throw at them with ease? Is this true? In a perfect world id like to be running at 768x576 recording at 25fps which the current system just cant handle with 3 camera's. Each process (zms/zmc/zma) seems to use about 160mb of ram when active at this resolution, so im guessing more at higher resolutions. Am I realistically looking at needing 2gig of ram to make this a stable system or am I currently leaking memory somewhere? Any advise would be appreciated.
uxbod
Posts: 28
Joined: Sun Dec 19, 2004 6:51 pm

Post by uxbod »

Hi,

you could also look at AMD Opteron running 64bit under Gentoo Linux (http://www.gentoo.org).

I am building a system soon for our new house and may build a low end ShuttleX machine with a single Opteron 246, 1GB RAM and a 120GB SATA drive.

Personally I think something of this spec would easily cope with a video stream and any necessary decoding.
User avatar
thelight
Posts: 54
Joined: Sat Jun 26, 2004 9:25 pm
Contact:

Post by thelight »

I dont believe 1gig of ram would be enough for me, from what im seeing at present. Experimenting a little, if I run one camera at 640x480 memory use by the zmc is 70%, and cpu use is 10%. zma, depending on analysis settings uses 70% ram, and between 10% and 70% cpu. Writing to disk on alerts etc dont seem to have a very large impact on the system. The zms streaming server also uses a fair chunk of ram when run. Moving this out to 3 camera's, with 2 remote computers running a montage view 24x7, I cant help but this 2gig would be the minimum?

In terms of processors how would an opteron face up to say a single 3.,06ghz xeon?
User avatar
JasonH
Posts: 27
Joined: Thu Dec 16, 2004 8:33 pm
Location: Yorkshire

Post by JasonH »

I've got 2 analogue cameras at 768x576 and a network camera at 640x480 running ok on a AthlonXP 2000+ with 512MB Ram with 0% swap.

However, it blew up spectacularly the first time I started capturing with the default settings. My tip is to reduce the Image buffer (frames) setting. Don't make it any lower than Pre Event Image Buffer / Warm up frames or else you will get something like this in your syslog:

Code: Select all

Jan 12 08:18:18 zmc-d0[2878]: WAR [Buffer overrun at index 3 ]
Jan 12 08:18:18 zmc-d0[2878]: WAR [Buffer overrun at index 14 ]
Jan 12 08:18:20 zmc-d0[2878]: WAR [Buffer overrun at index 11 ]
Jan 12 08:18:20 zma-m4[2883]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Post Reply