From owner-freebsd-net@FreeBSD.ORG Thu Feb 2 17:34:20 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E9451065670; Thu, 2 Feb 2012 17:34:20 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6D7F78FC1F; Thu, 2 Feb 2012 17:34:18 +0000 (UTC) Received: by wgbdq11 with SMTP id dq11so2962342wgb.31 for ; Thu, 02 Feb 2012 09:34:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=R3A85hxCoRQB2ulCiuVvLOmrBA8sILKGlFE8NzcA2NI=; b=mO6Y5GohmCeJwE7fT4rIuWvXkfuYmlbIejTPpTBjcH3riFdb5Y0btoU92rLwihMBRc 4gq/FoN40xXHbLQxySB9Z95ndSJGBLtoly7CgJJGcVb/K1fOzPf1Qn1OR+dvFB0oBRBL MsAvzVzpY1siUzTqs/QQUMaC0BrX/v3lDORAU= MIME-Version: 1.0 Received: by 10.180.94.68 with SMTP id da4mr5892940wib.22.1328202445023; Thu, 02 Feb 2012 09:07:25 -0800 (PST) Received: by 10.180.106.129 with HTTP; Thu, 2 Feb 2012 09:07:24 -0800 (PST) In-Reply-To: <4F2AB0A9.70905@FreeBSD.org> References: <4F29A464.3080302@zonov.org> <4F29E2C8.5000909@FreeBSD.org> <4F2A2EAB.3010700@zonov.org> <1446971288.20120202105912@yandex.ru> <4F2AB0A9.70905@FreeBSD.org> Date: Thu, 2 Feb 2012 12:07:24 -0500 Message-ID: From: Ryan Stone To: "Alexander V. Chernikov" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= , Andrey Zonov Subject: Re: netisr defered - active only one thread 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, 02 Feb 2012 17:34:20 -0000 2012/2/2 Alexander V. Chernikov : > P.S. it is also reasonable to set net.isr.bindthreads to 1 I really don't recommend setting this in any release. There is currently a bug with binding kernel threads that causes unrelated threads to be unnecessarily bound to CPUs. In the specific case of net.isr.bindthreads this will cause(among others) the softclock threads to all be bound to the same CPU, which may well obviate any performance increase from binding the netisr threads.