Project

General

Profile

Actions

Bug #7915

closed

CBQ Child queue set bandwidth does not apply correctly

Added by Pushapraj Bhamra about 7 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Traffic Shaper (ALTQ)
Target version:
Start date:
10/06/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:
amd64

Description

Example:
LAN interface -> create 2 direct children qLink for the local traffic then qInternet that will house more children for External internet only
Under qInternet create more queues, qDNS, qLow, qHigh, qVoIP, qACK for example

under qInternet set bandwidth to 150 Mbit/s do not check borrow from other queues as i am setting max download bandwidth for all external services

each queue qDNS, qLow, etc is set to a % of bandwidth and all the queues are set to "borrow from other queues"

Now when i do a speed test with nothing else running on the network i should get max or close to 150 Mbit/s but instead get average 77.7 Mbit/s


Files

Untitled.png (6.82 KB) Untitled.png parent/child structure Pushapraj Bhamra, 10/06/2017 11:16 PM
Actions #1

Updated by Viktor Gurov over 4 years ago

see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=155736:
Unfortunately it seems that borrowing does not work when parent queue does not also borrow.
But it should according to man and PF FAQ.

Actions #2

Updated by Viktor Gurov about 4 years ago

  • Affected Version changed from 2.4 to 2.5.0
Actions #3

Updated by Renato Botelho about 4 years ago

  • Status changed from New to Feedback
  • Assignee set to Viktor Gurov
  • Target version set to 2.5.0

PR has been merged. Thanks!

Actions #4

Updated by Viktor Gurov almost 4 years ago

  • Status changed from Feedback to Resolved

works as expected on 2.5.0.a.20201130.0650 -
it is not possible to create a "borrow" queue unless the parent queue also "borrow"

Actions

Also available in: Atom PDF