64K NFS I/O generates a 34mbuf list for TCP which breaks TSO

Adrian Chadd adrian at freebsd.org
Thu Jan 30 15:12:08 UTC 2014


On 30 January 2014 07:06, Rick Macklem <rmacklem at 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


More information about the freebsd-net mailing list