Subject: Re: Proposal: socketfrom()
To: Thor Lancelot Simon <>
From: David Laight <>
List: tech-net
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
paths somewhere.
Even allowing for the system calls costs, I'm surprised that
setsockopt() gets anywhere near the cost of connect().


David Laight: