9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] Inducing artificial latency
Date: Tue, 15 Jun 2010 17:59:16 -0400	[thread overview]
Message-ID: <349b2b2d1ca3a1aa6c9413eede0e9e60@ladd.quanstro.net> (raw)
In-Reply-To: <AANLkTinTzHofOgR-Gqa8wiiwJvHLOow98BgpPHsZy1Qc@mail.gmail.com>

> > the only trick will be getting the simulated ethernet to
> > grab the real ethernet during setup.  i imagine that you'll
> > need something like
> >        ether0=type=fake
> >        fake=real=#l1/ether1 i=10 iσ=20 o=5 oσ=0
> > in plan9.ini
> >
> > - erik
> >
> > Could one write a filesystem server that is a passthrough to the ethernet
> device instead, adding latency? Or is this really going to need to be a new
> device?

all the ethernet drivers are part of the same device,
devether.

you would need to write a new instance of the device,
but there are just a few functions you need to implement.
most will be passthrough to the real ethernet device.

- erik



  reply	other threads:[~2010-06-15 21:59 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-15 21:29 John Floren
2010-06-15 21:39 ` Jorden M
2010-06-15 22:06   ` Enrique Soriano
2010-06-15 21:39 ` erik quanstrom
2010-06-15 21:53   ` David Leimbach
2010-06-15 21:59     ` erik quanstrom [this message]
2010-06-15 21:45 ` Devon H. O'Dell
2010-06-15 22:43   ` John Floren
2010-06-15 23:01     ` Devon H. O'Dell
2010-06-16 19:04   ` John Floren
2010-06-16 22:15     ` Francisco J Ballesteros
2010-06-16 22:31       ` erik quanstrom
2010-06-16 22:58         ` EBo
2010-06-16 23:43         ` Bakul Shah
2010-06-17  0:10           ` erik quanstrom
2010-06-17  2:02             ` Bakul Shah
2010-06-17  3:32               ` erik quanstrom
2010-06-15 21:58 ` Gorka Guardiola
2010-06-15 22:07   ` erik quanstrom
2010-06-15 22:14     ` Gorka Guardiola
2010-06-22 14:53       ` John Floren
2010-06-22 15:03         ` John Floren
2010-06-16  5:20 ` Skip Tavakkolian

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=349b2b2d1ca3a1aa6c9413eede0e9e60@ladd.quanstro.net \
    --to=quanstro@quanstro.net \
    --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).