Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2017 19:30:22 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Matt Joras <matt.joras@gmail.com>
Cc:        Ben RUBSON <ben.rubson@gmail.com>, FreeBSD Net <freebsd-net@freebsd.org>,  Ryan Stone <rysto32@gmail.com>, "freebsd-scsi@freebsd.org" <freebsd-scsi@freebsd.org>
Subject:   Re: mbuf_jumbo_9k & iSCSI failing
Message-ID:  <f42d931e-2fba-9beb-8f8b-5ae6dd027e65@yandex.ru>
In-Reply-To: <CADdTf%2BgZZwF-Lf=T79s3ps4SSOGEmt15vwpwv9ADyLAeuNOKnQ@mail.gmail.com>
References:  <486A6DA0-54C8-40DF-8437-F6E382DA01A8@gmail.com> <6a31ef00-5f7a-d36e-d5e6-0414e8b813c7@selasky.org> <DB3PR05MB089A5789A0A619FA8B7CA36C36C0@DB3PR05MB089.eurprd05.prod.outlook.com> <613AFD8E-72B2-4E3F-9C70-1D1E43109B8A@gmail.com> <2c9a9c2652a74d8eb4b34f5a32c7ad5c@AM5PR0502MB2916.eurprd05.prod.outlook.com> <DB3PR05MB089011A41EF87A40C7AC741C36E0@DB3PR05MB089.eurprd05.prod.outlook.com> <F19B51C7-7DDD-4FAB-9091-0B7C8A7CE649@gmail.com> <52A2608C-A57E-4E75-A952-F4776BA23CA4@gmail.com> <9B507AA6-40FE-4B8D-853F-2A9422A2DF67@gmail.com> <CAFMmRNzo=xB8XF6SFD%2BwksmBYjRZ_peYjiPBCXNVyqP%2BdxnujQ@mail.gmail.com> <CAFMmRNwbEwn=TmTAd56rViDV5nDXq_hPmTp-cDwmVqu1XYm=fA@mail.gmail.com> <64abec26-e310-d66d-93ae-3536914ddd84@yandex.ru> <86D76532-92F4-479C-A714-126D007AD91F@gmail.com> <a36014ff-0a43-93ef-52f8-2bca1388757e@yandex.ru> <D0CF7BD6-C443-4707-9863-9D6ADB0B3025@gmail.com> <61f98b7d-f55d-aa0f-4aef-1bdfbc7086ff@yandex.ru> <CADdTf%2BgZZwF-Lf=T79s3ps4SSOGEmt15vwpwv9ADyLAeuNOKnQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--LSl5TAswqMcmo5tKJaEuQNEMULCLPXSuI
Content-Type: multipart/mixed; boundary="W5Mi1AjedTkUXLfJKKc2QlKE0GnXDnkwL";
 protected-headers="v1"
From: "Andrey V. Elsukov" <bu7cher@yandex.ru>
To: Matt Joras <matt.joras@gmail.com>
Cc: Ben RUBSON <ben.rubson@gmail.com>, FreeBSD Net <freebsd-net@freebsd.org>,
 Ryan Stone <rysto32@gmail.com>,
 "freebsd-scsi@freebsd.org" <freebsd-scsi@freebsd.org>
