From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::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 C2B9321F113 for ; Wed, 29 Jan 2014 14:18:09 -0800 (PST) Received: by mail-qc0-f181.google.com with SMTP id e9so3704140qcy.26 for ; Wed, 29 Jan 2014 14:18:08 -0800 (PST) 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=93kmSqng6cgWnkTrMNeZ4NRxMK7Pn3lR75cHElR2V5c=; b=HHi80b7dOvVmSdHJxWpgwgN//SbdxWT/czQ2ohkpcgcKJpiJpmLdiPaXP2XF/5V2Fs AzSxf9/jkuvnZZhHgbyOXXcp0+dz94IojZFuYkEe7ZJ/NY2UHFrDEHiuQ5WssE/mOM1C CSuuLm3ddgknmRj/7OPEBAd5DNAw6O3MNZ/CaQfCPrTADs4U2oy769h1Q6Ec21n6hSzM K3qCFwW/D1bLP2lv4fzOqA2MayjVmzcQHP4Z3t/Q2UF7ApF7P+lQzplyMKZQThz2uUBL uC926SYUNHrcxViTWIGfwcDCJ/U+KbbdOjvxpsRyGaYDkenOqDMGcGTxpc+Z1VQW89Fh +9Rg== MIME-Version: 1.0 X-Received: by 10.224.115.78 with SMTP id h14mr16511665qaq.94.1391033888633; Wed, 29 Jan 2014 14:18:08 -0800 (PST) Received: by 10.224.42.70 with HTTP; Wed, 29 Jan 2014 14:18:08 -0800 (PST) In-Reply-To: <8533.1391030878@sandelman.ca> References: <8533.1391030878@sandelman.ca> Date: Wed, 29 Jan 2014 14:18:08 -0800 Message-ID: From: Dave Taht To: Michael Richardson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: cerowrt-devel Subject: Re: [Cerowrt-devel] rsync over ssh 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: Wed, 29 Jan 2014 22:18:10 -0000 On Wed, Jan 29, 2014 at 1:27 PM, Michael Richardson wrot= e: > > I often run rsync over ssh to transfer files. > I suspect that they are being classified wrong, and are competing with my > interactive ssh sessions. I experience classic bufferbloat issues with a > congested uplink when typing. (But, DNS and web is unaffected, it seems) 0) you should measure your delay and post... 1) I switched to mosh for most of my interactive sessions that I used to use ssh for. Helps. 2) there are patches to rsync to use a different cc algo and diffserv marking, but those only work over native tcp. https://git.samba.org/?p=3Drsync-patches.git;a=3Dblob_plain;f=3Dcongestion.= diff;hb=3Dmaster > > I notice in ssh_config(5) man page that it says: > > IPQoS Specifies the IPv4 type-of-service or DSCP class for connect= ions. Accepted values are ``af11'', > ``af12'', ``af13'', ``af21'', ``af22'', ``af23'', ``af31'', = ``af32'', ``af33'', ``af41'', ``af42'', > ``af43'', ``cs0'', ``cs1'', ``cs2'', ``cs3'', ``cs4'', ``cs5= '', ``cs6'', ``cs7'', ``ef'', ``lowdelay'', > ``throughput'', ``reliability'', or a numeric value. This o= ption may take one or two arguments, sepa- > rated by whitespace. If one argument is specified, it is us= ed as the packet class unconditionally. If > two values are specified, the first is automatically selecte= d for interactive sessions and the second > for non-interactive sessions. The default is ``lowdelay'' f= or interactive sessions and ``throughput'' > for non-interactive sessions. 3) I don't think rsync currently tries to set anything when using ssh as a transport. Perhaps those patches can be improved to pass it down to the ssh call? > > > I can see no evidence that my IPv6 packets are being changed in anyway. A lot of systems don't have the correct IPV6_TCLASS call. > On IPv4, I see: > > 16:25:50.744290 IP (tos 0x8, ttl 64, id 62723, offset 0, flags [DF], prot= o TCP (6), length 52) > 209.87.252.250.51417 > 97.107.133.15.22: Flags [F.], cksum 0x5735 (co= rrect), seq 623906, ack 3314, win 110, options [nop,nop,TS val 1178738167 e= cr 2623900673], length 0 > > I'm not sure that "tos 0x8" is particularly useful. It's DSCP 1, and I th= ink > it's actually being marked TOS-like. Your rsync over ssh should get marked background (CS1) somehow, and ssh interactive, interactive. openssh has different behavior than dropbear. Dropbear only recently added some support for saner classification. > Will any value here have any affect on default 3.10 qos.sh script? > -- > ] Never tell me the odds! | ipv6 mesh netwo= rks [ > ] Michael Richardson, Sandelman Software Works | network archite= ct [ > ] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails= [ > > > > > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel --=20 Dave T=E4ht Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.= html