The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: pnr@planet.nl (Paul Ruizendaal)
Subject: [TUHS] Code bloat (was: How Unix brings people together, or it's a small...)
Date: Thu, 9 Feb 2017 10:19:27 +0100	[thread overview]
Message-ID: <C7E0FD3B-59FD-4E51-BCB9-01A14DB7FB99@planet.nl> (raw)
In-Reply-To: <CAH1jEzZ9d4ZEWMdx_R5_TZ4CFYFzrG-V83rS21S1z-LPC0fMCw@mail.gmail.com>


On 9 Feb 2017, at 4:02 , Nick Downing wrote:

> As to moving to a V7 kernel and then adding TCP/IP I'm not sure if
> this is adviseable, as I was saying earlier I think it might be best
> to keep that functionality outboard from the kernel.

That approach was taken in various early implementations, with varying
degrees of success.

The best one seems to have been the 3Com stack, which puts IP in the
kernel and TCP in a daemon. By the way, this implementation is also
where SLIP seems to have originated.

http://bitsavers.informatik.uni-stuttgart.de/pdf/3Com/3Com_UNET_Nov80.pdf

> and (2) does it have to respond to ping or incoming
> connections at any time.

I'm not sure economizing on ICMP support is the best approach. Perhaps
economizing on fragmentation and and window management is better. For
example, the 1979 Wingfield implementation discards out of order packets
and simply waits for retransmission of the expected packet; this
simplifies the code and greatly reduces the need for buffer space.

Arguably, the handling of incoming connections does not require much code
or data.

---

A TCP connection spends most of its time in the 'established' state. I
wonder if just putting the code for this state in the kernel and handling
only the state changes and other states in a daemon is perhaps the best
split on constrained hardware. I'm not aware of any historical
implementation having that design, so perhaps it is flawed thinking.

Paul



  reply	other threads:[~2017-02-09  9:19 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-07  3:03 [TUHS] How Unix brings people together, or it's a small Doug McIlroy
2017-02-07  4:06 ` Marc Rochkind
2017-02-07 23:10   ` Clem Cole
2017-02-07 23:38     ` Steve Johnson
2017-02-08  2:55       ` [TUHS] Code bloat (was: How Unix brings people together, or it's a small...) Greg 'groggy' Lehey
2017-02-08  3:47         ` Nick Downing
2017-02-08  3:56           ` Jason Stevens
2017-02-08  8:25             ` Wesley Parish
2017-02-08  9:57               ` Steve Nickolas
2017-02-08 11:21             ` Nick Downing
2017-02-08 11:59               ` [TUHS] Code bloat (was: How Unix brings people together, or it'sa small...) jsteve
2017-02-08 12:24                 ` Nick Downing
2017-02-08 12:29               ` [TUHS] Code bloat Jacob Goense
2017-02-08 12:57                 ` Nick Downing
2017-02-08 13:10                 ` jsteve
2017-02-08 14:10                   ` Jacob Goense
2017-02-08 14:34                     ` Ron Natalie
2017-02-08 14:43                       ` Brantley Coile
2017-02-08 15:09                       ` Dan Cross
2017-02-08 15:26                         ` Nick Downing
2017-02-08 15:18                     ` Jason Stevens
2017-02-08 16:25                 ` Tony Finch
2017-02-09 14:03                   ` Jacob Goense
2017-02-09 14:41                     ` jsteve
2017-02-09 15:03                       ` Jacob Goense
2017-02-09 15:08                         ` Jason Stevens
2017-02-09 15:30                     ` Tony Finch
2017-02-09 16:14                       ` Warner Losh
2017-02-09 23:38                         ` [TUHS] Free/NetBSD revision history (was Code bloat) Jacob Goense
2017-02-10  4:11                           ` Warner Losh
2017-02-10  4:17                           ` Warner Losh
2017-02-08 13:56               ` [TUHS] Code bloat (was: How Unix brings people together, or it's a small...) Paul Ruizendaal
     [not found]                 ` <CAH1jEzZqRPYenwzBbUwFVanA-NVvWMGzYiADVoAXCDOqnUrMrg@mail.gmail.com>
2017-02-09  3:02                   ` [TUHS] Fwd: " Nick Downing
2017-02-09  9:19                     ` Paul Ruizendaal [this message]
2017-02-09  9:58                       ` [TUHS] " Michael Kjörling
2017-02-09 10:08                         ` Paul Ruizendaal
2017-02-09 16:36                       ` Larry McVoy
2017-02-09 16:42                         ` Warner Losh
2017-02-09 16:49                           ` Larry McVoy
2017-02-09 17:24                             ` Steffen Nurpmeso
2017-02-09 17:27                               ` [TUHS] offtopic: broadband (redirect from bloat) Larry McVoy
2017-02-09 19:05                                 ` Steffen Nurpmeso
2017-02-09 22:48                                 ` Joerg Schilling
2017-02-09 19:54                             ` [TUHS] Code bloat (was: How Unix brings people together, Corey Lindsly
2017-02-09 20:08                               ` pechter
2017-02-09 20:30                               ` Arthur Krewat
2017-02-09 23:47                                 ` Jacob Goense
2017-02-09 21:06                               ` Larry McVoy
2017-02-09 21:02                             ` [TUHS] Code bloat (was: How Unix brings people together, or it's a small...) Joerg Schilling
2017-02-09 16:58                         ` [TUHS] Code bloat William Pechter
2017-02-09 19:50                       ` [TUHS] Code bloat (was: How Unix brings people together, or it's a small...) Clem Cole
2017-02-08  5:37           ` Peter Jeremy
2017-02-08 12:16       ` [TUHS] How Unix brings people together, or it's a small ches@Cheswick.com
2017-02-09 14:31 [TUHS] Code bloat (was: How Unix brings people together, or it's a small...) Noel Chiappa

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=C7E0FD3B-59FD-4E51-BCB9-01A14DB7FB99@planet.nl \
    --to=pnr@planet.nl \
    /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;
as well as URLs for NNTP newsgroup(s).