From owner-freebsd-stable@FreeBSD.ORG Sat Mar 3 17:06:22 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42DAA106564A for ; Sat, 3 Mar 2012 17:06:22 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0173E8FC17 for ; Sat, 3 Mar 2012 17:06:21 +0000 (UTC) Received: by iahk25 with SMTP id k25so4873099iah.13 for ; Sat, 03 Mar 2012 09:06:21 -0800 (PST) Received-SPF: pass (google.com: domain of kmacybsd@gmail.com designates 10.42.29.70 as permitted sender) client-ip=10.42.29.70; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kmacybsd@gmail.com designates 10.42.29.70 as permitted sender) smtp.mail=kmacybsd@gmail.com; dkim=pass header.i=kmacybsd@gmail.com Received: from mr.google.com ([10.42.29.70]) by 10.42.29.70 with SMTP id q6mr9693283icc.22.1330794381604 (num_hops = 1); Sat, 03 Mar 2012 09:06:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=N7SJ+M/yXwXNlS+BPsNEUVsVLGsORalhNaGXhM2pRy0=; b=Iw1GZOSs+LK1zpmYRsl/f9R0nCmJfNPPViclJb74ivw3wQ7upA/AjtMbcE4VvxRAZY n58DNilmqbZQSs6uYOB5WaucIqjZEBSAsoGKy2qsqyzYSyWxF+MoDoZTjfiQcxXPZme0 H3p8Uc96HwYSjvSXZkg2qYUKe0nvy6rieQ7eb9xfFfiNI2q/9BlqOqHE1pxpmux4nQ/u Ft3Rj5kdoeTUZ1WMZl80rrbUg/BqdAZz5CrVYnERItya0FVtyXNWRmi9+whM9U4ZDISj jUhIduKgmhie6yLxVejuHL9FlX4KCPEvbH9UZjJsWO86gnZcvbOuXPCzVasfyJ2POYj9 CeFA== MIME-Version: 1.0 Received: by 10.42.29.70 with SMTP id q6mr7984159icc.22.1330793902329; Sat, 03 Mar 2012 08:58:22 -0800 (PST) Sender: kmacybsd@gmail.com Received: by 10.50.134.106 with HTTP; Sat, 3 Mar 2012 08:58:22 -0800 (PST) Date: Sat, 3 Mar 2012 17:58:22 +0100 X-Google-Sender-Auth: v7ReA_KcgrD8lzngrlgdLu9mYfI Message-ID: From: "K. Macy" To: FreeBSD Stable , FreeBSD Current Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: Subject: Request for flowtable testers and actionable feedback RE: flowtable usable or not X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 17:06:22 -0000 I'm re-sending this portion of another mail as it will inevitably not be read by most readers by virtue of having been part of a long and digressive thread. subject line: "flowtable usable or not" It is possible to re-structure the routing code to have a smaller cache footprint / shorter lookup time / and eliminate all locking in the packet transmit path (ip_output, ip_forward). However, it would take more time and effort than I have to do so as a recreational activity. The set of people able to fund such an effort is non-intersecting with the set of people who would benefit the most heavily from it. Hence, for the time being, for those who want to be able to approach anywhere near 1Mpps, much less 10 or 15 times that, whilst continuing to use the regular stack (i.e. not running netmap) we are left only with flowtable for bypassing the locking and compute overhead of per-packet route lookups. It is beyond debate that under some, if not many, circumstances flowtable was unusable and perhaps continues to be. Hence, any further reports of "it was broken so I turned it off, and now my life is better" should be left unsent. If you, the reader, are willing to contribute to the testing of changes, provide backtraces from cores etc. please follow up. Thank you for your support. Cheers, Kip -- =A0 =A0=93The real damage is done by those millions who want to 'get by.' The ordinary men who just want to be left in peace. Those who don=92t want their little lives disturbed by anything bigger than themselves. Those with no sides and no causes. Those who won=92t take measure of their own strength, for fear of antagonizing their own weakness. Those who don=92t like to make waves=97or enemies. =A0 =A0Those for whom freedom, honour, truth, and principles are only literature. Those who live small, love small, die small. It=92s the reductionist approach to life: if you keep it small, you=92ll keep it under control. If you don=92t make any noise, the bogeyman won=92t find you. =A0 =A0But it=92s all an illusion, because they die too, those people who roll up their spirits into tiny little balls so as to be safe. Safe?! >From what? Life is always on the edge of death; narrow streets lead to the same place as wide avenues, and a little candle burns itself out just like a flaming torch does. =A0 =A0I choose my own way to burn.=94 =A0 =A0Sophie Scholl