linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bob Copeland <me@bobcopeland.com>
To: Dani Camps <danicamps81@gmail.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	linux-wireless@vger.kernel.org
Subject: Re: wmediumd performance penalty
Date: Fri, 5 Sep 2014 10:10:39 -0400	[thread overview]
Message-ID: <20140905141039.GB26808@localhost> (raw)
In-Reply-To: <20140905130325.GA26808@localhost>

On Fri, Sep 05, 2014 at 09:03:25AM -0400, Bob Copeland wrote:
> Indeed you can.
> 
> For what it's worth, although I can't speak for wmediumd at the moment,
> in the precursor to it that I wrote, I got about 25 Mbps achieved with
> a phy rate of 54 Mbps when simulating the physical layer, which I think
> is pretty close to real world overhead in non-agg case.  With plain old
> mac80211_hwsim you can get several Gbps.

Sort of - it relied on a different hwsim interface than what made it
upstream, and was for a one-off investigation, so it's mostly useless.
Code is here though:

http://bobcopeland.com/srcs/wifi_sim.tar.gz

Glancing at the wmediumd code again, it doesn't try to simulate airtime
either, just does some loss reporting.  Do you have a use-case which
needs the airtime simulation?

A while ago, I rewrote my PER computations in C instead of pre-generating
them from matlab into a huge lookup table (see per.c):

https://github.com/bcopeland/wmediumd/tree/add_per_model

So, I'd be interested in hooking that up and throwing a scheduler into
wmediumd to optionally simulate airtime.

-- 
Bob Copeland %% www.bobcopeland.com

  reply	other threads:[~2014-09-05 14:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 15:38 wmediumd performance penalty Dani Camps
2014-09-01 18:52 ` Johannes Berg
2014-09-02  7:31   ` Dani Camps
2014-09-02  7:55     ` Johannes Berg
2014-09-02  8:06       ` Dani Camps
2014-09-05 13:03         ` Bob Copeland
2014-09-05 14:10           ` Bob Copeland [this message]
     [not found]             ` <CAD3NH5UEPKw58ObsW+8dpLRFMHTEq91TSd6RAkV3H8E76Ooamw@mail.gmail.com>
2014-09-08 13:02               ` Bob Copeland

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=20140905141039.GB26808@localhost \
    --to=me@bobcopeland.com \
    --cc=danicamps81@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /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).