From owner-freebsd-stable@FreeBSD.ORG Mon Mar 11 16:26:51 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 04C77BD4 for ; Mon, 11 Mar 2013 16:26:51 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qa0-f51.google.com (mail-qa0-f51.google.com [209.85.216.51]) by mx1.freebsd.org (Postfix) with ESMTP id BB2CEE1F for ; Mon, 11 Mar 2013 16:26:50 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id cr7so1073244qab.3 for ; Mon, 11 Mar 2013 09:26:44 -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=QaFakp9fkUgUArLvoym7ufUs8DEdG6WJM27T6FFZiJ4=; b=A6DHnK8b7p3EtVAmEEYlGRo60LYj3NaHmHxngbiGfjF2LjswAKkn9P3adk0ICNn7Y4 2fnQ2xKM7s7obmQPmivam41//84f1p+xxA0icWW+VNrqlWbtC3IUeaQcZFlirygks7qa mtsbNev5i3d3XWxEs3Syi18yLbEJ/dCWNPqAQXKkcJJBaFaPkiJI2y+1xhc0vYkUyuk4 p55CTEl4/mlNUZT7xK7kqBEj7EUmQ+hsyOg76ldC85uzjFQeDHW7CsY+wbxL8TzOgq3X CIpayKWsIhsJEIOY1bOR3H9sqL7w6refz5eFPDiGxfdtIEBm9yYQDq++6SiCBC7h+akH e7vw== MIME-Version: 1.0 X-Received: by 10.49.118.137 with SMTP id km9mr19908338qeb.34.1363019203963; Mon, 11 Mar 2013 09:26:43 -0700 (PDT) Received: by 10.49.50.67 with HTTP; Mon, 11 Mar 2013 09:26:43 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 Mar 2013 09:26:43 -0700 Message-ID: Subject: Re: netisr issues From: Freddie Cash To: Mark Saad Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: 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: Mon, 11 Mar 2013 16:26:51 -0000 I seem to recall that the method for setting "direct" changed so that it's not a binary option (net.isr.direct), but instead is a policy setting now (net.isr.dispatch). Try: net.isr.dispatch="direct" That's what's set on our 9.1-STABLE systems: # sysctl net.isr net.isr.numthreads: 8 net.isr.maxprot: 16 net.isr.defaultqlimit: 256 net.isr.maxqlimit: 10240 net.isr.bindthreads: 1 net.isr.maxthreads: 8 net.isr.direct: 0 net.isr.direct_force: 0 net.isr.dispatch: direct # netstat -Q | head Configuration: Setting Current Limit Thread count 8 8 Default queue limit 256 10240 Dispatch policy direct n/a Threads bound to CPUs enabled n/a On Mon, Mar 11, 2013 at 9:22 AM, Freddie Cash wrote: > You're right. I was looking at different net.isr oids, not the _direct > ones. My bad. > > > On Mon, Mar 11, 2013 at 9:17 AM, Mark Saad wrote: > >> On Mon, Mar 11, 2013 at 12:11 PM, Freddie Cash wrote: >> > Works if you set them in /etc/sysctl.conf. Haven't looked into it, but >> I >> > think there's something in the startup that sets them to 0 after the >> kernel >> > is loaded, so the loader.conf settings are overwritten. >> > >> > >> > On Mon, Mar 11, 2013 at 7:42 AM, Mark Saad >> wrote: >> >> >> >> All >> >> I am looking for some guidance on how to turn netisr back on, on a >> >> 9.1-RELEASE and 9.1-STABLE box. It looks it stopped working as it did >> in >> >> prior versions of FreeBSD . >> >> I tested this on 9.1-RELEASE and 9.1-STABLE #0 r247804 built last >> monday. >> >> >> >> My question is this. If I enable the direct option in boot/loader.conf >> via >> >> this >> >> >> >> net.isr.direct="1" >> >> net.isr.direct_force="1" >> >> >> >> I do not get any expected result. >> >> >> >> root@chambers:~ # sysctl net.isr.direct >> >> net.isr.direct: 0 >> >> root@chambers:~ # sysctl net.isr.direct_force >> >> net.isr.direct_force: 0 >> >> >> >> root@chambers:~ # netstat -Q >> >> Configuration: >> >> Setting Current Limit >> >> Thread count 1 1 >> >> Default queue limit 256 10240 >> >> Dispatch policy direct n/a >> >> Threads bound to CPUs disabled n/a >> >> >> >> .... >> >> >> >> >> >> Am I missing something ? >> >> >> >> >> >> -- >> >> mark saad | nonesuch@longcount.org >> >> _______________________________________________ >> >> 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" >> > >> > >> > >> > >> > -- >> > Freddie Cash >> > fjwcash@gmail.com >> >> Freddie >> When I tried to set them in /etc/sysctl.conf , sysctl stated they >> were read-only . >> >> [root@mkr2 /etc]# sysctl -w net.isr.direct=1 >> sysctl: oid 'net.isr.direct' is read only >> >> >> [root@mkr2 /etc]# sysctl -w net.isr.direct_force=1 >> sysctl: oid 'net.isr.direct_force' is read only >> >> -- >> mark saad | nonesuch@longcount.org >> _______________________________________________ >> 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" >> > > > > -- > Freddie Cash > fjwcash@gmail.com > -- Freddie Cash fjwcash@gmail.com