Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2018 07:17:27 +0000
From:      "Eggert, Lars" <lars@netapp.com>
To:        Navdeep Parhar <np@FreeBSD.org>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Giuseppe Lettieri <g.lettieri@iet.unipi.it>
Subject:   Re: netmap & chelsio
Message-ID:  <CBAC9E6A-1782-4CD8-938D-E11BED13F163@netapp.com>
In-Reply-To: <c2ccab6a-bcd9-aa2d-5d8a-54f1ec8aeb24@FreeBSD.org>
References:  <94019926-B14F-47AB-8AD9-C01B4A0E199F@netapp.com> <20180705154710.GA3353@ox> <0199F257-F9D2-41D0-B4F9-26FBA1607F61@netapp.com> <20180706071739.GA13401@ox> <30D2A259-6B2E-44CA-969D-F51F4D929DDE@netapp.com> <c2ccab6a-bcd9-aa2d-5d8a-54f1ec8aeb24@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_8088D43B-047C-45AC-BB96-101284DEC553
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

On 2018-7-11, at 18:53, Navdeep Parhar <np@FreeBSD.org> wrote:
> Try changing lazy_tx_credit_flush to 0 on the running kernel with a
> debugger, or compile the driver with it set to 0 -- it's in =
t4_netmap.c:
>=20
> int lazy_tx_credit_flush =3D 1;

thanks! With that, I get performance similar to the ixl cards on first =
try.

> I'm surprised I don't have a tunable/sysctl for it.  I'll add one =
really
> soon.

That would be useful!

(Also useful would be some definite documentation on what all the loader =
tunables are and what they do. But the current situation is already much =
better than for the Intel cards, where esp. those that have been =
iflib-ified seem to have completely undocumented tunables now.)

General/unrelated suggestion: Could the kernel spit out a warning when =
it encounters a loader tunable that doesn't do anything? That would =
allow one to at least catch when tunables are renamed/changed.

Lars

--Apple-Mail=_8088D43B-047C-45AC-BB96-101284DEC553
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="signature.asc"
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmpq0ZpSoejRmyhheVLXDCb9wwVcFAltHAIYACgkQVLXDCb9w
wVdoGxAA0lyKbOui4jb/F3ACJTMvuJTJLITq6VcXkdrtR4VpzuoB1MkNUXikCK6d
Vdg9OJywJDBvk2j4hTOszxxgmmzmhsZANfXp3I4E/bMmZq8rAChhZSl8llcpZhYN
TefiZ6u7gJSY9GCj0T5qMjyZfpDPkrp7HfuvkFQ5/0pSlfwanr0L4OonwVBsVG8S
ksKXhXsaL3v977PbBwN0NNkHdvT/K+19n1tVVxMgiZaIb+NG0BbmYRT42MEI+pOg
WZnDk8R8GfkTDAPQilNiTeAuyKPGqNKR06hKmO5AWedSC+2/wbCtRpyuEwm9eKnZ
iKznr8Caxy9/Bgh+HdyeTMif5x3EZOP9XbuBjKeyHTDLAQgPmrLZNztbK+k6O47e
R7v548MpdHqIAXBOu3b26jNASlSaE2NRnvJI7MbBaj67rNZ5Rfrp566IHdntSTlt
67S7Z0AcNYhAtJIzDDhraqXnAhXrP8nhJZG3zNAGLiLdnqiIxGLbrOOxLETIiEUb
psf+qWDl3fRX89oo2mf9lsl25RcmcWQti13j0aDoo9RbFv86gB0nFq06S+KNaKgM
gt5YYgK53kHfXkUTzDC9FII07yJ+YCZ+y8scsFDPQfT9SCrGs0fK9Xq9MdkHky+N
4yBMvROAzMdpnK6WUuJ/2NRheL/dnJOgq1SCdR0hSxKDfiCydCM=
=ogZ5
-----END PGP SIGNATURE-----

--Apple-Mail=_8088D43B-047C-45AC-BB96-101284DEC553--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CBAC9E6A-1782-4CD8-938D-E11BED13F163>