Subject: Re: Proposal: socketfrom()
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: David Laight <david@l8s.co.uk>
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

-- 
David Laight: david@l8s.co.uk