Subject: Re: Proposal: socketfrom()
To: Thor Lancelot Simon <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 07/05/2007 07:54:50
On Thu, Jul 05, 2007 at 01:38:05AM -0400, Thor Lancelot Simon wrote:
> I have an application that makes outbound TCP connections at a very high
> rate, so high that the overhead of additional system calls to set socket
> options considerably impacts performance.
That sounds as though there is something badly wrong in the code
Even allowing for the system calls costs, I'm surprised that
setsockopt() gets anywhere near the cost of connect().
David Laight: email@example.com