Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 07:12:07 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: 64K NFS I/O generates a 34mbuf list for TCP which breaks TSO
Message-ID:  <CAJ-VmonGR-KQBGyKCUn=k8PDH3skB5N8br3JyDTD27%2Bz=UwJJw@mail.gmail.com>
In-Reply-To: <1217356349.106076.1391094388165.JavaMail.root@uoguelph.ca>
References:  <1217356349.106076.1391094388165.JavaMail.root@uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 January 2014 07:06, Rick Macklem <rmacklem@uoguelph.ca> wrote:
> Hi, just adding one more idea on what to do about this
> to the list:
> - Add a if_hw_tsomaxseg and modify the loop in tcp_output()
>   so that it uses both if_hw_tsomax and if_hw_tsomaxseg to
>   decide how much to hand to the device driver in each mbuf list.
>   (I haven't looked to see how easy it would be to change this loop.)

I don't think that's a hack. I think adding that and setting tsomaxseg
to say 30 for now would be a good comprimise.



-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonGR-KQBGyKCUn=k8PDH3skB5N8br3JyDTD27%2Bz=UwJJw>