From nobody Tue Sep 21 20:36:22 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6F9D217D7C74 for ; Tue, 21 Sep 2021 20:36:26 +0000 (UTC) (envelope-from contact@evilham.com) Received: from yggdrasil.evilham.com (yggdrasil.evilham.com [46.19.33.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HDY9k29nPz4Vwl for ; Tue, 21 Sep 2021 20:36:26 +0000 (UTC) (envelope-from contact@evilham.com) Received: from yggdrasil.evilham.com (localhost [IPv6:::1]) by yggdrasil.evilham.com (Postfix) with ESMTP id 4HDY9h0XxJz2S6r; Tue, 21 Sep 2021 22:36:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=evilham.com; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=mail; bh=Ldz6Rfn7C+tObDZY+oTEhNmuFpk=; b=b0b8J0 edZn5NKSfRajiDTlCon9CCunTYmKhqruAtSLzQe7VfjeT4/jWqjzau+EV2RatPcm WNUjMBR6g1oQzGEWNiw6/+ba8GNqQ8FT0sPqBa8I8XfMDPf9idmIZgdpaNW9UrL+ rtp0aSIABAy79lm1vmpqwCYgsGkyD0QZaiP60= Received: from yggdrasil.evilham.com (2a0a-e5c1-121-1--1.ipv6.magic.ungleich.ch [IPv6:2a0a:e5c1:121:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by yggdrasil.evilham.com (Postfix) with ESMTPSA id 4HDY9g4VXpz2S6q; Tue, 21 Sep 2021 22:36:23 +0200 (CEST) From: Evilham To: driesm.michiels@gmail.com Cc: freebsd-net@freebsd.org Subject: Re: Performance of PPPOE in FreeBSD References: <001001d7ae56$3c204fd0$b460ef70$@gmail.com> <088518bd664aa2e73bb75b9fdb304cbd3988@yggdrasil.evilham.com> <004101d7af19$e9411a00$bbc34e00$@gmail.com> In-reply-to: <004101d7af19$e9411a00$bbc34e00$@gmail.com> Date: Tue, 21 Sep 2021 22:36:22 +0200 Message-ID: List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Rspamd-Queue-Id: 4HDY9k29nPz4Vwl X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On dt., set. 21 2021, driesm.michiels@gmail.com wrote: >> -----Original Message----- >> From: Evilham >> Sent: Tuesday, 21 September 2021 09:49 >> To: driesm.michiels@gmail.com >> Cc: freebsd-net@freebsd.org >> Subject: Re: Performance of PPPOE in FreeBSD >> >> >> On dl., set. 20 2021, driesm.michiels@gmail.com wrote: >> >> > Hi net mailing list, >> > >> > >> > >> > Currently at my parrents house we have just a cable modem >> > where I use >> > DHCPv6 and DHCP to get a IPv6 prefix and IPv4 address >> > respectivelly. >> > >> > For this config everything is done in the kernel regarding >> > routing. >> > The ISP is Telenet and they give me 300 down / 20 up (mbps). >> > >> > >> > >> > But I really want a higher upload in my future appartment >> > where >> > I will be >> > moving is *soonTm*. >> > >> > So looking for ISP's in Belgium, Proximus seems to provide a >> > fibre plan (if >> > fibre is available, but it should be) that does 500 down / 50 >> > up >> > (mbps). >> > >> > They use PPPOE and was wondering what the max troughput looks >> > like with the >> > in-base PPPOE client? >> > >> > I have also found some mentions of net/mpd5, is this a better >> > implementation? >> > >> > >> > >> > Thanks >> > >> > Dries >> >> I wrote my experience with PPPoE for a dual-stack FreeBSD >> router >> back in very late 2019 here: >> https://evilham.com/en/blog/2019-FreeBSD-eXO-router/ it might >> save >> you some trouble. >> >> Not much has changed since I wrote that, just as others >> mentioned: >> mpd5 is kind of a must, performance gets much better just by >> using >> mpd5. FWIW my home fiber runs at 600Mbps without any issues >> (only >> limited by the wholesale provider). > > And is that with the in-base client or with net/mpd5? > Should have been clearer: the 600Mbps are with mpd5, that's why it is a must. Else, with the PPPoE in base this router became CPU bound at around 140Mbps. So, if anything, just use the client in base to bootstrap the connection, then replace that with mpd5 :-). -- Evilham