Request: modifiy dynamic linking to link to libjpeg-mmx
Posted: Sun Jan 30, 2005 11:03 am
Phil,
I finally got your system installed. Depending on the word of a large global corporation, I might a job to install a zoneminder site (20 monitors), which I am going to intergrate with a MMS altert interface I have been writing, if not, well I can't see myself involved heavily with zoneminder in the future.. If I get the job I'll also take it futher by making a gentoo livecd with some other security related features.
In testing I found that zoneminder runs quiet well when linked to the CVS version of libjpeg-mmx. The default configuraiton is to link to libjpeg.so, but it can be easily changed to link to libjpeg-mmx.so http://mjpeg.sourceforege.net/
You have to compile against different headers (those found in /usr/include/libjpeg-mmx/). Other such as netbpm tools are not compatible with the older fork of this jpeg library/ (my netpbm tools are statically linked and I have libjpeg.so removed from my system!!!)
I noticed my CPU load dropped by half when using libjpeg-mmx!
When capturing 3 fps greyscale total CPU utilization is reduced to about 8% (all zm daemons) on a Pentium III Celeron (Medecino) 466Mhz. Normally it's about 20-30% with about half of the 640x480 image affected by zones.
Please make a configure time option to allow users to also link against this library in the next release. I'm supprised it worked well without any code changes because it's not meant to be a drop in replacement for libjpeg.so
Cheers,
Luke
I finally got your system installed. Depending on the word of a large global corporation, I might a job to install a zoneminder site (20 monitors), which I am going to intergrate with a MMS altert interface I have been writing, if not, well I can't see myself involved heavily with zoneminder in the future.. If I get the job I'll also take it futher by making a gentoo livecd with some other security related features.
In testing I found that zoneminder runs quiet well when linked to the CVS version of libjpeg-mmx. The default configuraiton is to link to libjpeg.so, but it can be easily changed to link to libjpeg-mmx.so http://mjpeg.sourceforege.net/
You have to compile against different headers (those found in /usr/include/libjpeg-mmx/). Other such as netbpm tools are not compatible with the older fork of this jpeg library/ (my netpbm tools are statically linked and I have libjpeg.so removed from my system!!!)
I noticed my CPU load dropped by half when using libjpeg-mmx!
When capturing 3 fps greyscale total CPU utilization is reduced to about 8% (all zm daemons) on a Pentium III Celeron (Medecino) 466Mhz. Normally it's about 20-30% with about half of the 640x480 image affected by zones.
Please make a configure time option to allow users to also link against this library in the next release. I'm supprised it worked well without any code changes because it's not meant to be a drop in replacement for libjpeg.so
Cheers,
Luke