Bug #6779
closedTraffic shaper wizard uses decimals instead of whole numbers
100%
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.
Updated by Vladimir Suhhanov about 8 years ago
It would be good to make target version 2.4 instead of nothing. Thanks.
Updated by Jim Thompson about 8 years ago
- Category set to Traffic Shaper (ALTQ)
- Assignee set to Anonymous
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"
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! %)
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.
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.
Updated by Anonymous about 8 years ago
- % Done changed from 0 to 100
Applied in changeset 7c3a9dede96552233fbe1da35ac4126aa524711b.
Updated by Jim Pingle almost 8 years ago
- Target version set to 2.3.3
- Affected Version set to All