From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 13 10:16:59 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 377FC106566B for ; Fri, 13 Nov 2009 10:16:59 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout7.freenet.de (mout7.freenet.de [IPv6:2001:748:100:40::2:9]) by mx1.freebsd.org (Postfix) with ESMTP id C9B4C8FC19 for ; Fri, 13 Nov 2009 10:16:58 +0000 (UTC) Received: from [195.4.92.11] (helo=1.mx.freenet.de) by mout7.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #92) id 1N8tD7-00030P-E3; Fri, 13 Nov 2009 11:16:57 +0100 Received: from tf43c.t.pppool.de ([89.55.244.60]:38694 helo=ernst.jennejohn.org) by 1.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #94) id 1N8tD7-0004P0-67; Fri, 13 Nov 2009 11:16:57 +0100 Date: Fri, 13 Nov 2009 11:16:56 +0100 From: Gary Jennejohn To: Sean Hamilton Message-ID: <20091113111656.5dd3beaa@ernst.jennejohn.org> In-Reply-To: <20091113020835.GE12442@visor.slugabed.org> References: <20091113020835.GE12442@visor.slugabed.org> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.2; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: NUMA support; tweaking TCP for GPRS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2009 10:16:59 -0000 On Thu, 12 Nov 2009 18:08:35 -0800 Sean Hamilton wrote: > Second, I am using a FreeBSD server to talk to equipment > which has a GPRS internet connection. This is fairly high > latency (approximately one second RTT) and is prone to > bursts of packet loss, or bursts of extremely high latency > -- perhaps up to a minute. These intervals cause many > retransmissions, which I presume is a good strategy over the > internet, but not so good for GPRS. > > For my application, latency is mostly irrelevant. However, > data over GPRS is very expensive, so I would like to reduce > as much as possible the number of TCP retransmissions made > on the FreeBSD side, possibly at the expense of latency. > > So, I am looking for suggestions on how to achieve this, via > sysctl, setsockopt, etc. There seems to be a lot of > literature regarding TCP tuning, but usually the focus is on > improving performance, not reducing network traffic. The > "rexmit_min" and "rexmit_sop" sysctls mentioned in tcp(4) > seem interesting, but it's not clear to me exactly how they > might be adjusted for this purpose. > > Thanks in advance, > Highjacking this thread. This won't help you, but it would be interesting to have the new Delay Tolerant Networking protocol developed by Vint Cerf for NASA in FreeBSD. Supposedly it's already in Android. --- Gary Jennejohn