[Cerowrt-devel] Need help with the speedtest

Dave Taht dave.taht at gmail.com
Thu Mar 27 13:47:54 EDT 2014


On Thu, Mar 27, 2014 at 6:33 AM, Ernesto Elias <ernestogelias at gmail.com> wrote:
> well I do not know if this is the correct method of running the script
> right. But I ran the command: /usr/lib/sqm/betterspeedtest.sh instead of the
> command: /usr/lib/sqm/ sh betterspeedtest.sh and voila it is actually
> running! I get the welcome message and everything. But I do not know if that
> is the correct way of doing it ? But I'll post my results down below:
>
> Without SQM
>
>
> root at cerowrt:~# /usr/lib/sqm/betterspeedtest.sh
> Testing against netperf.richb-hanover.com while pinging gstatic.com (60
> seconds in each direction)
> ............................................................
>  Download:  57.66 Mbps
>   Latency: (in msec, 61 pings, 0.00% packet loss)
>       Min: 4.308
>     10pct: 91.300
>    Median: 112.655
>       Avg: 110.100
>     90pct: 127.918
>       Max: 129.345
> ............................................................
>    Upload:  39.21 Mbps
>   Latency: (in msec, 61 pings, 0.00% packet loss)
>       Min: 4.839
>     10pct: 165.525
>    Median: 201.487
>       Avg: 197.311
>     90pct: 234.007
>       Max: 248.005

At 60Mbit down you are unfortunately hard up against the limit of what
the SQM system can do on the wndr3800 without running out of cpu. What
is your SQM set to?


>
> With SQM
>
>
>
> root at cerowrt:~# /usr/lib/sqm/betterspeedtest.sh
> Testing against netperf.richb-hanover.com while pinging gstatic.com (60
> seconds in each direction)
> ...........................................................
>  Download:  47.12 Mbps
>   Latency: (in msec, 61 pings, 0.00% packet loss)
>       Min: 4.307
>     10pct: 4.397
>    Median: 4.724
>       Avg: 4.829
>     90pct: 5.122
>       Max: 7.566
> ............................................................
>    Upload:  33.65 Mbps
>   Latency: (in msec, 61 pings, 0.00% packet loss)
>       Min: 4.276
>     10pct: 4.441
>    Median: 4.699
>       Avg: 4.794
>     90pct: 5.064
>       Max: 7.303

So long as you care more about low latency rather than raw bandwidth,
you are in good shape with the sqm system, it seems.

>
>
>
> On Tue, Mar 25, 2014 at 10:58 PM, Chuck Anderson <cra at wpi.edu> wrote:
>>
>> The file is probably in MS-DOS text format with CR-LF line endings
>> given you downloaded it on Windows.  You need to convert it to Unix
>> text format.  Try this from the shell:
>>
>> cat speedtest.sh | tr -d \r > speedtestfixed.sh
>> mv speedtestfixed.sh speedtest.sh
>>
>> On Tue, Mar 25, 2014 at 10:26:54PM -0400, Ernesto Elias wrote:
>> > Well I made it all read and executable but I still get permission
>> > denied.
>> >
>> > and I tried using "putty" but to no avail has it worked for me, but I'll
>> > try again to see if maybe I messed up setting up putty.
>> > On Mar 25, 2014 9:52 PM, "Dave Taht" <dave.taht at gmail.com> wrote:
>> >
>> > > chmod a+rx speedtest.sh
>> > >
>> > > will make it readable and executable.
>> > >
>> > > you will also need to edit the file to use #!/bin/sh
>> > >
>> > > I'd argue that a better place for it would be /usr/bin/
>> > >
>> > > and "putty" is a popular ssh client for windows.
>> > >
>> > > On Tue, Mar 25, 2014 at 6:22 PM, Ernesto Elias
>> > > <ernestogelias at gmail.com>
>> > > wrote:
>> > > > Hello everyone ! I'm in dire need of assistance with the new speed
>> > > > test
>> > > that
>> > > > our fellow community member has made. I'm on windows 7 and I used
>> > > > WinSCP
>> > > > program to move the speedtest script into /usr/lib/sqm/ and I double
>> > > checked
>> > > > to make sure that everything is there copied from the webpage into
>> > > > the
>> > > file
>> > > > and named it speedtest.sh and so I used my phone because I have no
>> > > > idea
>> > > how
>> > > > to use ssh on windows 7. And so using the app juicessh I ran the
>> > > > command
>> > > :
>> > > > /usr/lib/sqm/ sh speedtest.sh and I got a permission denied. Any
>> > > > ideas on
>> > > > what I can do ?
>
>



-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html



More information about the Cerowrt-devel mailing list