Message-ID: <f42d931e-2fba-9beb-8f8b-5ae6dd027e65@yandex.ru>
Subject: Re: mbuf_jumbo_9k & iSCSI failing
References: <486A6DA0-54C8-40DF-8437-F6E382DA01A8@gmail.com>
 <6a31ef00-5f7a-d36e-d5e6-0414e8b813c7@selasky.org>
 <DB3PR05MB089A5789A0A619FA8B7CA36C36C0@DB3PR05MB089.eurprd05.prod.outlook.com>
 <613AFD8E-72B2-4E3F-9C70-1D1E43109B8A@gmail.com>
 <2c9a9c2652a74d8eb4b34f5a32c7ad5c@AM5PR0502MB2916.eurprd05.prod.outlook.com>
 <DB3PR05MB089011A41EF87A40C7AC741C36E0@DB3PR05MB089.eurprd05.prod.outlook.com>
 <F19B51C7-7DDD-4FAB-9091-0B7C8A7CE649@gmail.com>
 <52A2608C-A57E-4E75-A952-F4776BA23CA4@gmail.com>
 <9B507AA6-40FE-4B8D-853F-2A9422A2DF67@gmail.com>
 <CAFMmRNzo=xB8XF6SFD+wksmBYjRZ_peYjiPBCXNVyqP+dxnujQ@mail.gmail.com>
 <CAFMmRNwbEwn=TmTAd56rViDV5nDXq_hPmTp-cDwmVqu1XYm=fA@mail.gmail.com>
 <64abec26-e310-d66d-93ae-3536914ddd84@yandex.ru>
 <86D76532-92F4-479C-A714-126D007AD91F@gmail.com>
 <a36014ff-0a43-93ef-52f8-2bca1388757e@yandex.ru>
 <D0CF7BD6-C443-4707-9863-9D6ADB0B3025@gmail.com>
 <61f98b7d-f55d-aa0f-4aef-1bdfbc7086ff@yandex.ru>
 <CADdTf+gZZwF-Lf=T79s3ps4SSOGEmt15vwpwv9ADyLAeuNOKnQ@mail.gmail.com>
In-Reply-To: <CADdTf+gZZwF-Lf=T79s3ps4SSOGEmt15vwpwv9ADyLAeuNOKnQ@mail.gmail.com>

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

On 26.06.2017 19:26, Matt Joras wrote:
> I didn't think that ixgbe(4) still suffered from this problem, and we
> use it in the same situations rstone mentioned above. Indeed, ixgbe(4)
> doesn't presently suffer from this problem (you can see that in your
> patch, as it is only effectively changing the other drivers), though
> it used to. It looks like it was first fixed to not to in r280182.
>=20

Yes, actually we have this patch since 8.x. Recent drivers aren't
affected by this problem. iflib also has the code:

#ifndef CONTIGMALLOC_WORKS
        else
                fl->ifl_buf_size =3D MJUMPAGESIZE;
#else
        else if (sctx->isc_max_frame_size <=3D 4096)
                fl->ifl_buf_size =3D MJUMPAGESIZE;
        else if (sctx->isc_max_frame_size <=3D 9216)
                fl->ifl_buf_size =3D MJUM9BYTES;
        else
                fl->ifl_buf_size =3D MJUM16BYTES;
#endif

that seems by default doesn't use 9-16k mbufs.

--=20
WBR, Andrey V. Elsukov


--W5Mi1AjedTkUXLfJKKc2QlKE0GnXDnkwL--

--LSl5TAswqMcmo5tKJaEuQNEMULCLPXSuI
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 - http://www.enigmail.net/

iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAllRNp4ACgkQAcXqBBDI
oXqBbwgAq7tK/6KFBl04+UzquamnCs4v85dAx65EG8gHFVAXkOSYW9rXBSieX2wU
9JPZNQmDF9eO6xv4oFHQg87bwIs6WEWKc3TO1iR+7mDycRDi/7dEEzmyi1Px4HFx
8gAnaF6VqTjixRfPRuXQ8eZXR6mKFGSVdiHwFrqZ6M6DTEZiqCxjAa7ZfF6mFSwH
cs44QmzYCGP+bI6PIwF4ylI7gVgD7yWg/3zWxO0J5i3T+65+ZKAd4gznb09HxzHB
R7mmoYWOsm/V9g07MlLhHkRzD9+Ozhm/dJk8F1WgP6gXvxh7etJHGuY9W7xl5Ic9
9MpgQB9xUoKrtqWPSHAX+pbx3tP94w==
=Al7R
-----END PGP SIGNATURE-----

--LSl5TAswqMcmo5tKJaEuQNEMULCLPXSuI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f42d931e-2fba-9beb-8f8b-5ae6dd027e65>