[OpenAFS-devel] RX_MAX_FRAGS (yet again)

Derrick J Brashear shadow@dementia.org
Fri, 28 Sep 2001 19:03:57 -0400 (EDT)


On Fri, 28 Sep 2001, Jim Rees wrote:

> If your mtu is much bigger than 8KB you will want to make sure you've got at
> least afs 3.5 on each end, and you'll want to increase RX_JUMBOBUFFERSIZE.
> Even with an 8KB mtu you can get some increase in performance by increasing
> this, because you'll be getting more data per rx packet, and will have to do
> less jumbogram unpacking.

And incidentally it looks like there's a problem with how jumbograms are
implemented (which I don't really care for but I'm not going to redo it).

rxi_ReceiveDataPacket ends up calling queue_Scan as packets are pulled out
of jumbograms because call->rnext being being updated on rx_Read, and new
packets from jumbograms aren't being generated as a result of rx_Read. So
despite being the next sequence number we don't "expect" them and hence do
a lot of extra work.

I'm working on a fix now.

-D