Performance 1.25.0 to.1.26.3

Forum for questions and support relating to the 1.26.x releases only.
Locked
User avatar
2Psycho
Posts: 37
Joined: Tue Jan 24, 2012 9:45 pm

Performance 1.25.0 to.1.26.3

Post 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?
Enjoyment Matters
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Performance 1.25.0 to.1.26.3

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
User avatar
2Psycho
Posts: 37
Joined: Tue Jan 24, 2012 9:45 pm

Re: Performance 1.25.0 to.1.26.3

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