Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2012 06:21:34 +0200
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Soren Dreijer <dreijer+bsd@echobit.net>
Cc:        freebsd-ipfw@freebsd.org, Ian Smith <smithi@nimnet.asn.au>
Subject:   Re: Significant network latency when using ipfw and in-kernel NAT
Message-ID:  <20120917042134.GA67124@onelab2.iet.unipi.it>
In-Reply-To: <CALoZf3gsXbOszP=G-NLtimJD6awaNv0TFfcm42%2B0ZMtF_JJfKQ@mail.gmail.com>
References:  <CALoZf3iCf1_fHgAWUXa3fgudOe66sbk35P0CYhgsneBuhCORJg@mail.gmail.com> <20120913163013.GA22049@onelab2.iet.unipi.it> <CALoZf3iRzx5V=1th32LE8OCa0_GTBNGSZeGuH9qTp4Fk1j3ZRw@mail.gmail.com> <20120913174612.GB22571@onelab2.iet.unipi.it> <CALoZf3jRpcryGE0TXxdmZ0d6eD1KbJTY-KaNQEiUPuBuPzWtBA@mail.gmail.com> <20120914144529.R51539@sola.nimnet.asn.au> <CALoZf3hxdEcwXLVLi9Xdx2S%2Bv45-GNQo4b4XVcn-fGhB4y1Z%2Bw@mail.gmail.com> <20120915034627.V51539@sola.nimnet.asn.au> <CALoZf3isvgnqXLSP3v6qDw1BpbxJ2%2Bus%2BdHYX4ZKcnrBwzfKKg@mail.gmail.com> <CALoZf3gsXbOszP=G-NLtimJD6awaNv0TFfcm42%2B0ZMtF_JJfKQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 16, 2012 at 10:39:36PM -0500, Soren Dreijer wrote:
> Some more updates:
> 
> I went ahead and disabled a few options on the ixgbe network interface
> today (most notably rxcsum and txcsum), which improved ping times to
> the FreeBSD box. I'm now able to reliably ping it with ~40ms from my
> house. TCP traffic in general also seems to be slightly "better" as I
> can actually 'wget google.com' now, although it's still horribly slow
> and takes maybe 20 seconds or so to download.
> 
> The ifconfig for the public adapter now looks like this:
> 
> ix1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM>

what about the other one ? Also, please disable jumbo_mtu as well.
On both inside and outside.

Finally, can you send the output of
"ipfw show" and "ipfw pipe show" (anonymized if you like, but
please preserve the counters) to see if there is any traffic
that is looping ?

thanks
luigi

> 
> I'm running out of ideas of what to do here...
> 
> / Soren
> 



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