Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2021 16:17:49 -0500
From:      Ryan Stone <rysto32@gmail.com>
To:        John Jasen <jjasen@gmail.com>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>, Navdeep Parhar <navdeep@chelsio.com>
Subject:   Re: Chelsio cards, jumbo frames, memory fragmentation and performance in FreeBSD 13.x?
Message-ID:  <CAFMmRNwTJsZLieX2UXgUJoBrP-MREoDFjfcF7_wWz29QUtykcQ@mail.gmail.com>
In-Reply-To: <CAACLuR2cRb4JW5KYjaTjK1dVWHuuWK03HVtNQH1XWeJ__KuGrw@mail.gmail.com>
References:  <CAACLuR2cRb4JW5KYjaTjK1dVWHuuWK03HVtNQH1XWeJ__KuGrw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Set it to 4k and move on.  I'm not aware of any efforts in the VM
layer or network stack to make >PAGE_SIZE clusters usable in practical
situations.  Honestly, at this point I wish that we'd just kill them
entirely.

On Fri, Dec 3, 2021 at 12:52 PM John Jasen <jjasen@gmail.com> wrote:
>
> Pretty close to two years ago, we tripped across conditions where heavily
> used FreeBSD 11.x packet-filter firewalls would slow to a crawl and load
> would go crazy.
>
> In a fit of hopefulness with our upgrade to FreeBSD 13.0, I removed the
> hw.cxgbe.largest_rx_cluster settings we put in place -- only to have our
> hardest hit firewall experience high load and plummeting bandwidth within a
> few hours.
>
> So, I have two questions -- is there a better fix for this? Or, is the
> approach to set largest_rx_cluster to 4k and move on?
>
> Thanks in advance!



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