Bug#386052: Got it working: Optimization problem

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Nov 11 18:08:45 CET 2006


On Sat, Nov 11, 2006 at 05:23:11PM +0100, Thomas Renard wrote:
> After fighting some hours with misdn (which crashes when modprobing it),
> I tried to play with the optimization options in zaptel's Makefile.

Do you use zaptel? ZapBRI?

> 
> I recompiled the modules with the following changes in
> /usr/src/modules/zaptel/Makefile (too few changes for sending a patch):
> 
> Line 32:
> 
> CFLAGS+=-I. -O2 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER
> 
> (changed from -O4)

Those are used for userspace tools. 

> 
> Line 44:
> 
> KFLAGS:=-I$(KINCLUDES) -O4

Those flags should only have effect for 2.4 kernels. Is this what you
use?

> 
> (changed from -O6)
> 
> My VIA Epia 500MHz machine works without any problem after reboot (my
> test: call myself via an outbound BRI number and get my inbound
> answering machine)

Is that an evidence of improvement?

> 
> Because I did both changes at the same I am not shure which O-flag did
> the trick!
> 
> ii  zaptel-source            1.2.10.dfsg-2  Zapata telephony interface
> ii  zaptel                   1.2.10.dfsg-2  zapata telephony utilities
> ii  linux-image-2.6.18-2-486 2.6.18-5       Linux 2.6.18 image on x86

Aparantly not.

Some possible optimization venues: is the FPU used? A custom preemptable
kernel?

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir




More information about the Pkg-voip-maintainers mailing list