NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: i386 home firewall/router/nat bottleneck diagnostics?



On Fri, Mar 25, 2011 at 12:31:28AM -0000, yancm%sdf.lonestar.org@localhost 
wrote:
> Something else I noticed with ifconfig:
> wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         
> capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
>         enabled=0
>         address: 00:1b:21:94:ff:8d
>         media: Ethernet autoselect (1000baseT
> full-duplex,flowcontrol,rxpause,txpause)
>         status: active
>         inet 10.1.10.10 netmask 0xffffff00 broadcast 10.1.10.255
>         inet6 fe80::21b:21ff:fe94:ff8d%wm0 prefixlen 64 scopeid 0x1
> 
> Apparently I have some hardware capabilities on these cards I do not have
> on. Would turning these on help?

It will reduce CPU load.

> If so, how would I do that?

You can manually switch them on with this command:

        ifconfig wm<n> ip4csum tcp4csum udp4csum tso4

This will probably cause a short loss of connectivity while the
hardware gets reset.

After you have convinced yourself that it works fine simply add a seperate
line with "ip4csum tcp4csum udp4csum tso4" in it to "/etc/ifconfig.wm<n>".

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index