From owner-freebsd-net@FreeBSD.ORG Thu Dec 20 21:45:39 2007 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9DF516A419; Thu, 20 Dec 2007 21:45:39 +0000 (UTC) (envelope-from vadim_nuclight@mail.ru) Received: from mx28.mail.ru (mx28.mail.ru [194.67.23.67]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3B213C44B; Thu, 20 Dec 2007 21:45:39 +0000 (UTC) (envelope-from vadim_nuclight@mail.ru) Received: from mx40.mail.ru (mx40.mail.ru [194.67.23.36]) by mx28.mail.ru (mPOP.Fallback_MX) with ESMTP id DD96C7889BD; Thu, 20 Dec 2007 21:49:36 +0300 (MSK) Received: from [78.140.3.25] (port=18063 helo=nuclight.avtf.net) by mx40.mail.ru with esmtp id 1J5QSb-000HS6-00; Thu, 20 Dec 2007 21:49:33 +0300 To: "Julian Elischer" , dima <_pppp@mail.ru> References: <20071220135342.O67327@fledge.watson.org> <476AB68C.30201@elischer.org> Message-ID: Date: Fri, 21 Dec 2007 00:49:29 +0600 From: "Vadim Goncharov" Organization: AVTF TPU Hostel Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <476AB68C.30201@elischer.org> User-Agent: Opera M2/7.54 (Win32, build 3865) Cc: arch@freebsd.org, Robert Watson , net@freebsd.org Subject: Re: TCP Projects for 8.0 - first cut wiki page X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 21:45:40 -0000 21.12.07 @ 00:38 Julian Elischer wrote: >> As I know, we have a single swi:net thread in the kernel yet. Are >> there any plans to make several such threads? If yes, this activity >> isn't mentioned in wiki. >> There are 2 ideas: >> 1. per-core thread >> 2. per-interface thread >> I like the second more. > > and for my system with 64 virtual interfaces? Surely, per-core thread is enough - why have too much synchronization overhead?.. A computer is a state machine. Threads are for people who can't program state machines. (c) Alan Cox -- WBR, Vadim Goncharov