Concurrency issues?

Forum for questions and support relating to the 1.24.x releases only.
Locked
Foxik
Posts: 3
Joined: Fri Jun 04, 2010 2:54 pm

Concurrency issues?

Post by Foxik »

Hello.
Testing performance of a computer I want to use to run zoneminder I tried adding a single camera as multiple monitors (I'm expecting to have more cameras, but I could only get one). Performance-wise, everything is OK - CPU load and CPU utilization are low, but I noticed that each monitor recorded a different number of events even though they all have the same settings and they share the same camera.

It happens when I have as little as two monitors reading the same camera, both set to max 5 fps, which IMO rules out the camera, for it should be able to handle 25fps.

Has anyone noticed anything similar? Am I wrong in expecting the numbers to be the same?

Thanks for all responses, if you need more info I'll happily provide it.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Well for starters monitors could each be grabing a diffrent 5fps pic so 5 fps might be 5 10 15 .. etc to the camera.

If useing network.

However if its analog it should be the same because of the way it captures..
Foxik
Posts: 3
Joined: Fri Jun 04, 2010 2:54 pm

Post by Foxik »

Thanks for your reply.

Yes, the camera is connected via network, not locally.

If I understood you correctly, increasing fps of the monitors should decrease the difference in number or recorded events. I'm going to try that now, because I don't want to lose events. :)
Foxik
Posts: 3
Joined: Fri Jun 04, 2010 2:54 pm

Post by Foxik »

OK, I've increased the max FPS limit to 15 on both monitors but there still is a difference in the number of events recorded by them.

Example from the last hour:
Monitor 1
http://img8.imageshack.us/i/monitor1.png/

Monitor 2
http://img691.imageshack.us/i/monitor2.png/

Summary: Monitor 1 (M1) recorded 3 events, Monitor 2 (M2) recorded 2 events, but only one event was recorded by both monitors. So M1 recorded 2 events that were not caught by M2 and M2 recorded one event that was not recorded by M1. Duration of these events is close to 2 seconds, which IMO means that each monitor grabbing a different pic is not the cause...

The box running zoneminder atom 330 (2 physical cores, 4 virtual) powered. Average CPU load is ~2.5, CPU utilization ~50%

Help please, I really want to know the cause of this.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Hate it leave it like this but i relly dont know unless your zones are set differently.
Locked