What's new

AutoBW: Automatically set QoS bandwidth using spdMerlin

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Are you sure you are connecting to the same Ookla server between the speedtest on your PC and the router (just a thought).

Yes, I have chosen the same server for spdmerlin and in the speedtest web page. In both cases I am using the closest server to my location (CSUC Server in Barcelona, Spain).
 
Thanks Jack Yaz. That sounds great to me, and I will surely do what I can. It might be later today or tomorrow before I can really look at your changes. So, the spdMerlin results will no longer be written to csv files? Happy Easter.
They are still written to csvs. I can't see anything that will have an effect on AutoBW, but I wanted you to check and give the go-ahead in case I've missed something
 
Whats the benefits of letting this set your upload/download speed at 85% or 90% of your max speed?

i.e I get about 310/50, but using this drops it to roughly 260/44 with a 90% scale but I'm not sure of the benefits?
 
@Donga120, if you are consistently getting the paid for speeds, using slightly lower values will then further help with reduced bufferbloat and significantly less lag in time-sensitive network usage, such as VOIP or gaming.
 
Having issues when running the script. Is this a bug or do I need to do something?

Code:
/jffs/scripts/AutoBW

 TEST MODE: No changes will be made.

               ---------------- SPDMERLIN -------------
                 Download (Kbps)       Upload (Kbps)
               -------------------  -------------------
