Menu

MPD5 max allowed PPPoE speed?

Help
rihad
2013-11-12
2013-11-12
  • rihad

    rihad - 2013-11-12

    It says in FreeBSD kernel source file /usr/src/sys/netgraph/ng_ppp.h

    /* Max allowable link latency (miliseconds) and bandwidth (bytes/second/10) */
    #define NG_PPP_MAX_LATENCY      1000            /* 1 second */
    #define NG_PPP_MAX_BANDWIDTH    125000          /* 10 Mbits / >second */
    

    Does this mean that ADSL2+ max bandwidth would be artificially limited to 10 mbit/s? :(

     

    Last edit: rihad 2013-11-12
  • Alexander Motin

    Alexander Motin - 2013-11-12

    No. That bandwidth value is used only for multilink load balancing and in any way for traffic limitation. And at rates to 10Mbit/s precise balancing becomes somewhat complicated any way.

     
  • rihad

    rihad - 2013-11-12

    Hi, Alexander, the problem was described here in 2008: http://www.opennet.ru/openforum/vsluhforumID1/78907.html

    although it's in Russian, I hope you can read it :)

    There the author was definitely hitting the kernel limit of 10mbit/s imposed by ng_ppp when using PPPoE.

    So you're saying that if I'm not going to use traffic limiting on the MPD box, then I'm fine? I can use DSLAMs & other FreeBSD servers (not using ng_ppp) for that.

     
  • Alexander Motin

    Alexander Motin - 2013-11-12

    Should I repeat again? Fine! ng_ppp node does not limit traffic bandwidth. Period. Unless you are using multilink this option and this maximal value are simply not existing for you. You may limit bandwidth even at higher levels using FreeBSD, but by using other means: ng_car, dummynet, ...

     
  • rihad

    rihad - 2013-11-12

    Thanks. But what about these bandwidth settings that I never configured?

    [L1] show bundle
    Bundle 'B1' (static):
        Links          : L1[Opened/UP] 
        Status         : OPEN
        Session time   : 306 seconds
        MultiSession Id: 4276480-B1
        Total bandwidth: 64000 bits/sec
        Avail bandwidth: 64000 bits/sec
    
    [L1] show link
    Link L1 (static):
    Configuration:
        Device type    : pppoe
        MRU            : 1500 bytes
        MRRU           : 2048 bytes
        Ctrl char map  : 0x000a0000 bytes
        Retry timeout  : 2 seconds
        Max redial     : no redial
        Bandwidth      : 64000 bits/sec
        Latency        : 2000 usec
        Keep-alive     : every 5 secs, timeout 40
    

    Are they in effect?

     
  • Alexander Motin

    Alexander Motin - 2013-11-12

    They are used for multilink balancing. Nothing else.

     
  • rihad

    rihad - 2013-11-12

    Ok, thanks, Alexander.

     

Log in to post a comment.

Auth0 Logo