Port-i386 archive

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

Re: nfs server performance (netbsd-5)



On Wed, Apr 07, 2010 at 01:12:31PM +0200, Joerg Sonnenberger wrote:
> On Wed, Apr 07, 2010 at 02:03:38PM +0300, Jukka Marin wrote:
> > I ran "ping -f -s10000 server" for 10 hours with zero packet loss, so
> > it seems my network hardware is working.
> 
> Have you tried disabling all hardware checksum features?

No.. the client machine has no hardware checksum capability, AFAIK:

ale0: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        address: 00:23:54:82:24:c2
        media: Ethernet autoselect (100baseTX 
full-duplex,flowcontrol,rxpause,txpause)
        status: active
        inet 10.1.0.3 netmask 0xffffff00 broadcast 10.1.0.255
        inet alias 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255
        inet alias 192.168.200.254 netmask 0xffffff00 broadcast 192.168.200.255
        inet6 fe80::223:54ff:fe82:24c2%ale0 prefixlen 64 scopeid 0x1

The server is a Xen domU system, but does "enabled=0" mean that hw checksums
are disabled?

xennet0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=2800<TCP4CSUM_Tx,UDP4CSUM_Tx>
        enabled=0
        address: 00:0d:10:80:03:01
        inet 10.1.0.2 netmask 0xffffff00 broadcast 10.1.0.255
        inet6 fe80::20d:10ff:fe80:301%xennet0 prefixlen 64 scopeid 0x1
        atalk 65280.112 range 1-65534 phase 2 broadcast 65280.112

On dom0 side, enabled=0 as well:

wm0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 
1500
capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
        enabled=0
        address: 00:30:48:65:1a:a4
        media: Ethernet autoselect (100baseTX 
full-duplex,flowcontrol,rxpause,txpause)
        status: active
        inet6 fe80::230:48ff:fe65:1aa4%wm0 prefixlen 64 scopeid 0x1

  -jm


Home | Main Index | Thread Index | Old Index