9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Devon H. O'Dell" <devon.odell@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: [9fans] Native TCP/IP stack in 9vx working
Date: Mon, 22 Dec 2008 22:58:43 -0500	[thread overview]
Message-ID: <9ab217670812221958n6eafe49p4d0e6709a83534d9@mail.gmail.com> (raw)

Hey everyone,

Over the past few days, Erik Quanstrom has been helping debug issues
with the native IP stack in 9vx. He figured out some crazy issues with
gcc wanting to return negative values for signed modulo comparisons --
this combined with a stupid oversight has got IP working. Erik says
he's moving IL in tomorrow -- at this point, that shouldn't be a huge
deal.

Linux seems to have better performance than FreeBSD/Darwin -- this is
because Linux lets you read TCP/UDP over a raw socket. BSD platforms
don't let you do that -- you have to use BPF for this -- and libpcap
makes that a bit easier -- so I think there's a bit more overhead
involved with that.

Also, there's still a fair amount of probably useless debugging stuff
that we could conditionalize at compile-time, but I'll leave that in
for a while before that happens.

Please test it out!

http://testbed.dh0.us:8000/

Big thanks to quanstro for his huge help in debugging.

--dho



             reply	other threads:[~2008-12-23  3:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-23  3:58 Devon H. O'Dell [this message]
2008-12-23  4:35 ` erik quanstrom

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=9ab217670812221958n6eafe49p4d0e6709a83534d9@mail.gmail.com \
    --to=devon.odell@gmail.com \
    --cc=9fans@9fans.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;
as well as URLs for NNTP newsgroup(s).