From owner-freebsd-current@FreeBSD.ORG Mon Jul 13 19:28:59 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBD01106575A for ; Mon, 13 Jul 2009 19:28:59 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id A9BFC8FC13 for ; Mon, 13 Jul 2009 19:28:59 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by yxe11 with SMTP id 11so4506346yxe.3 for ; Mon, 13 Jul 2009 12:28:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=LgdPZ0Nfe0D9GUkbE7QD3qSH/cWAx/3IXhkj/7in2Cg=; b=wm8bPzk6syNUthgpu5GirqJdfjIjjFZNR5s5bfKoh483vaoyE7sWGvpwu0++/ftl+Y Jkg41mD9P8/VvhB4//7767WSXeG8/EbBYgIkSAWMWZnmLBgo3YTdDxlROx3K1j3xhsrN tRYqYNZqgoYeqwqKhx2S2Xmgj7LRCiIwur8e0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=HdETysg5MnnPCbZKM//k6GTc0fIo6mBbqmtQDgFbcBVMnyPsdvFE9mlM12F39Pjc2n RdZMawHwMirL0f3PwUk4iqGlm2tUwxIBUY6OP7HcmbEjAUKPpnlWhZhRx9mNKDwhS1sq r/OjJZtcz4BtF6rH07jjQK3Ctn/Pt5MqKcO80= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.100.107.8 with SMTP id f8mr7578715anc.197.1247513339173; Mon, 13 Jul 2009 12:28:59 -0700 (PDT) In-Reply-To: <837660.83798.qm@web63903.mail.re1.yahoo.com> References: <837660.83798.qm@web63903.mail.re1.yahoo.com> Date: Mon, 13 Jul 2009 12:28:59 -0700 X-Google-Sender-Auth: ab24f2d92760c79d Message-ID: <3c1674c90907131228l22d8f2efnd0bebee1f356ebb3@mail.gmail.com> From: Kip Macy To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Flowtables -- any tuning hints? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 19:29:00 -0000 I'm only responding to avoid the misconception that Barney's statements are correct. Barney - please read the code so that you understand what it actually does before commenting further. Thanks, Kip > > I don't see the need for flowtables or any sort of hashing with > multi queue boards in a pass-through environment (such as a firewall). > The flows are already hashed by the hardware so doing all of the > gobbledygook in flowtables seems like a waste of cycles. Just matching > your receive and transmit queues in a properly designed driver is all > thats necessary for lock avoidance. > > Barney > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- When bad men combine, the good must associate; else they will fall one by one, an unpitied sacrifice in a contemptible struggle. Edmund Burke