Date: Fri, 24 Nov 2023 15:33:15 -0800 From: Jim Thompson <jim@netgate.com> To: Benoit Chesneau <benoitc@enki-multimedia.eu> Cc: "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org> Subject: Re: netgraph and vpp Message-ID: <CAKAfi7yp9Grc0sphHwN3ORFAFtHKg9muYmvg8=NmTQnVwcWuBQ@mail.gmail.com> In-Reply-To: <i95iAV4FVYfHk1VOE0b8IWzeTDWWGKwyVFst0jbTV8mhc8oI2axEotoPGkUhngk35HwCUakBC83fMH6oNFTEQUVd0GADG3lYRL882ImYYhM=@enki-multimedia.eu> References: <i95iAV4FVYfHk1VOE0b8IWzeTDWWGKwyVFst0jbTV8mhc8oI2axEotoPGkUhngk35HwCUakBC83fMH6oNFTEQUVd0GADG3lYRL882ImYYhM=@enki-multimedia.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000006db63f060aee6007 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Nov 24, 2023 at 12:48:07=E2=80=AFAM, Benoit Chesneau <benoitc@enki-multi= media.eu> wrote: > netgraph and vpp looks similar in their intent. Both are graphs to > process packets. > > I thought that usinv netgraph sounds interresting to build a modern > router or cpe. What about the perforance? Did anyone compRe? Also is ther= e > any difference in term of implementation of the processing? Id there any > recent paper about netgraph? > They are very, very different. Netgraph is closer to AT&T streams, but with mbufs. Netgraph would probably be better implemented these days as a set of netmap modules, ala https://github.com/zeek/packet-bricks or https://github.com/outscale/packetgraph (this one is DPDK, but similar architecture) --0000000000006db63f060aee6007 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><body><div dir=3D"ltr"> <br> </div><div dir=3D"ltr"><br></div> <div class=3D"gmail_quote"> <div dir=3D"ltr" class=3D"gmail_attr">On Nov 24, 2023 at 12:48:07=E2=80= =AFAM, Benoit Chesneau <<a href=3D"mailto:benoitc@enki-multimedia.eu">be= noitc@enki-multimedia.eu</a>> wrote:<br></div> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor= der-left:1px solid rgb(204,204,204);padding-left:1ex" type=3D"cite"> <div><div></div><div> <div dir=3D"auto">netgraph and vpp looks simi= lar in their intent.=C2=A0<span style=3D"; ; ;San Francisco", Helvetic= a, Arial, sans-serif; ; font-style: normal; ; font-weight: 400; letter-spac= ing: normal; orphans: auto; text-align: start; text-indent: 0px; text-trans= form: none; white-space: normal; widows: auto; word-spacing: 0px; ; -webkit= -text-size-adjust: none; -webkit-text-stroke-width: 0px; ; text-decoration:= none; display: inline !important; float: none;">Both</span><span style=3D"= ; ; ;San Francisco", Helvetica, Arial, sans-serif; ; font-style: norma= l; ; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: s= tart; text-indent: 0px; text-transform: none; white-space: normal; widows: = auto; word-spacing: 0px; ; -webkit-text-size-adjust: none; -webkit-text-str= oke-width: 0px; ; text-decoration: none; display: inline !important; float:= none;">=C2=A0are graphs to process packets.<span class=3D"Apple-converted-= space">=C2=A0</span></span>=C2=A0</div><div dir=3D"auto"><br></div><div dir= =3D"auto">I thought that usinv=C2=A0 netgraph sounds interresting to build = a modern router or cpe.=C2=A0What about the perforance? Did anyone compRe? = Also is there any difference in term of implementation of the processing? I= d there any recent paper about netgraph?</div></div></div> </blockquote><br> </div><div class=3D"gmail_quote"><div dir=3D"ltr">They are very, very diffe= rent.=C2=A0 Netgraph is closer to AT&T streams, but with mbufs.</div><d= iv dir=3D"ltr"><br></div><div dir=3D"ltr">Netgraph would probably be better= implemented these days as a set of netmap modules, ala=C2=A0</div><div dir= =3D"ltr"><font color=3D"#419cff"><span style=3D"--dark-color: var(--NSColor= _linkColor);"><a href=3D"https://github.com/zeek/packet-bricks">https://git= hub.com/zeek/packet-bricks</a></span></font>=C2=A0or=C2=A0<font color=3D"#4= 19cff"><a href=3D"https://github.com/outscale/packetgraph">https://github.c= om/outscale/packetgraph</a></font>=C2=A0(this one is DPDK, but similar arch= itecture)</div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><br></div><div d= ir=3D"ltr"><br></div></div></body></html> --0000000000006db63f060aee6007--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKAfi7yp9Grc0sphHwN3ORFAFtHKg9muYmvg8=NmTQnVwcWuBQ>