From: Jonathan Morton <chromatix99@gmail.com>
To: Henning Rogge <hrogge@gmail.com>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] Cake in userspace
Date: Fri, 15 Apr 2016 14:41:42 +0300 [thread overview]
Message-ID: <CEA712D1-F2E1-45B2-AA13-A0FE45F5A3A5@gmail.com> (raw)
In-Reply-To: <CAGnRvur9nL31XUOK4a2aBnk6Ec_t0DGW7m8Cu4_TjOxwO_FJUg@mail.gmail.com>
> On 15 Apr, 2016, at 14:02, Henning Rogge <hrogge@gmail.com> wrote:
>
> How difficult would it be to implement Cake directly in Userspace
> behind a TAP device (that you always drain of all incoming packets)?
Cake relies on a number of kernel services, which would need to be replaced. This would also be true for a port to a different kernel, such as BSD - a question which has already occurred.
The most troublesome of these services would probably be the packet dissector, which is used to identify the 5-tuple for flow isolation. The rest is largely standard entry points, timer services, memory management, and configuration.
My advice is to rip out the kernel-specific headers, try to compile it, and see how loudly the compiler complains. :-)
- Jonathan Morton
next prev parent reply other threads:[~2016-04-15 11:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 11:02 Henning Rogge
2016-04-15 11:41 ` Jonathan Morton [this message]
2016-04-15 13:16 ` Henning Rogge
2016-04-15 13:19 ` Jonathan Morton
2016-04-18 11:17 ` Henning Rogge
2016-04-18 11:40 ` Henning Rogge
2016-04-18 12:07 ` Jonathan Morton
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/cake.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CEA712D1-F2E1-45B2-AA13-A0FE45F5A3A5@gmail.com \
--to=chromatix99@gmail.com \
--cc=cake@lists.bufferbloat.net \
--cc=hrogge@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