From owner-freebsd-net@FreeBSD.ORG Wed Oct 27 18:37:21 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBEF21065693 for ; Wed, 27 Oct 2010 18:37:21 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.re1.yahoo.com (mrout1-b.corp.re1.yahoo.com [69.147.107.20]) by mx1.freebsd.org (Postfix) with ESMTP id AF8FC8FC1D for ; Wed, 27 Oct 2010 18:37:21 +0000 (UTC) Received: from [127.0.0.1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout1-b.corp.re1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id o9RIR24V078562; Wed, 27 Oct 2010 11:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=yahoo-inc.com; s=cobra; t=1288204022; bh=TsLNJncXGiNta02FeBo9BpKUezLGhyZLznI1DXjdHJE=; h=Subject:From:Reply-To:To:Content-Type:Date:Message-ID: Mime-Version:Content-Transfer-Encoding; b=qZRXBOhgvs+sP0B06riaEcz/6ThARHvILbZegUZBhz6l7+Uo5BUOTZpTKrzoNfvox OR0ju52rOh9dKKsmKheQb+p1IX3EFcYfjAtSn61IP0+kcap2MuTJWBG5w44bKrP69N FosxGmD7F/9gIB6rF4xRBGHML2H9Zn1/RbuLjmcg= From: Sean Bruno To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" Date: Wed, 27 Oct 2010 11:27:02 -0700 Message-ID: <1288204022.3808.191.camel@home-yahoo> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit Subject: Excessive Duplicate ACKs X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2010 18:37:22 -0000 We moved an application stack from BSD4(BOO!) to BSD7(YAY!) recently and got a great performance increase, so first: GOOD JOB. Periodically, we are seeing strings of duplicate ACK being sent in <100uSec deltas. I can't imagine that this should be happening, but there it is. I've sanitized an example trace of a transaction, demonstrating an average case that had 8 dup ACKs, some less than 3 microsends in delta! sysctl -a also attached (and sanitized). http://people.freebsd.org/~sbruno/dup_ack_collapsed.txt http://people.freebsd.org/~sbruno/sysctl_dup_acks.txt Sean