From owner-freebsd-net@FreeBSD.ORG Thu Feb 2 19:51:11 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 D4E86106564A; Thu, 2 Feb 2012 19:51:11 +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 3B0FC8FC0C; Thu, 2 Feb 2012 19:51:10 +0000 (UTC) Received: by wgbdq11 with SMTP id dq11so3122426wgb.31 for ; Thu, 02 Feb 2012 11:51:10 -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=OVP83S0OyVh6itxiLlLB0r28OVKY8SuYYiD5KyvBXts=; b=uBmw40U1VPVNpL6ruE8hO1T0b3PC0iWEdH1MUTmnTfneKmpqhm1Vks5R7kKqRIOtMv R0FYs9XYe/O8jQ5kbmyrmuW+xokHgrre5SfyQRX11awiJo8NkPOHeZ2rAqY6sA0+FsVU KCPVEHUp6s31rNbGb6PO7SMmZIOHj94XLdNc8= MIME-Version: 1.0 Received: by 10.180.78.168 with SMTP id c8mr6794492wix.19.1328212270077; Thu, 02 Feb 2012 11:51:10 -0800 (PST) Received: by 10.180.106.129 with HTTP; Thu, 2 Feb 2012 11:51:10 -0800 (PST) In-Reply-To: <4F2ADF5C.1030900@FreeBSD.org> References: <4F29A464.3080302@zonov.org> <4F29E2C8.5000909@FreeBSD.org> <4F2A2EAB.3010700@zonov.org> <1446971288.20120202105912@yandex.ru> <4F2AB0A9.70905@FreeBSD.org> <4F2ADF5C.1030900@FreeBSD.org> Date: Thu, 2 Feb 2012 14:51:10 -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 19:51:11 -0000 On Thu, Feb 2, 2012 at 2:09 PM, Alexander V. Chernikov wrote: > As far as I understand, the only effect of setting bindthreads to 1 causes > intr_event_bind() to bind soft netisr to appropriate CPU. Can you point me > to ML discussion or some other info clarifying this bug? http://lists.freebsd.org/pipermail/freebsd-hackers/2012-January/037597.html The intended behaviour is as you describe, unfortunately subsequent threads that are spawned in the intr process inherit the CPU affinity of the last netisr through to be bound to a CPU.