From owner-freebsd-net@FreeBSD.ORG Wed Aug 14 18:11:06 2013 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CCEEFB81; Wed, 14 Aug 2013 18:11:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 13E552BD5; Wed, 14 Aug 2013 18:11:05 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id p58so7978145wes.40 for ; Wed, 14 Aug 2013 11:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=uyGC07M3iApI6iriGIStoAJTeTXtdv882n3NxtBCLek=; b=YXjn5n6nr9mPFSWMeSFdL/6ks5yNfT81kzwif/6B1clBGA7ABq2isyHZKU81GioPK4 ncz4bgG+pFcHn/Y3+mmk2FRcKSLmVSgUwYM7zqfDKEZ10pnlQQNr92z2mMpL80IhxIe1 rw1d+YIsf+x+Ciw9toeQiDHRrK3QwkJ/5HKvDxcenHtg9U+6qIKrxFNjQuWS8zMiY9zG x5q2lzWAxpmkVeS6vDZzcm2QrwuYY7i8ncslC35v/Fqm/XShs1ca6QHeKzXsz/Z1qap0 DWj+mV7CU1/OYJXpzHejCaNl85o2oL4Li4/m1JttRBtKK6S1I56aTKv7+B1AkYbF3DUf U9Rw== MIME-Version: 1.0 X-Received: by 10.180.37.164 with SMTP id z4mr2939953wij.30.1376503864231; Wed, 14 Aug 2013 11:11:04 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.116.136 with HTTP; Wed, 14 Aug 2013 11:11:04 -0700 (PDT) In-Reply-To: <587579055.20130814154713@serebryakov.spb.ru> References: <520A6D07.5080106@freebsd.org> <520AFBE8.1090109@freebsd.org> <520B24A0.4000706@freebsd.org> <520B3056.1000804@freebsd.org> <20130814102109.GA63246@onelab2.iet.unipi.it> <587579055.20130814154713@serebryakov.spb.ru> Date: Wed, 14 Aug 2013 11:11:04 -0700 X-Google-Sender-Auth: glOPNvNm3PXuhuqP9xyJaiSR_uk Message-ID: Subject: Re: it's the output, not ack coalescing (Re: TSO and FreeBSD vs Linux) From: Adrian Chadd To: Lev Serebryakov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Lawrence Stewart , Luigi Rizzo , FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 18:11:06 -0000 On 14 August 2013 04:47, Lev Serebryakov wrote: > And we should invalidate this info on ARP/route changes, or connection > will be lost in such cases, am I right?.. So, on each such event code > should look into all sockets and check, if routing/ARP information is > still > valid for them. Or we should store lists of sockets in routing and ARP > tables... I don't know, what is worse. > .. or per-CPU copies of the ARP table.. ? -adrian