From: "Some Clown" Date: Fri, 18 Feb 2005 00:22:37 +0000 Subject: RE: [LARTC] VOIP Challenges... Message-Id: <20050218002307.878FA4096@outpost.ds9a.nl> List-Id: References: <20050216001928.D7B28408D@outpost.ds9a.nl> In-Reply-To: <20050216001928.D7B28408D@outpost.ds9a.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org > -----Original Message----- > From: lartc-admin@mailman.ds9a.nl > [mailto:lartc-admin@mailman.ds9a.nl] On Behalf Of Ed Wildgoose > Sent: Thursday, February 17, 2005 6:08 AM > Subject: Re: [LARTC] VOIP Challenges... > > I think you need to backup a bit and do some more debugging. > You need to discover if your QOS is working or not on your > data. If it is, then remember that you have full control of > the outgoing connection so no queuing should ever occur if > you don't want it o. If your packets are being held up then > change your packet marking so that they dont. > > The other issue though is that you might genuinely be > releasing packets too fast and getting queuing on your modem > buffer. Try turning down the outlet speed quite a lot, say > 50% and see how you get on. Debug that part first before > turning it up again. I've come to the conclusion that the following lines in my script are what causes my errors: # Ingress tc qdisc add dev $DEV handle ffff: ingress # VOIP tc qdisc add dev $DEV parent ffff: protocol ip prio 90 handle 1 fw flowid :1 # Filter *everything* to it (0.0.0.0/0), drop whatever comes in too fast tc filter add dev $DEV parent ffff: protocol ip prio 91 u32 match ip src \ 0.0.0.0/0 police rate $[80*$DOWNLINK/100]kbit burst 10k drop flowid :1 Seems to be on the Ingress filter... Now, I'm not sure that my problems will be magically solved when I fix this, but it's one more step on the magical journey. So, to that end, does anyone have an idea why these lines wouldn't work? I'm getting an error of: Unknown qdisc "protocol", hence option "ip" is unparsable If I re-run the script, then I get a whole lot of: RTNETLINK answers: File exists Along with a few: We have and error talking to the kernel But I'm sure that's not a big deal, because after an initial boot and script-run, those errors aren't present. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/