Shared Memory vs Mmap config option

Forum for questions and support relating to the 1.24.x releases only.
Locked
quietas
Posts: 102
Joined: Wed May 23, 2007 5:30 pm

Shared Memory vs Mmap config option

Post 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?
allanE
Posts: 44
Joined: Mon Feb 09, 2009 1:19 pm
Location: Sharps Chapel,TN

Post 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
Locked