Page 1 of 1

Performance 1.25.0 to.1.26.3

Posted: Sun Sep 15, 2013 6:47 pm
by 2Psycho
Hello,

Today I upgraded the existing setup from 1.25.0 to version 1.26.3.
The strange thing is that I had an average system load of 0,7 and now it is running at 2,7 :roll:

Probably I did something wrong in building it.
I just the latest FFMpeg from git://git.videolan.org/ffmpeg.git

Code: Select all

./configure --enable-gpl --enable-shared --enable-pthreads
I have libjpeg-turbo 1.2 installed

Zoneminder is build with:

Code: Select all

./configure --with-webdir=/var/www/virtual/domain.net --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=xxxx ZM_DB_PASS=xxxx --with-ffmpeg=/usr/local/share/ffmpeg CPPFLAGS="-D__STDC_CONSTANT_MACROS"
Does anyone know where I can do some finetuning?

Re: Performance 1.25.0 to.1.26.3

Posted: Sun Sep 15, 2013 7:43 pm
by knight-of-ni
Hey 2Psycho,

zm 1.26.x contains mastertheknife's performance patch, which should significantly increase performance. My system load dropped by a full point. It was amazing.
In order to gain that performance, the cpu must support SSE instruction set, (which I think your Atom cpu has) and the libjpeg-turbo-devel pacakge must be installed. Note the -devel suffix.

Also try adding -msse to your CXXFLAGS. It won't hurt.

Try making those changes, recompile, and see if they make a difference.

For further help on this, we need to see your entire output from configure & make, not just portions.

ClearOS is rpm based, right? Here is something else you can try.
You could try rebuilding the CentOS rpm's from this location:
http://www.zoneminder.com/forums/viewto ... =9&t=19119

If you are lucky it will rebuild with little effort, but realistically that rarely happens.

Re: Performance 1.25.0 to.1.26.3

Posted: Mon Sep 16, 2013 7:20 pm
by 2Psycho
Problem has been solved by a reboot of the system.
Probably some kind of ghost process of the old build who kept a lot of resources.
After the reboot load is back to 0,7