From: "swcims" Date: Wed, 02 Jun 2004 01:52:14 +0000 Subject: Re: Re: [LARTC] how to realize "MLPPP LFI" on linux Message-Id: <20040602020635.4CAD8445C@outpost.ds9a.nl> List-Id: References: <20040531014639.F0F174444@outpost.ds9a.nl> In-Reply-To: <20040531014639.F0F174444@outpost.ds9a.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi,Andy=20 Thank you for your reply. Where is the "Documents/ppp-generic.txt" mentioned in your letter?I'd like= to have look and find some clues. In TR059,it requires to implement such a mechanism as MLPPP LFI.I think th= e essence is LFI,which do fragmentation and interleaving.This method will = reduce the delay of EF packets such as voip packets.So,in my viewpoint,two = phases would be done on linux kernel or linux iproute2: 1.fragments the BE and AF packets if they are bigger than specific size. 2.put the following EF packets into the middle of these new fragmented pac= kets. But It's so taugh for my current knowledge to implement these,especially p= hase 2.Even I can't find which place in linux kernel or iproute2 I would do= these . What's your opinion?Any suggestion is highly appreciated! Thank you very much! =09 =3D=3D=3D=3D 2004-06-02 06:48:50 You wrote=A3=BA=3D=3D=3D >swcims wrote: >> Hi,Andy Thank your very much! For the MLPPP LFI,I found that in Cisco >> configuration,it use "ppp multilink;ppp multilink fragmentation;ppp >> multilink fragment-delay 20;ppp multilink interleave " command to >> enable MLPPP LFI.So I think just realizing the same function on my >> linux router would be fine.But I got no idea how to do this on >> linux.So is there anything with iproute2?Would you please supply some >> suggestions? As for "The packet size threshold before fragmenting AF >> and BE packets MUST be configurable", I am completely lost.Any advise >> is highly appreciated! Thank you again! > >I found the TR059 Doc - but haven't read properly yet. > >Grepping my sources - linux mlppp is mentioned in >Documents/ppp-generic.txt - it chooses frag size and expects > 1 line, >as I expect the Cisco does, unless it has other Qos settings the fact it >has settings for delay/frag etc. probably has nothing to do with TR059. > >In the Doc MLPPP is used as an example of how to fragment - more work is >needed to actually use it for QOS on one link. > >Andy. > > >>=20 >>=20 >>=20 >>=20 >> =3D=3D=3D=3D 2004-05-30 15:29:20 You wrote=A3=BA=3D=3D=3D>>=20 >>=20 >>> swcims wrote: >>>=20 >>>> Hi,Andy I don't understand what you mean.I have a adsl router >>>> based on mips linux2.4.17.In this adsl router,one side is 100Mbit >>>> ethernet card,another side is adsl line,as following:=20 >>>> LAN------(ethernet)--------ADSL Router------(ADSL >>>> line)-------------WAN On this adsl line,it can configue >>>> rfc1483bridge or router,or pppoe to get wan ip from ISP. I think >>>> this side(upstream) is the bottleneck link. I ported iproute2/tc >>>> on this router and i can control traffice on the upstream line.=20 >>>> But I got completely no idea for doing these: (from TR059 >>>> Technical Report DSL Forum) 1.The device MUST support the >>>> capability to fragment AF and BE traffic in order to constrain >>>> the perturbing impact of AF and BE packets on EF traffic delay, >>>> for example using a mechanism such as MLPPP LFI.(RFC1990) 2. The >>>> packet size threshold before fragmenting AF and BE packets MUST >>>> be configurable. Thank you very much! >>>=20 >>> What I mean is that if you want to mess around with packets below >>> ip level, the other end - your ISP/teleco , will need to be >>> running software that knows what you are doing so that it can >>> reconstruct the packets before routing. >>>=20 >>> If you have a specific need for your upstream not to be delayed >>> more than X ms you could adjust your MTUs/MSS clamp - the size will >>> depend on your bitrate and max delay required. >>>=20 >>> Andy. >>>=20 >>>=20 >>>=20 >>=20 >>=20 >> =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D = =3D =3D=20 >>=20 >> =A1=A1=A1=A1Regards. >>=20 >> =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1swcims =A1=A1=A1=A1=A1= =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1swcims@163.com =A1=A1=A1=A1=A1=A1=A1=A1=A1= =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12004-05-31 >>=20 =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D= =09 =A1=A1=A1=A1Regards. =20 =20 =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1swcims =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1swcims@163.com =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12004-06-02 =FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF= =FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=CB=01=14=C2=99=A8=A5=8Ax%=8A=CB=7F,=04S=0B= =F9=9A=8AY=9A=9F=F7l=F5=AF=E7=96=1Bm=A7=FF=FF=99=A8=A5=99=A9=FFv=CFZ=FEy=7F= =99=A8=A5=99=A9=FF=96+-=8Aw=E8=FEV=AB=B5=C1=CEY3=FF=86=DBi=FF=FF=E5j=BB\=FE= =8A=E0