mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: GOTO Masanori <gotom@debian.or.jp>
To: jakob@unthought.net, linux-kernel@vger.kernel.org
Subject: Re: High UNIX socket latency
Date: Wed, 14 Nov 2001 09:27:39 +0900	[thread overview]
Message-ID: <w53vggeb3ic.wl@megaela.fe.dis.titech.ac.jp> (raw)
In-Reply-To: In your message of "Tue, 13 Nov 2001 12:51:26 +0100" <20011113125126.E30421@unthought.net>
In-Reply-To: <20011113125126.E30421@unthought.net>

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

      reply	other threads:[~2001-11-14  0:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-13 11:51 Jakob Østergaard
2001-11-14  0:27 ` GOTO Masanori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=w53vggeb3ic.wl@megaela.fe.dis.titech.ac.jp \
    --to=gotom@debian.or.jp \
    --cc=jakob@unthought.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®