Page 1 of 1

Shared Memory vs Mmap config option

Posted: Mon Jul 13, 2009 3:55 pm
by quietas
I'm running 16 cameras at 640x480 on an Intel Core2 Quad with 8gb RAM.

Would shared memory be recommended or the new ./configure --enable-mmap=yes option be better?

If mmap, what should be used as the shmall and shmmax? I came up with 1125mb needed, but should that be all, max, both, or other?

Posted: Tue Jul 14, 2009 3:39 am
by allanE
Shmall and Shmmax is not used with mmap. System defaults should be fine. I have found that mmap is less hassel to deal with and about bulletproof as a memory managment for zoneminder. It does require installing sys-mmap (google it ) on your system
Allan