From owner-freebsd-stable@FreeBSD.ORG Tue Mar 12 10:38:19 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 4980BD5C for ; Tue, 12 Mar 2013 10:38:19 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-ia0-x236.google.com (mail-ia0-x236.google.com [IPv6:2607:f8b0:4001:c02::236]) by mx1.freebsd.org (Postfix) with ESMTP id 1B6F19CC for ; Tue, 12 Mar 2013 10:38:19 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id b35so2913503iac.13 for ; Tue, 12 Mar 2013 03:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=uKJ1QTvayO7bPA6Y079P0PRu/Sdf9kMN+CMpP9ZjKjA=; b=jR161J6ECbHtgzmhl0O/ANSLWVrNqLHcGYh+NtNaM7qVhC+u5aPfqowSzmZ0gt0FsG T6f8sfrV+uZ1ApwsW93hkAHlj+m65eL+yPJxznM33zteYUkJoMveNAcfLT/XIQ9CuKPK vvSjnhrM5D4HJum6FiadKMoSvvj6zdk+VPGZqqRn+MZ8QiRlUe+viKR8vuFlAs1zfnJ/ xltrVmutlIwqrAX0oE6sBESbRcexwU8PLqQkLAOu/w+WFdeu0JT5gRs1UsAK895ugyUr RIW2J9Lxgraui0aTlF+VsyQv24GqMCAi3HVzG4F3sdjIwGkF+7P1v6Pz9Yo+1uC406nG n9FQ== MIME-Version: 1.0 X-Received: by 10.42.67.10 with SMTP id r10mr11988370ici.7.1363084698833; Tue, 12 Mar 2013 03:38:18 -0700 (PDT) Received: by 10.64.19.144 with HTTP; Tue, 12 Mar 2013 03:38:18 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Mar 2013 12:38:18 +0200 Message-ID: Subject: Re: netisr issues From: Sami Halabi To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Mark Saad , FreeBSD-Stable ML 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: Tue, 12 Mar 2013 10:38:19 -0000 Hi, is there any decent documentation what netisr is , what relevant sysctls/loader options are there, and in what cases it should/better be used, ie best practice? Thanks, Sami On Mon, Mar 11, 2013 at 6: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 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Sami Halabi Information Systems Engineer NMS Projects Expert FreeBSD SysAdmin Expert