From owner-freebsd-net@FreeBSD.ORG Mon May 22 13:39:34 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E672716A423 for ; Mon, 22 May 2006 13:39:34 +0000 (UTC) (envelope-from lists@yazzy.org) Received: from mx1.yazzy.org (mx1.yazzy.org [84.247.145.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8596C43D45 for ; Mon, 22 May 2006 13:39:34 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.witelcom.com ([84.247.144.144] helo=marcin) by mx1.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1FiAcg-0001jp-0e; Mon, 22 May 2006 15:39:02 +0200 Date: Mon, 22 May 2006 15:39:32 +0200 From: Marcin Jessa To: mag@intron.ac Message-ID: <20060522153932.1c789788@marcin> In-Reply-To: <20060522115722.15918F1590@smtp.263.net> References: <20060522115722.15918F1590@smtp.263.net> Organization: YazzY.org X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: freebsd-net@freebsd.org Subject: Re: How to Quicken TCP Re-transmission? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 13:39:35 -0000 On Mon, 22 May 2006 19:51:33 +0800 mag@intron.ac wrote: > Hi, > I want to transmit data between host A and host B. The link > between these two hosts is really bad: PING reports 30% packet loss > and about 60 ms return delay. This means if timed out for 1 second, > the data must have been lost. > I keep "net.inet.tcp.rexmit_min" and "net.inet.tcp.rexmit_slop" > untouched. But TCPDUMP tells me that if some data are lost, > re-transmission will be done 64 seconds after last transmission! > How to quicken TCP re-transmission? > How to tune "net.inet.tcp.rexmit_min" and > "net.inet.tcp.rexmit_slop"? You can take a look at SCPS - http://www.scps.org/ Their protocol is used on lossy links with big latency and packet loss (such as satellites) and overcomes shortcomings of TCP. It works with divert mechanism of FreeBSD and I ported the tap device part as well to both NetBSD / FreeBSD (experimental). Cheers, Marcin.