From owner-freebsd-stable@FreeBSD.ORG Mon Mar 11 18:06:05 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 23AD1C0C for ; Mon, 11 Mar 2013 18:06:05 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id B4DA9607 for ; Mon, 11 Mar 2013 18:06:04 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id t57so3906135wey.13 for ; Mon, 11 Mar 2013 11:06:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:content-type:x-gm-message-state; bh=8TlgILg3v1uJ34YwkiRRqP1g77zIWWieeIuc28Cti+o=; b=aqWlmhfPp+5q8Y4A7kGl1kMKiLnPUVwjK3twn+IODFivUMmXFPkTiFBhT4J4T8NF7w iiCXOqkxP0SZ4yxoCFvj25wUuip7DdLSnLwk+FP4xTiWDO6P+CpPY70foE5o131mqiMr 02BXx0D+/HWCcDFO9hIrVpLTIEi4f96YYblV0e5hCN+R1PU/Vw/RRNwzkNrZ/pkC8iE7 whqPro4uJVXmO+kAY78jUL89ulXT2SwlL+WeuLaLwBcShKgjF64XmCIX26zCspgezQTl eK0qC68CU0oBXtea6y2koBcxcTRf6ixAAdsKtWefX9gC/B6axztbHUiOOFVcBBN8OPT2 QnYw== MIME-Version: 1.0 X-Received: by 10.194.20.40 with SMTP id k8mr21380072wje.16.1363025163519; Mon, 11 Mar 2013 11:06:03 -0700 (PDT) Received: by 10.216.33.67 with HTTP; Mon, 11 Mar 2013 11:06:03 -0700 (PDT) X-Originating-IP: [209.66.78.50] In-Reply-To: References: Date: Mon, 11 Mar 2013 14:06:03 -0400 Message-ID: Subject: Re: netisr issues From: Mark Saad To: FreeBSD-Stable ML Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkYjWEDkmWBWzYFclffLocmrbjk7OBGJzxrztLPEUIodOkal7ZUjue/i6zpSCDd0O5cTedg X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 18:06:05 -0000 On Mon, Mar 11, 2013 at 12:48 PM, Freddie Cash wrote: > On Mon, Mar 11, 2013 at 9:40 AM, Mark Saad wrote: >> >> Freddie >> So should I be adjusting the numbers of threads or is this >> determined somewhere ? >> > I think it's supposed to be automatic, 1 thread per CPU, but I manually set > it via /boot/loader.conf: > net.isr.bindthreads="1" # Bind netisr threads to CPU > cores > net.isr.maxthreads="8" # Set number of threads to > number of CPU cores > net.isr.numthreads="8" # "" > > The net.isr.dispatch is automatically set to direct on our systems. Not > sure if that's the default or not. We used to set that via > /boot/loader.conf as well, but it was removed in the upgrade to 9-STABLE > something as it no longer did anything. > > -- > Freddie Cash > fjwcash@gmail.com Just so I am clear , prior to r222249 by rwatson net.isr.direct=1 enabled the same interaction as net.isr.dispatch=deferred after the commit , with the latter commit enabling netisr to have mulch-threaded support ? -- mark saad | nonesuch@longcount.org