From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 00:08:42 2010 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 28AD5106566B for ; Mon, 27 Sep 2010 00:08:42 +0000 (UTC) (envelope-from ai@kliksys.ru) Received: from gate.kliksys.ru (gate.kliksys.ru [78.110.241.113]) by mx1.freebsd.org (Postfix) with ESMTP id D955F8FC08 for ; Mon, 27 Sep 2010 00:08:41 +0000 (UTC) Received: from [192.168.0.204] (helo=two.kliksys.ru) by gate.kliksys.ru with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1P00zs-0002iP-Jj for freebsd-current@freebsd.org; Mon, 27 Sep 2010 03:51:08 +0400 Date: Mon, 27 Sep 2010 03:53:14 +0400 From: Artemiev Igor To: freebsd-current@freebsd.org Message-ID: <20100926235313.GA4848@two.kliksys.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam_score: 8.3 Subject: netisr software flowid 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, 27 Sep 2010 00:08:42 -0000 Hi. What is the status for software flowid calculation? I found the old netisr2 patch[1] from Robert Watson and took from there code for setting flowid in tcp_input with some changes[2]. It work for me very well (8.1-stable) - now the server can handle not transit traffic without drops up to 118Kpps 60MB/s incoming and up to 107Kpps 50MB/s outgoing, netisr dispatch packets via three threads by round-robin: 12 root -44 - 0K 336K CPU2 2 18:43 56.15% {swi1: netisr 2} 12 root -44 - 0K 336K RUN 3 18:41 54.49% {swi1: netisr 3} 12 root -44 - 0K 336K CPU0 0 18:39 50.39% {swi1: netisr 0} 12 root -68 - 0K 336K WAIT 1 8:01 18.07% {irq256: bge0} So, what the reason to exclude this code from final version? [1] http://www.watson.org/~robert/freebsd/netperf/20090523-netisr2.diff [2] http://gate.kliksys.ru/~ai/software_flowid.diff