Running  1 of  2 speedtest, please wait... (standard_in) 1: illegal character: ^M
(standard_in) 1: illegal character: ^M
(standard_in) 2: syntax error
(standard_in) 2: syntax error
Test  1 of  2           0.0                  0.0
Running  2 of  2 speedtest, please wait... (standard_in) 1: illegal character: ^M
(standard_in) 1: illegal character: ^M
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Test  2 of  2           0.0                  0.0
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Average                 0.0                  0.0
Scale Factors          0.85                 0.85
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Scaled Speeds           0.0                  0.0
(standard_in) 1: syntax error
[: 1: unknown operand
(standard_in) 1: syntax error
[: 1: unknown operand
(standard_in) 1: syntax error
[: 1: unknown operand
(standard_in) 1: syntax error
[: 1: unknown operand

               ----------------- QOS ----------------
                 Download (Kbps)      Upload (Kbps)
               -------------------  -----------------
Previous              86016.0              5632.0
New (from above)          0.0                 0.0
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Scaling by              0.000               0.000

              ====================================== DOWNLOAD ======================================
               ----------------- RATE -----------------    ----------------- CEIL -----------------
Class            Previous (Kbps)        New (Kbps)           Previous (Kbps)         New (Kbps)
-----          -------------------  -------------------    -------------------  -------------------
(standard_in) 1: syntax error
(standard_in) 1: syntax error
 0                        0.0                0.0                       0.0                0.0

              ======================================= UPLOAD =======================================
               ----------------- RATE -----------------    ----------------- CEIL -----------------
Class            Previous (Kbps)        New (Kbps)           Previous (Kbps)         New (Kbps)
-----          -------------------  -------------------    -------------------  -------------------
(standard_in) 1: syntax error
(standard_in) 1: syntax error
 0                        0.0                0.0                       0.0                0.0

 TEST MODE: No changes were made.
 
Having issues when running the script. Is this a bug or do I need to do something?

Code:
/jffs/scripts/AutoBW

 TEST MODE: No changes will be made.

               ---------------- SPDMERLIN -------------
                 Download (Kbps)       Upload (Kbps)
               -------------------  -------------------
Running  1 of  2 speedtest, please wait... (standard_in) 1: illegal character: ^M
(standard_in) 1: illegal character: ^M
(standard_in) 2: syntax error
(standard_in) 2: syntax error
Test  1 of  2           0.0                  0.0
Running  2 of  2 speedtest, please wait... (standard_in) 1: illegal character: ^M
(standard_in) 1: illegal character: ^M
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Test  2 of  2           0.0                  0.0
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Average                 0.0                  0.0
Scale Factors          0.85                 0.85
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Scaled Speeds           0.0                  0.0
(standard_in) 1: syntax error
[: 1: unknown operand
(standard_in) 1: syntax error
[: 1: unknown operand
(standard_in) 1: syntax error
[: 1: unknown operand
(standard_in) 1: syntax error
[: 1: unknown operand

               ----------------- QOS ----------------
                 Download (Kbps)      Upload (Kbps)
               -------------------  -----------------
Previous              86016.0              5632.0
New (from above)          0.0                 0.0
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Scaling by              0.000               0.000

              ====================================== DOWNLOAD ======================================
               ----------------- RATE -----------------    ----------------- CEIL -----------------
Class            Previous (Kbps)        New (Kbps)           Previous (Kbps)         New (Kbps)
-----          -------------------  -------------------    -------------------  -------------------
(standard_in) 1: syntax error
(standard_in) 1: syntax error
 0                        0.0                0.0                       0.0                0.0

              ======================================= UPLOAD =======================================
               ----------------- RATE -----------------    ----------------- CEIL -----------------
Class            Previous (Kbps)        New (Kbps)           Previous (Kbps)         New (Kbps)
-----          -------------------  -------------------    -------------------  -------------------
(standard_in) 1: syntax error
(standard_in) 1: syntax error
 0                        0.0                0.0                       0.0                0.0

 TEST MODE: No changes were made.
Same thing here with SPDMerlin 3.4 and AutoBW 1.5
 
Issues below after upgrading Spdmerlin to 3.4.0 - dos2unix is not the problem here


Code:
SIMULATION MODE: No changes will be made.

               --------------- SPDMERLIN --------------
                 Download (Kbps)       Upload (Kbps)
               -------------------  -------------------
Running  1 of  3 speedtest, please wait... (standard_in) 1: illegal character: ^M
(standard_in) 1: illegal character: ^M
(standard_in) 2: syntax error
(standard_in) 2: syntax error
Test  1 of  3           0.0                  0.0
Running  2 of  3 speedtest, please wait... (standard_in) 1: illegal character: ^M
(standard_in) 1: illegal character: ^M
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Test  2 of  3           0.0                  0.0
Running  3 of  3 speedtest, please wait... (standard_in) 1: illegal character: ^M
(standard_in) 1: illegal character: ^M
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Test  3 of  3           0.0                  0.0
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Average                 0.0                  0.0
Scale Factors          0.85                 0.85
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Scaled Speeds           0.0                  0.0
(standard_in) 1: syntax error
[: 1: unknown operand
(standard_in) 1: syntax error
[: 1: unknown operand
(standard_in) 1: syntax error
[: 1: unknown operand
(standard_in) 1: syntax error
[: 1: unknown operand

               ----------------- QOS -----------------
                Download (Kbps)        Upload (Kbps)
               -----------------     -----------------
Previous              47616.0             18432.0
New (from above)          0.0                 0.0
(standard_in) 1: syntax error
(standard_in) 1: syntax error
Scaling by              0.000               0.000

              ====================================== DOWNLOAD ======================================
               ----------------- RATE -----------------    ----------------- CEIL -----------------
Class               Previous                New                 Previous                New
-----          -------------------  -------------------    -------------------  -------------------
(standard_in) 2: syntax error
(standard_in) 2: syntax error
11                14284.0 Kbit       printf: invalid number 'Kbit'
       0.0 47616       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
10                 2380.0 Kbit       printf: invalid number 'Kbit'
       0.0 47616       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
13                 4761.0 Kbit       printf: invalid number 'Kbit'
       0.0 47616       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
12                11904.0 Kbit       printf: invalid number 'Kbit'
       0.0 47616       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
15                 4761.0 Kbit       printf: invalid number 'Kbit'
       0.0 47616       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
14                 4761.0 Kbit       printf: invalid number 'Kbit'
       0.0 47616       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
17                 2380.0 Kbit       printf: invalid number 'Kbit'
       0.0 47616       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
16                 2380.0 Kbit       printf: invalid number 'Kbit'
       0.0 47616       printf: invalid number 'Kbit'
       0.0 Kbit              0.0

              ======================================= UPLOAD =======================================
               ----------------- RATE -----------------    ----------------- CEIL -----------------
Class               Previous                New                 Previous                New
-----          -------------------  -------------------    -------------------  -------------------
(standard_in) 2: syntax error
(standard_in) 2: syntax error
11                 5529.0 Kbit       printf: invalid number 'Kbit'
       0.0 18432       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
10                  921.0 Kbit       printf: invalid number 'Kbit'
       0.0 18432       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
13                 1843.0 Kbit       printf: invalid number 'Kbit'
       0.0 18432       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
12                 4608.0 Kbit       printf: invalid number 'Kbit'
       0.0 18432       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
15                 1843.0 Kbit       printf: invalid number 'Kbit'
       0.0 18432       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
14                 1843.0 Kbit       printf: invalid number 'Kbit'
       0.0 18432       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
17                  921.0 Kbit       printf: invalid number 'Kbit'
       0.0 18432       printf: invalid number 'Kbit'
       0.0 Kbit              0.0
(standard_in) 2: syntax error
(standard_in) 2: syntax error
16                  921.0 Kbit       printf: invalid number 'Kbit'
       0.0 18432       printf: invalid number 'Kbit'
       0.0 Kbit              0.0

 SIMULATION MODE: No changes were made.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top