Help identifying bottleneck for ip cams
Posted: Wed Jul 20, 2005 6:11 am
I have zm running on a Dell Dimension 3000. It has an P4 2.8Ghz with 512MB of memory. I'm wondering if the bottleneck i am currently encounting is because of the cameras, zm, or cpu/mem/etc.
A high load avg is about .62, but typically its in the low .20s. top reports that out of 512MB of memory, only about 180MB are used.
shared memory is set to 402653184 (shmmax and shmall). I set this in /proc/sys/kernel/.. and in /etc/sysctl.conf
I have two ip cams running:
1 Dlink DCS 900 12 frame buffer gets around 3 fps
1 Panasonic BL-C10 11 frame buffer gets around 2 fps
output from ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000002 65536 root 600 655360 0
0x7a6d2003 262145 www-data 700 3456448 3
0x7a6d2001 294914 www-data 700 3456448 3
1. the output from ipcs shows each camera using 3456448 bytes in shared mem. Dividing this number by 1024, I get 3375. Does this mean each capture daemon is only using 3mb?
2. the panasonic BL-C10 says it can get 15fps. Anyone have any ideas on what the maximum fps that can be retrieved on a remote camera?
3. If i am having a bottleneck with memory, should top show all my memory being used, or will it still be listed as free.
4. If I up the buffer size 1 frame on the panasonic, zm doesnt start capturing. Is this a memory related issue?
thanks
A high load avg is about .62, but typically its in the low .20s. top reports that out of 512MB of memory, only about 180MB are used.
shared memory is set to 402653184 (shmmax and shmall). I set this in /proc/sys/kernel/.. and in /etc/sysctl.conf
I have two ip cams running:
1 Dlink DCS 900 12 frame buffer gets around 3 fps
1 Panasonic BL-C10 11 frame buffer gets around 2 fps
output from ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000002 65536 root 600 655360 0
0x7a6d2003 262145 www-data 700 3456448 3
0x7a6d2001 294914 www-data 700 3456448 3
1. the output from ipcs shows each camera using 3456448 bytes in shared mem. Dividing this number by 1024, I get 3375. Does this mean each capture daemon is only using 3mb?
2. the panasonic BL-C10 says it can get 15fps. Anyone have any ideas on what the maximum fps that can be retrieved on a remote camera?
3. If i am having a bottleneck with memory, should top show all my memory being used, or will it still be listed as free.
4. If I up the buffer size 1 frame on the panasonic, zm doesnt start capturing. Is this a memory related issue?
thanks