Re: PPTP/PPPoE mpd/poptop performance

From: Gleb Smirnoff (glebius_at_freebsd.org)
Date: 10/28/04

  • Next message: Gleb Smirnoff: "Re: Implementing IP_SENDIF (like SO_BINDTODEVICE)"
    Date: Thu, 28 Oct 2004 15:38:08 +0400
    To: Pawel Malachowski <pawmal-posting@freebsd.lublin.pl>
    
    

    On Tue, Oct 26, 2004 at 05:31:08PM +0200, Pawel Malachowski wrote:
    P> I would like to ask people using mpd about performance on particular hardware
    P> setups. I am interested in the numbers of sessions (probably PPTP with weak
    P> encryption) and total bandwith, that can be achieved with, e.g.:
    P> . 300MHz CPU,
    P> . 1GHz CPU,
    P> . 2GHz CPU.
    P> Won't PPPoE behave better than PPTP? (My goals are authentication and
    P> performace.)
    P> I guess poptop will be much slower and is not a good solution for bigger
    P> setup (since it works entirely in userland)?
    P> I'm talking about small ISP environment, about 100-200 simultaneous
    P> connections over LAN, about 5-10Mbit/s total bandwith.

    If your going to use encryption, then it will be the bottleneck. And
    even difference between kernel(mpd) and userland(poptop,pppoed)
    implementations is not going to be significant. You will need as
    much fast CPU as possible.

    I'd suggest to choose PPPoE, not PPTP, because the latter is quite
    complicated and violated by some client implementation. You will
    not find any problems with PPPoE, since ng_pppoe is compatible with
    all known PPPoE implementations.

    I'm running two PPPoE servers with no encryption:

    1) userland ppp, ~200 sessions, ~2Mbit/s. Under peak traffic load
       is significant.
    2) mpd, 10 - 50 clients (a small net). The load is almost zero.
       Can handle wirespeed 100Mbit, with interrupt load equal to
       load on pure Ethernet routing.

    I have no experience with number of clients > 200. I suppose we are
    going to notice performance degradation in linear search functions
    in netgraph or interface code only when number of clients >> 1000.
    If someone has such requirements, I'd be happy to work with him.

    -- 
    Totus tuus, Glebius.
    GLEBIUS-RIPN GLEB-RIPE
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Gleb Smirnoff: "Re: Implementing IP_SENDIF (like SO_BINDTODEVICE)"

    Relevant Pages

    • Re: NAT and PPTP
      ... One of my question is how many pptp or pppoe sessions ... > Linksys routers have a PPTP implementation that does no encryption. ...
      (freebsd-net)
    • RE: NAT and PPTP
      ... > can be handled by one FreeBSD box knowing each pptp or pppoe ... so it's primarily the pptp and pppoe sessions that will demand resources. ... > inside the pptpd and pppoe thru radius and directly (for some ...
      (freebsd-net)
    • PPTP/PPPoE mpd/poptop performance
      ... setups. ... 300MHz CPU, ... Won't PPPoE behave better than PPTP? ... connections over LAN, about 5-10Mbit/s total bandwith. ...
      (freebsd-net)
    • Re: MAC Adresse von Kabelmodem herausfinden
      ... Zur (auch fuer PPPoE notwendigen) Adressierung des Geraets auf Layer2. ... Auch wenn IP nicht gerade ein unwichtiges Netzwerkprotokoll darstellt, ... nach pppoe, und das, was danach kommt (DSL-Router, Rechner) hantiert ... So ein DSL-Modem hat afaik immer auch ne CPU drin. ...
      (de.comp.os.unix.networking.misc)
    • Re: dringend: pppoeconf
      ... und ich in Deutschland sitze. ... Benutzen die nicht z.T. PPTP anstatt PPPoE? ... Meine SuSEn sind dafür ...
      (de.comp.os.unix.linux.misc)