Subject: Re: connect() speed
To: Frank van der Linden <fvdl@wasabisystems.com>
From: Charles M. Hannum <root@ihack.net>
List: tech-net
Date: 03/06/2001 11:33:23
On Tue, Mar 06, 2001 at 05:52:57PM +0100, Frank van der Linden wrote:
>
> I profiled a kernel while doing a series of lat_connect runs
> (from lmbench), and the first line was:
> 
> Each sample counts as 0.00390625 seconds.
>   %   cumulative   self              self     total           
>  time   seconds   seconds    calls  us/call  us/call  name    
>  13.33      0.28     0.28      724   388.47   388.47  in_pcblookup_port

This actually comes from the implicit bind to port 0, not the connect.
(Not that it isn't a valid point either way.)