Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

Freddie Cash fjwcash at gmail.com
Wed Jul 2 19:48:30 UTC 2008


On Mon, Jun 30, 2008 at 6:39 PM, Ingo Flaschberger <if at 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 at gmail.com


More information about the freebsd-net mailing list