lkml.org 
[lkml]   [2001]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: High UNIX socket latency
At Tue, 13 Nov 2001 12:51:26 +0100,
Jakob Ostergaard <jakob@unthought.net> wrote:
> In another application where I use a UNIX STREAM socket, I get
> a typical latency of one send() of around 1 ms.
>
> I cannot set TCP_NODELAY on a UNIX socket, and I can't really
> see why I get the high latency. Is there some undocumented
> option like TCP_NODELAY for UNIX STREAM connections, or are there
> other tricks I can play to get the latency down ?
>
> One process does a send(), the other one does a select() and a
> recv() - and the time from the send() to the recv() is around 1 ms
> which I think seems far too high.

I think more details are needed... kernel version, packet size,
select timeout, your program/environment, the result of
average responce time and each responce time, throughput, etc.

-- gotom
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.039 / U:3.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site