Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: Ernesto Elias <ernestogelias@gmail.com>
Cc: "cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] Need help with the speedtest
Date: Thu, 27 Mar 2014 10:47:54 -0700	[thread overview]
Message-ID: <CAA93jw4eXvm-m6O6AP5sNHWd3oexMu7XR_Lz3LyJ8E9_1s9KLQ@mail.gmail.com> (raw)
In-Reply-To: <CAAMzHDaha6GzPS=G5FcezXT+=eg8F8vrZnt=nKXMtFf5tuoABA@mail.gmail.com>

On Thu, Mar 27, 2014 at 6:33 AM, Ernesto Elias <ernestogelias@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@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@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@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@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@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

  reply	other threads:[~2014-03-27 17:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-26  1:22 Ernesto Elias
2014-03-26  1:52 ` Dave Taht
2014-03-26  2:26   ` Ernesto Elias
2014-03-26  2:58     ` Chuck Anderson
2014-03-27 13:33       ` Ernesto Elias
2014-03-27 17:47         ` Dave Taht [this message]
     [not found]           ` <CAAMzHDZQm3+7r6=75jNz0KoM_ztYp9=UHumztJZAJ9cEr813nA@mail.gmail.com>
2014-03-27 19:48             ` [Cerowrt-devel] Fwd: " Ernesto Elias

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAA93jw4eXvm-m6O6AP5sNHWd3oexMu7XR_Lz3LyJ8E9_1s9KLQ@mail.gmail.com \
    --to=dave.taht@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=ernestogelias@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox