Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 14:02:18 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        KIRIYAMA Kazuhiko <kiri@kx.openedu.org>, freebsd-net@freebsd.org
Subject:   Re: NFS poor performance in ipfw_nat
Message-ID:  <8315728b-afe9-7631-d2ad-2d9b06c3d72d@yandex.ru>
In-Reply-To: <201809172253.w8HMrXSS025987@kx.openedu.org>
References:  <201809172253.w8HMrXSS025987@kx.openedu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--2qb3fARsSVQoFzxwa9BuExg8hSmvNRZb1
Content-Type: multipart/mixed; boundary="OUZDDXxUe5kPdNiFvFGyaN7q45wJS0ozc";
 protected-headers="v1"
From: "Andrey V. Elsukov" <bu7cher@yandex.ru>
To: KIRIYAMA Kazuhiko <kiri@kx.openedu.org>, freebsd-net@freebsd.org
Message-ID: <8315728b-afe9-7631-d2ad-2d9b06c3d72d@yandex.ru>
Subject: Re: NFS poor performance in ipfw_nat
References: <201809172253.w8HMrXSS025987@kx.openedu.org>
In-Reply-To: <201809172253.w8HMrXSS025987@kx.openedu.org>

--OUZDDXxUe5kPdNiFvFGyaN7q45wJS0ozc
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 18.09.2018 01:53, KIRIYAMA Kazuhiko wrote:
> Hi, all
>=20
> I'm working on ipfw_nat box with port redirect for sunrpc
> (111) and nfsd (2049):
>=20
> # ifconfig=20
> em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
>         options=3D85259b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWC=
SUM,TSO4,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO>
> igb0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu=
 1500
>         options=3De505bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MT=
U,VLAN_HWCSUM,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
> # ipfw nat show config
> ipfw nat 123 config if em0 log deny_in same_ports unreg_only reset redi=
rect_port tcp 192.168.1.253:22 22253 redirect_port tcp 192.168.1.252:22 2=
2252 redirect_port tcp 192.168.1.251:22 22251 redirect_port tcp 192.168.1=
=2E250:22 22250 redirect_port tcp 192.168.1.249:22 22249 redirect_port tc=
p 192.168.1.248:22 22248 redirect_port tcp 192.168.1.247:22 22247 redirec=
t_port tcp 192.168.1.246:22 22246 redirect_port tcp 192.168.1.245:22 2224=
5 redirect_port tcp 192.168.1.244:22 22244 redirect_port tcp 192.168.1.24=
3:22 22243 >=20
> Is there any suggestions ?
>=20

Hi,

try to disable TSO on your NICs.

--=20
WBR, Andrey V. Elsukov


--OUZDDXxUe5kPdNiFvFGyaN7q45wJS0ozc--

--2qb3fARsSVQoFzxwa9BuExg8hSmvNRZb1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlug2zoACgkQAcXqBBDI
oXpSvwgAo91rCHIBCCy42af/F+gmSyO2DeTq+eOH8qDEQdcO4aHt6MfauRTBiiIR
5iE/NvXZTepxMvoh9z2Fp3Ef7lP38nERuEa6kAqZ1P5DFoWRerYuClSXiGIPc5JJ
/EkUpvXbrqYyp/T7CaX9XMfZT5riaxrcrBCVp8b++RtbQTghp+6bFDcDNtgzAe5Z
QVhS4JPtD7mypovOcu5+2hdvCsXerVPTkOiOjXVFdp5o+owPTVu7iBjjj2CKGzzN
+/DJFSRW54xta/LFR4py+wRv06koMDAzRC/MxB0yIknL8X/CmdhK1QyzWzfkGXWJ
OsuOsK+N1SyHkLqp4o+sPoEwPCjelQ==
=Bgm1
-----END PGP SIGNATURE-----

--2qb3fARsSVQoFzxwa9BuExg8hSmvNRZb1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8315728b-afe9-7631-d2ad-2d9b06c3d72d>