Subject: Re: sosend_loan tweak
To: YAMAMOTO Takashi <email@example.com>
From: Jason Thorpe <firstname.lastname@example.org>
Date: 07/15/2005 09:41:25
On Jul 15, 2005, at 3:21 AM, YAMAMOTO Takashi wrote:
> currently, when doing tcp bulk send and send buffer is filled up,
> we ends up with per-ack small copyin()s rather than page loaning.
> the attached patch is to increase chances to use loaning by giving it
> some "bonus" buffer space.
> in my test environment, it actually yields some noticable
How much improvement have you measured?
It seems reasonable to me, even though it seems we could end up using
more than the sbspace available in the socket buffer, because we
aren't actually allocating new buffers and filling them.