Page 1 of 1
Partitioning for efficiency and convenience 1.28
Posted: Thu Feb 26, 2015 12:01 am
by DVB Hardware
Is there any partitioning scheme that would help for server cpu / disk loading, event expansion?
8 or 16 ip camera system.
I have found info in this forum but outdated by 6 yrs. and much has changed since then
Jimmy
Re: Partitioning for efficiency and convenience 1.28
Posted: Thu Feb 26, 2015 5:54 pm
by PacoLM
A 6 years info could be outdated or just a good info!
Re: Partitioning for efficiency and convenience 1.28
Posted: Fri Feb 27, 2015 9:29 am
by Nerre
Zoneminder stores everything in one specific location, if you want to avoind Zoneminder filling your disk you could put that location on a separate partition (or LVM logical volume, for scalability).
I think everything else would be covered by any linux partitioning guidelines.
Re: Partitioning for efficiency and convenience 1.28
Posted: Fri Feb 27, 2015 1:17 pm
by DVB Hardware
I was think more on the results discoverd by troyy0206 at the last posting
http://www.zoneminder.com/forums/viewto ... 135#p60135
Jimmy
Re: Partitioning for efficiency and convenience 1.28
Posted: Mon Mar 02, 2015 12:28 pm
by Nerre
If the data is stored on the same disk, partitioning should affect performance. What affects performance is probably the use of another file system (reiserfs instead of ext3/ext4).
On my machine the disk speed is not an issue, on my machine CPU and shared RAM for image analysis are the bottleneck. But it you have a lot of cameras and a machine with a lot of RAM then maybe the disk could become a bottleneck.
Re: Partitioning for efficiency and convenience 1.28
Posted: Mon Mar 02, 2015 7:51 pm
by bbunge
I'm running 16 IP cameras on a 2.6 GIG Quad PC with 16 GIG RAM and 1 TB WD drive. Ubuntu 14.04 with EXT 4 FS with the noatime option set. Have set ZM to use ramdisk for some temp file processes and the hard drive just has the "normal" "/" and swap partitions. All cameras are set to mocord and events are deleted after two weeks. There are up to six users watching video output (montage) at any given time as the cameras are monitoring a warehouse.
I would see no advantage to doing multiple partitions on this system. The advantage of one main partition is you can use more of it to store events.
bb
Re: Partitioning for efficiency and convenience 1.28
Posted: Wed Mar 11, 2015 8:09 am
by Nerre
I just noticed a typing error
Nerre wrote:If the data is stored on the same disk, partitioning should affect performance.
should read
If the data is stored on the same disk, partitioning should not affect performance.
Re: Partitioning for efficiency and convenience 1.28
Posted: Thu Mar 12, 2015 6:31 am
by ofca
On that note, I would like to setup SSD for current events and then some kind of daily move-to-archive mechanism for older events. Is there some way to set this up, so events can be browsed via normal zm interface?
Re: Partitioning for efficiency and convenience 1.28
Posted: Fri Mar 13, 2015 1:14 am
by bbunge
SSD's are still a bit expensive. Just bought a 1 TB WD Blue for $49.99.
Yes, you could store to a SSD and move events somewhere else but browsing them may be an issue.
Try it, document what you do if successful and post it to the WIKI!
bb