• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Captive Portal per user bandwidth limit and bufferbloat

Scheduled Pinned Locked Moved Captive Portal
3 Posts 2 Posters 1.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    deajan
    last edited by Jul 21, 2016, 12:10 PM

    Hello,

    When using per user bandwidth limit on the captive portal of a fresh install, I get a very high ping value when transferring data, I think of bufferbloat.
    Having checked with http://speedtest.dslreports.com, I get +400ms buffer bloat when downloading, and +1800ms when uploading.

    Using a 100/10 Mbit cable link, CP is limiting per user to 3076/512kbit (public wifi spot usage).
    Traffic shaping isn't setup in this test case because with a single CP client that's limited to 3mbits, I won't saturate the cable link.

    Is there settting way to achieve tcp backoff per user on the captive portal ?
    I've played with TCP buffer sizes already, without any improvement.

    Client OSes tested: Fedora 24 & Windows 7.

    Regards,
    Ozy.

    NetPOWER.fr - some opensource stuff for IT people

    1 Reply Last reply Reply Quote 0
    • R
      richb-hanover
      last edited by Jul 22, 2016, 12:32 PM

      Here's an alternate solution that might keep latency low for you. It doesn't strictly answer your question - it doesn't limit anyone's bandwidth, but instead gives all sessions/flows a fair share of the bandwidth that's there. (If only one person is using it, they get it all, if two are on, they get half, three people get a third, etc.)

      Use CoDel/fq_codel. Its primary purpose is to keep latency low. It does this by pushing back (ECN or flow control) on big flows (large transfers) to limit their effect while letting small flows (VoIP, gaming, DNS queries, TCP connection packets) to go through immediately.

      1 Reply Last reply Reply Quote 0
      • D
        deajan
        last edited by Jul 25, 2016, 10:18 AM

        Thanks for the info, but as of my understandings today coDel is implemented but FairQueue CoDel is not, so fair bandwidth share won't happen.
        Am I getting this wrong ?

        NetPOWER.fr - some opensource stuff for IT people

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received