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 Mar 24, 2011, at 5:31 PM, 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?

Enabling hardware checksum support is almost always helpful.  Enabling TSO 
seems to be a lot more of a hit-or-miss situation, depending a lot on whether 
you are running at 100 or 1000Mb/s, how much data is being written to the 
network at a time, and so forth.

> If so, how would I do that?

ifconfig wm0 ip4csum-tx ip4csum-rx [ ... ]

Regards,
-- 
-Chuck



Home | Main Index | Thread Index | Old Index