From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 60BC021F245 for ; Thu, 27 Mar 2014 10:47:57 -0700 (PDT) Received: by mail-wi0-f181.google.com with SMTP id hm4so3439393wib.2 for ; Thu, 27 Mar 2014 10:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=926ilevWhQm5DaYplMoO+myp2utO+IWakB6t6fhd0XY=; b=aY1AKBSYS7D4NGaswKYRjH9/Aolf+ZNpJO1ScqKV8Fcc1hEj6MJxCy57TTYiO9rqwx T6P2X4YPFUTii0fAoKLN8IX257Ol9/Zpqpg7m7gOZitHL1YorC8fpKWW/7/RFKN0D7cf FSikPnCwog8+lDRpT3RZGzInJudpU++eCO1k5r3yu1EZAwxApQCouY7ZbpG4jjSDktEv rqZHpT3xiiwGl3+vKXgpSN3p3lzbggGOtVPTkwKLxow+HsQxuozUBKA4tipIn/a/gZrE INgIKUqq4ST215bkD7FvtEklzu0j2mEuExeRB4uyDd2qJStoCAgjpzo8waPiI/uLse24 FhgQ== MIME-Version: 1.0 X-Received: by 10.180.90.207 with SMTP id by15mr15335207wib.48.1395942475066; Thu, 27 Mar 2014 10:47:55 -0700 (PDT) Received: by 10.216.8.1 with HTTP; Thu, 27 Mar 2014 10:47:54 -0700 (PDT) In-Reply-To: References: <20140326025817.GX7867@angus.ind.WPI.EDU> Date: Thu, 27 Mar 2014 10:47:54 -0700 Message-ID: From: Dave Taht To: Ernesto Elias Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "cerowrt-devel@lists.bufferbloat.net" Subject: Re: [Cerowrt-devel] Need help with the speedtest X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 17:47:57 -0000 On Thu, Mar 27, 2014 at 6:33 AM, Ernesto Elias wr= ote: > 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 t= hat > 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 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" 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 >> > > >> > > 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 doub= le >> > > 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 ? > > --=20 Dave T=E4ht Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.= html