From: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
To: Adrian Chadd <adrian@freebsd.org>
Cc: Felix Fietkau <nbd@openwrt.org>,
Antonio Quartulli <antonio@open-mesh.com>,
Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Thomas Pedersen <thomas@cozybit.com>,
"johannes@sipsolutions.net" <johannes@sipsolutions.net>,
Marek Lindner <marek@open-mesh.com>,
Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Subject: Re: [RFC] design discussion: Collecting information for (non-peer) stations
Date: Mon, 25 Feb 2013 11:28:17 +0100 [thread overview]
Message-ID: <20130225102817.GA2069@pandem0nium> (raw)
In-Reply-To: <CAJ-Vmo=zj19mxK7aK28NkGq_KWdQtn2SYPMvdvrsd9i4-H6GPw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1732 bytes --]
On Fri, Feb 22, 2013 at 09:42:43AM -0800, Adrian Chadd wrote:
> .. considering I do radiotap inspection in promiscuous mode all the
> time (on laptops and embedded MIPS boards alike), I'm kinda interested
> in why you're seeing such high CPU utilisation.
>
> Are you trying to capture the whole frame? Or are you only capturing
> the header? It sounds like you only need the header, right?
Yup, we capture the whole frame, but as far as I understand the main
problem are the syscalls to receive each frame individually.
We had a similar interesting experience in batman-adv, operating with
raw sockets and send/recv and could do more than 10 Mbit/s, and after
moving to kernel space we could do several hundred Mbit/s - on the same
platform (AMD Geode based boards).
>
> I agree with Felix - this is the kind of thing that it makes sense to
> define an API for so you can write in-kernel monitoring plugins. Then
> your monitoring plugin can decide how to aggregate and pass up the
> data.
Yeah, maybe ... I mean, I understand that our application is quite "special"
and 99% of the mac80211 users (think laptop, android users etc) won't use
it.
OTOH there are at least some who have similar interest, so it's good to
see who wants what. If many people want the same thing, we might be able
to share the maintainance overhead among them. :)
But if the goals are very different, it might be better as Felix suggested
to just keep it out of mac80211 and everyone writes their own modules, or
we create a shared base where everyone can attach code for their special
needs.
Anyway, I'll look at the rx_handler stuff what Felix suggested and see
if this could work out. :)
Cheers,
Simon
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-02-25 10:28 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-15 17:19 [RFC] design discussion: Collecting information for (non-peer) stations Simon Wunderlich
2013-02-18 14:30 ` Johannes Berg
2013-02-18 14:33 ` Johannes Berg
2013-02-18 14:46 ` Antonio Quartulli
2013-02-18 15:29 ` Johannes Berg
2013-02-18 15:38 ` Antonio Quartulli
2013-02-18 15:43 ` Johannes Berg
2013-02-18 15:49 ` Antonio Quartulli
2013-02-18 15:58 ` Johannes Berg
2013-02-18 16:07 ` Antonio Quartulli
2013-02-18 16:51 ` Johannes Berg
2013-02-18 19:36 ` Mathias Kretschmer
2013-02-20 17:19 ` Simon Wunderlich
2013-02-20 19:10 ` Thomas Pedersen
2013-02-21 17:19 ` Simon Wunderlich
2013-02-19 9:32 ` Thomas Hühn
2013-02-20 17:49 ` Simon Wunderlich
2013-02-20 18:04 ` Mathias Kretschmer
2013-02-22 10:07 ` Zefir Kurtisi
2013-02-22 11:43 ` Simon Wunderlich
2013-02-22 12:34 ` Zefir Kurtisi
2013-02-22 16:21 ` Felix Fietkau
2013-02-22 16:36 ` Antonio Quartulli
2013-02-22 17:03 ` Felix Fietkau
2013-02-22 17:42 ` Adrian Chadd
2013-02-25 10:28 ` Simon Wunderlich [this message]
2013-03-08 14:13 ` Simon Wunderlich
2013-03-11 12:01 ` Zefir Kurtisi
2013-03-25 14:43 ` Simon Wunderlich
2013-02-22 17:42 ` Thomas Pedersen
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=20130225102817.GA2069@pandem0nium \
--to=simon.wunderlich@s2003.tu-chemnitz.de \
--cc=adrian@freebsd.org \
--cc=antonio@open-mesh.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=marek@open-mesh.com \
--cc=mathias.kretschmer@fokus.fraunhofer.de \
--cc=nbd@openwrt.org \
--cc=thomas@cozybit.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;
as well as URLs for NNTP newsgroup(s).