Page 1 of 1

Setting compiler optimisation to O3 instead of O2

Posted: Sun Aug 29, 2004 10:25 am
by unclerichy
I did this a day or so ago by altering CCFLAGS and CXXFLAGS in Makefile and src\Makefile and have successfully recompiled zma, zmc, zmf, zms and zmu.

So far things look good - performance hasn't dropped and capture seems a little smoother with a lower CPU load.

Has anyone else attempted this?

Posted: Wed Sep 01, 2004 10:25 pm
by zoneminder
Hi,

I think I've done this in the past when doing profiling but I don't have any hard evidence. It's certainly worth trying as I suspect that things like loop unrolling might have an effect. If you get any hard metrics please let us know.

Cheers,

Phil,