9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] snoopy oddity
Date: Mon, 22 Jan 2007 11:54:40 -0500	[thread overview]
Message-ID: <ee9e417a0701220854o14267e7eoa5e5812a57512794@mail.gmail.com> (raw)
In-Reply-To: <0a8e33b5f18b75d5b68a543259e8a0ad@coraid.com>

> has anyone seen snoopy miss packets like this?  i see the ack for a packet
> that snoopy never sees.  these hosts are connected back-to-back.

sure.  if snoopy isn't reading packets out of the kernel fast enough,
it will miss some.  the kernel can't buffer them up indefinitely.

for the size of the buffer:

if you are reading from a snoop file then see
/sys/src/9/ip/ipifc.c:319 (arg to qopen).

if you are reading from an ether device then see
/sys/src/9/pc/devether.c:428,440 (arg to netifinit)

russ


  reply	other threads:[~2007-01-22 16:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-22 16:23 erik quanstrom
2007-01-22 16:54 ` Russ Cox [this message]
2007-01-22 18:34   ` erik quanstrom
2007-01-22 21:28     ` Russ Cox
2007-01-22 22:06       ` erik quanstrom
2007-01-23 18:14         ` ron minnich

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=ee9e417a0701220854o14267e7eoa5e5812a57512794@mail.gmail.com \
    --to=rsc@swtch.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).