Project

General

Profile

Actions

Bug #6779

closed

Traffic shaper wizard uses decimals instead of whole numbers

Added by Vladimir Suhhanov over 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Traffic Shaper (ALTQ)
Target version:
Start date:
09/09/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:

Description

After using traffic shaper wizard when you completed it you can get decimals in "Max bandwidth for queue" and other values also, that causes shaper to malfunction and ignore those queues or when you want to change something in queue settings this causes error messages in pfsense. The solution is to use WHOLE numbers instead of decimals.

Actions #1

Updated by Vladimir Suhhanov about 8 years ago

It would be good to make target version 2.4 instead of nothing. Thanks.

Actions #2

Updated by Jim Thompson about 8 years ago

  • Category set to Traffic Shaper (ALTQ)
  • Assignee set to Anonymous
Actions #3

Updated by Anonymous about 8 years ago

  • Status changed from New to Feedback
  • Assignee changed from Anonymous to Vladimir Suhhanov

Would you please clarify for me?

Does the problem occur when you enter decimals in the wizard, or when values you enter in the wizard result in decimals after calculation?

Can you provide step by step instructions to reproduce please? Particularly "when you want to change something in queue settings this causes error messages in pfsense"

Actions #4

Updated by Vladimir Suhhanov about 8 years ago

Yes, calculated values.
Run wizard, select Multiple Lan/Wan traffic_shaper_wizard_multi_all.xml
First step:
LAN/WAN number 1/1
Second step:
Setup connection speed and scheduler information for interface LAN #1:
HFSC
Setup connection speed and scheduler information for interface WAN#1:
HFSC
Upload/Download 300/300Mbit/s
Third step

Voice over IP
enable
Upload = download = 20 Mbit/s

Fourth step

Penalty box
Disabled
next.

Fifth step
Peer to Peer networking

Enable "Lower priority of Peer-to-Peer traffic"
Enable "p2pCatchAll" (bandwidth 15%)

Sixth step

skip everything to finish pressing next all the time.

After reloading filters, go to wan queue "qACK", under Service Curve (sc) you should see
bandwidth 15.666%, do not change anything, just try to press SAVE button.

15.666 value appears in config.xml:

You are welcome! %)

Actions #5

Updated by Anonymous about 8 years ago

  • Assignee changed from Vladimir Suhhanov to Anonymous

Thanks!

I updated you instructions a little since "default" is not always the same in the Wizard.

Actions #6

Updated by Anonymous about 8 years ago

Fix part 1: HTML inputs that specify the bandwidth have been updated to accept decimal values.
Part 2: Calcualted bandwidths are now rounded down to the nearest integer.

Actions #7

Updated by Anonymous about 8 years ago

  • % Done changed from 0 to 100
Actions #8

Updated by Vladimir Suhhanov about 8 years ago

Looks like fixed.

Actions #9

Updated by Anonymous about 8 years ago

  • Status changed from Feedback to Resolved
Actions #10

Updated by Jim Pingle almost 8 years ago

  • Target version set to 2.3.3
  • Affected Version set to All
Actions

Also available in: Atom PDF