Subject: Re: Proposal: socketfrom()
To: David Laight <david@l8s.co.uk>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-net
Date: 07/05/2007 08:18:48
On Jul 4, 2007, at 11:54 PM, David Laight wrote:
> 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().
Lots and lots of calls?
>
>
> David
>
> --
> David Laight: david@l8s.co.uk
-- thorpej