General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: <erik.taraldsen@telenor.com>
To: <dave.taht@gmail.com>, <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] emulating non-duplex media in linux qdiscs
Date: Mon, 9 Oct 2017 07:41:52 +0000	[thread overview]
Message-ID: <1507534912438.44276@telenor.com> (raw)
In-Reply-To: <CAA93jw6qwOgrnqxmPtBY2kOKY8gM24ZZg=86yZvMeMSUrVRbRA@mail.gmail.com>

Half duplex is the term you are looking for
https://en.wikipedia.org/wiki/Duplex_(telecommunications)

Simplex is one way communication like traditional AM radio.

Within emulation I'm not sure how to set this up with qdiscs, but you can often set the network interface to half duplex with ethtool. Not sure if this solves your task though.

-Erik

________________________________________
Fra: Bloat <bloat-bounces@lists.bufferbloat.net> på vegne av Dave Taht <dave.taht@gmail.com>
Sendt: 9. oktober 2017 03:54
Til: bloat
Emne: [Bloat] emulating non-duplex media in linux qdiscs

I have been hacking away at netem for a while now in the hope that
eventually - with a great deal more hacking - it could be used to more
accurately emulate shared media like wifi and lte.

(Some people try to describe these as simplex (which is not true
because you can have multiple destinations), and they certainly are
not duplex, so I tend to say non-duplex and still hope some better
word emerges)

So... one sticking point for me has been wanting to emulate the fact
that on shared media, that you cannot transmit and receive at the same
time; that these are "coupled" events, and what I'd like to be able to
express might be something like:

tc qdisc add dev eth0 root netem rate 100mbit coupled some_identifier
... some tc mirred magic for ifb here ...
tc qdisc add dev ifb0 root netem rate 10mbit coupled the_same_identifier

"some_identifier" would be a mutex of some sort, and I confess to
not having much grip on the kernel outside of the net/sched directory.

What facility would be best to try and leverage? It would be created
(globally) on first use, ref-counted (thus destroyed when it goes to
zero), atomically updated... posix shared memory seems too heavyweight
to use....

--

Dave Täht
CEO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-669-226-2619
_______________________________________________
Bloat mailing list
Bloat@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/bloat

  reply	other threads:[~2017-10-09  7:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-09  1:54 Dave Taht
2017-10-09  7:41 ` erik.taraldsen [this message]
2017-10-09 16:53   ` Dave Taht
2017-10-09 19:05     ` Andrew Shewmaker
2017-10-10  7:02     ` Mikael Abrahamsson
2017-10-10  8:38     ` erik.taraldsen
2017-10-10 13:21       ` Michael Richardson
2017-10-09 13:09 ` Y
2017-10-09 20:21 ` Stephen Hemminger
2017-10-09 21:04 ` Michael Richardson
2017-10-10  9:25 ` Luca Muscariello

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

  List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1507534912438.44276@telenor.com \
    --to=erik.taraldsen@telenor.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=dave.taht@gmail.com \
    /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