Gigabyte Brix Celeron n2807

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
nkdj
Posts: 6
Joined: Fri Mar 20, 2015 3:17 am

Gigabyte Brix Celeron n2807

Post by nkdj »

Hi!

Anyone tried running ZM on Gigabyte Brix Celeron n2807?

CPU: Intel® Celeron® Processor N2807 up to 2.17GHz
RAM: 4GB DDR3L (sold separately)
HDD: HGST 500GB 5400rpm (sold separately)

I just build one on Xubuntu 14.04 64-bit by following this setup.

Then I connected four 1MP Hikvision DS-2CD1103-I (dual stream) from Aliexpress. I configured the cameras such that lowdef stream is for Modect, hidef stream for recording as suggested by BiloxiGeek here. Lowdef streams are set to 320x240 @ 6fps, while hidef are set to 1280x720 @ 15fps.

I use the system both as a zm server and client, via Firefox. So far, in idle state, the CPU usage is already 50-70% according to htop data. The CPU temp is also around 65C. Although the temp is way below 105C max, I think my CPU usage is quite high. Firefox also seem to use more cpu resources when opening the camera streams.

Any comments or suggestions are very much appreciated.

Thanks!
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Gigabyte Brix Celeron n2807

Post by asker »

I have ZM running on an old AMD Athlon(tm) II Neo K325 Dual-Core Processor @ 1.7GHz
I upgraded my RAM from 2 to 4 GB, so your setup is more capable than mine.

I am running modect on 4HD cameras 1280x960 and modect on one 640x480 cameras. I also run an open vpn server in it which I am always connected to from my office.

Given all of this, my CPU averages between 12-20% and only rarely goes up to 40% when multiple cameras detect motion.

Some notes:
a) I started with lubuntu desktop, but I moved to ubuntu server - that helps reduce memory needs and maybe CPU needs (by how much, I don't remember)
b) I configured mysql to use innodb (http://www.zoneminder.com/wiki/index.php/General_Notes) because in another thread, knnnigett told me it will help (when I was struggling with 2GB)
c) I've observed using VLC eats up a huge amount of CPU. My cameras are using ffmpeg and RTSP

d) furthermore, and most importantly, the way you are set up, you have not just configured 4 cameras, but as far as ZoneMinder is concerned, 8 (4HD and 4SD) While what BiloxiGeek suggested is also the only workaround I can think to what you want to do without having to change code, I don't think its a good idea purely from a resource utilization perspective - remember that irrespective of whether you set you camera to "modect" or "nodect" zone minder is continuously capturing images from both stream _all_the_time even if no motion is triggered - it does this to fill its ring buffer, which amongst other things also helps in comparing previous frames to current frames to detect motion in the first place.
nkdj wrote:Hi!

Anyone tried running ZM on Gigabyte Brix Celeron n2807?

CPU: Intel® Celeron® Processor N2807 up to 2.17GHz
RAM: 4GB DDR3L (sold separately)
HDD: HGST 500GB 5400rpm (sold separately)

I just build one on Xubuntu 14.04 64-bit by following this setup.

Then I connected four 1MP Hikvision DS-2CD1103-I (dual stream) from Aliexpress. I configured the cameras such that lowdef stream is for Modect, hidef stream for recording as suggested by BiloxiGeek here. Lowdef streams are set to 320x240 @ 6fps, while hidef are set to 1280x720 @ 15fps.

I use the system both as a zm server and client, via Firefox. So far, in idle state, the CPU usage is already 50-70% according to htop data. The CPU temp is also around 65C. Although the temp is way below 105C max, I think my CPU usage is quite high. Firefox also seem to use more cpu resources when opening the camera streams.

Any comments or suggestions are very much appreciated.

Thanks!
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
nkdj
Posts: 6
Joined: Fri Mar 20, 2015 3:17 am

Re: Gigabyte Brix Celeron n2807

Post by nkdj »

Hi asker,

Thanks for sharing your setup!

At what fps are your cameras streaming by the way?

I understand that running zm on a headless server would increase cpu performance, but with my current setup, I need it as a client also.
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Gigabyte Brix Celeron n2807

Post by asker »

Hi Nkdj,
I've kept FPS empty in ZM. Inside the camera, I've kept FPS at 5 and key frame rate at 15 (I was encountering a lot of image smearing due to ffmpeg when
I specified a different fps inside ZM and PacoLM suggested I not specify ZM framerate, which worked)
nkdj wrote:Hi asker,

Thanks for sharing your setup!

At what fps are your cameras streaming by the way?

I understand that running zm on a headless server would increase cpu performance, but with my current setup, I need it as a client also.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
aaronl
Posts: 33
Joined: Wed Aug 19, 2015 9:11 pm

Re: Gigabyte Brix Celeron n2807

Post by aaronl »

I too have tried the Brix Celeron n2807, but found that since the celeron processor doesn't have the special instructions for handling images, its CPU load was quite high with my IP cams.
At two cameras, it was fine 50% cpu, at 1920x1080 3fps each.
At 4 cameras it was maxed out on the CPU cores all the time.

I eventually switched to the Brix Pro i5-4570R. Now I'm only running at 20% cpu with the same 4 camera setup.
So I think the core type makes a huge difference for ZM (at least when it comes to Cleron or not).


Aaron
jaybo
Posts: 6
Joined: Sun Sep 13, 2015 3:35 pm

Re: Gigabyte Brix Celeron n2807

Post by jaybo »

[quote="aaronl"
At two cameras, it was fine 50% cpu, at 1920x1080 3fps each.
At 4 cameras it was maxed out on the CPU cores all the time.

I eventually switched to the Brix Pro i5-4570R. Now I'm only running at 20% cpu with the same 4 camera setup

Aaron[/quote]

I've got an full computer with a i5-4570, w/ 16gb ram running ubuntu 14.04.3.

My plan is to run 2 cameras at full 3mp res at 30fps (maybe thats overkill).

Is it the motion detection that is making the cpu run at 20% or the capturing ?

If I wasn't using motion, and was just writing 30fps to disk from 2 cameras would the cpu utilization be similar ?\
Nerre
Posts: 100
Joined: Thu Sep 25, 2014 10:22 am

Re: Gigabyte Brix Celeron n2807

Post by Nerre »

Motion detection generally takes more CPU than just recording (unless the recorded data first needs to be converted).
Post Reply