<div class="gmail_quote">---------- Forwarded message ----------<br>From: "Ernesto Elias" <<a href="mailto:ernestogelias@gmail.com">ernestogelias@gmail.com</a>><br>Date: Mar 27, 2014 2:20 PM<br>Subject: Re: [Cerowrt-devel] Need help with the speedtest<br>
To: "Dave Taht" <<a href="mailto:dave.taht@gmail.com">dave.taht@gmail.com</a>><br>Cc: <br><br type="attribution"><p dir="ltr">The SQM system setup is for Download : 54000<br>
Upload : 34000</p>
<p dir="ltr">Yeah I prefer to have low latency rather than raw bandwidth especially since I am a gamer and my family likes to be on YouTube and download files and be on the Internet in general.  So the low latency is a big plus in my book. </p>


<div class="gmail_quote">On Mar 27, 2014 1:47 PM, "Dave Taht" <<a href="mailto:dave.taht@gmail.com" target="_blank">dave.taht@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

On Thu, Mar 27, 2014 at 6:33 AM, Ernesto Elias <<a href="mailto:ernestogelias@gmail.com" target="_blank">ernestogelias@gmail.com</a>> wrote:<br>
> well I do not know if this is the correct method of running the script<br>
> right. But I ran the command: /usr/lib/sqm/betterspeedtest.sh instead of the<br>
> command: /usr/lib/sqm/ sh betterspeedtest.sh and voila it is actually<br>
> running! I get the welcome message and everything. But I do not know if that<br>
> is the correct way of doing it ? But I'll post my results down below:<br>
><br>
> Without SQM<br>
><br>
><br>
> root@cerowrt:~# /usr/lib/sqm/betterspeedtest.sh<br>
> Testing against <a href="http://netperf.richb-hanover.com" target="_blank">netperf.richb-hanover.com</a> while pinging <a href="http://gstatic.com" target="_blank">gstatic.com</a> (60<br>
> seconds in each direction)<br>
> ............................................................<br>
>  Download:  57.66 Mbps<br>
>   Latency: (in msec, 61 pings, 0.00% packet loss)<br>
>       Min: 4.308<br>
>     10pct: 91.300<br>
>    Median: 112.655<br>
>       Avg: 110.100<br>
>     90pct: 127.918<br>
>       Max: 129.345<br>
> ............................................................<br>
>    Upload:  39.21 Mbps<br>
>   Latency: (in msec, 61 pings, 0.00% packet loss)<br>
>       Min: 4.839<br>
>     10pct: 165.525<br>
>    Median: 201.487<br>
>       Avg: 197.311<br>
>     90pct: 234.007<br>
>       Max: 248.005<br>
<br>
At 60Mbit down you are unfortunately hard up against the limit of what<br>
the SQM system can do on the wndr3800 without running out of cpu. What<br>
is your SQM set to?<br>
<br>
<br>
><br>
> With SQM<br>
><br>
><br>
><br>
> root@cerowrt:~# /usr/lib/sqm/betterspeedtest.sh<br>
> Testing against <a href="http://netperf.richb-hanover.com" target="_blank">netperf.richb-hanover.com</a> while pinging <a href="http://gstatic.com" target="_blank">gstatic.com</a> (60<br>
> seconds in each direction)<br>
> ...........................................................<br>
>  Download:  47.12 Mbps<br>
>   Latency: (in msec, 61 pings, 0.00% packet loss)<br>
>       Min: 4.307<br>
>     10pct: 4.397<br>
>    Median: 4.724<br>
>       Avg: 4.829<br>
>     90pct: 5.122<br>
>       Max: 7.566<br>
> ............................................................<br>
>    Upload:  33.65 Mbps<br>
>   Latency: (in msec, 61 pings, 0.00% packet loss)<br>
>       Min: 4.276<br>
>     10pct: 4.441<br>
>    Median: 4.699<br>
>       Avg: 4.794<br>
>     90pct: 5.064<br>
>       Max: 7.303<br>
<br>
So long as you care more about low latency rather than raw bandwidth,<br>
you are in good shape with the sqm system, it seems.<br>
<br>
><br>
><br>
><br>
> On Tue, Mar 25, 2014 at 10:58 PM, Chuck Anderson <<a href="mailto:cra@wpi.edu" target="_blank">cra@wpi.edu</a>> wrote:<br>
>><br>
>> The file is probably in MS-DOS text format with CR-LF line endings<br>
>> given you downloaded it on Windows.  You need to convert it to Unix<br>
>> text format.  Try this from the shell:<br>
>><br>
>> cat speedtest.sh | tr -d \r > speedtestfixed.sh<br>
>> mv speedtestfixed.sh speedtest.sh<br>
>><br>
>> On Tue, Mar 25, 2014 at 10:26:54PM -0400, Ernesto Elias wrote:<br>
>> > Well I made it all read and executable but I still get permission<br>
>> > denied.<br>
>> ><br>
>> > and I tried using "putty" but to no avail has it worked for me, but I'll<br>
>> > try again to see if maybe I messed up setting up putty.<br>
>> > On Mar 25, 2014 9:52 PM, "Dave Taht" <<a href="mailto:dave.taht@gmail.com" target="_blank">dave.taht@gmail.com</a>> wrote:<br>
>> ><br>
>> > > chmod a+rx speedtest.sh<br>
>> > ><br>
>> > > will make it readable and executable.<br>
>> > ><br>
>> > > you will also need to edit the file to use #!/bin/sh<br>
>> > ><br>
>> > > I'd argue that a better place for it would be /usr/bin/<br>
>> > ><br>
>> > > and "putty" is a popular ssh client for windows.<br>
>> > ><br>
>> > > On Tue, Mar 25, 2014 at 6:22 PM, Ernesto Elias<br>
>> > > <<a href="mailto:ernestogelias@gmail.com" target="_blank">ernestogelias@gmail.com</a>><br>
>> > > wrote:<br>
>> > > > Hello everyone ! I'm in dire need of assistance with the new speed<br>
>> > > > test<br>
>> > > that<br>
>> > > > our fellow community member has made. I'm on windows 7 and I used<br>
>> > > > WinSCP<br>
>> > > > program to move the speedtest script into /usr/lib/sqm/ and I double<br>
>> > > checked<br>
>> > > > to make sure that everything is there copied from the webpage into<br>
>> > > > the<br>
>> > > file<br>
>> > > > and named it speedtest.sh and so I used my phone because I have no<br>
>> > > > idea<br>
>> > > how<br>
>> > > > to use ssh on windows 7. And so using the app juicessh I ran the<br>
>> > > > command<br>
>> > > :<br>
>> > > > /usr/lib/sqm/ sh speedtest.sh and I got a permission denied. Any<br>
>> > > > ideas on<br>
>> > > > what I can do ?<br>
><br>
><br>
<br>
<br>
<br>
--<br>
Dave Täht<br>
<br>
Fixing bufferbloat with cerowrt: <a href="http://www.teklibre.com/cerowrt/subscribe.html" target="_blank">http://www.teklibre.com/cerowrt/subscribe.html</a><br>
</blockquote></div>
</div>