9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: presotto@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] netpipe results
Date: Sat,  9 Mar 2002 08:52:00 -0500	[thread overview]
Message-ID: <28cad8ba36afb58990abc0895bf046e3@plan9.bell-labs.com> (raw)

Looks good.  Is the 'data size' the size of a single write i.e. what the
NetPIPE paper calls 'block size'?  If the latter, I can guess at some
explanations to start working at improving things.

Looks like things start to fall off around 32K byte writes.  Just looking
at numerology, that's what Maxatomic is set to in port/qio.c.  It's
the point we start breaking writes into multiple blocks.  I assume that
will have some affect though not a huge one.  The drop we see at that
point is more than I would expect.  The real nose dive happens
twixt 64k and 100k.  64k is the size of the per channel output queue.
After that, the system has to wait for the queue to half empty before
queuing any more.  Just for a wild guess, it looks like we're getting
screwed by interaction twixt that histeresis and the process getting
rescheduled.  There's similar problems with the size of the input
per channel queue (64k).  Perhaps we should have spent more time
reading Kleinrock.

These are just wild guesses.  I'll start playing to see if I can explain
it, and preferably make it go away.  I welcome anyone else doing the
same.

Thanks much.  It'll make a fun distraction.


             reply	other threads:[~2002-03-09 13:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-09 13:52 presotto [this message]
2002-03-13  1:00 ` Dean Prichard
  -- strict thread matches above, loose matches on Subject: below --
2002-03-09  2:44 andrey mirtchovski

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=28cad8ba36afb58990abc0895bf046e3@plan9.bell-labs.com \
    --to=presotto@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /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).