mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Rob Sanders <rarob@comcast.net>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: SO_RCVLOWAT option to socket()
Date: Fri, 10 Dec 2004 21:02:32 +0000	[thread overview]
Message-ID: <1102712550.3201.70.camel@localhost.localdomain> (raw)
In-Reply-To: <E6D51930-4A60-11D9-9C95-000A95A6FC34@comcast.net>

On Gwe, 2004-12-10 at 04:06, Rob Sanders wrote:
> Hey y'all,
>     Can anyone point me to a resource for why SO_RCVLOWAT is hardcoded 
> to 1 in linux?

The 1003.1g drafts require it is supported.

> If you are using select or poll with timeouts it would be less costly 
> to have the kernel tell you
> when all of the data you reqested (via SO_RCVLOWAT) is ready to be read 

But is the cost of all those special case checks and all the handling
for
it such as select computing if enough tcp packets together accumulated
worth
the cost on every app not using LOWAT for the microscopic gain given
that
essentially nobody uses it.

Alan


      reply	other threads:[~2004-12-10 22:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-10  4:06 Rob Sanders
2004-12-10 21:02 ` Alan Cox [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=1102712550.3201.70.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rarob@comcast.net \
    /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

Powered by JetHome