Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2008 12:48:28 -0700
From:      "Freddie Cash" <fjwcash@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]
Message-ID:  <b269bc570807021248h78f5f9d9vb30548cb7f5b2c40@mail.gmail.com>
In-Reply-To: <alpine.LFD.1.10.0807010337470.19444@filebunker.xip.at>
References:  <4867420D.7090406@gtcomm.net> <200806301944.m5UJifJD081781@lava.sentex.ca> <20080701004346.GA3898@stlux503.dsto.defence.gov.au> <alpine.LFD.1.10.0807010257570.19444@filebunker.xip.at> <20080701010716.GF3898@stlux503.dsto.defence.gov.au> <alpine.LFD.1.10.0807010308320.19444@filebunker.xip.at> <486986D9.3000607@monkeybrains.net> <4869880D.8040901@ibctech.ca> <alpine.LFD.1.10.0807010337470.19444@filebunker.xip.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 30, 2008 at 6:39 PM, Ingo Flaschberger <if@xip.at> wrote:
>> I'm curious now... how do you change individual device polling via sysctl?
>
> not via sysctl, via ifconfig:
>
> # enable interface polling
> /sbin/ifconfig em0 polling
> /sbin/ifconfig em1 polling
> /sbin/ifconfig em2 polling
> /sbin/ifconfig em3 polling
>
> (and via /etc/rc.local also across reboots)

No, you put it into the ifconfig_X lines in /etc/rc.conf as the last
option.  Or -polling to disable it.

ifconfig_em0='inet 1.2.3.4/24 polling"
ifconfig_em2='inet 1.2.3.5/24 -polling"

-- 
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b269bc570807021248h78f5f9d9vb30548cb7f5b2c40>