From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 123BC3B496 for ; Fri, 15 Apr 2016 07:03:15 -0400 (EDT) Received: by mail-lf0-x22a.google.com with SMTP id g184so141013285lfb.3 for ; Fri, 15 Apr 2016 04:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=TMl7pV85SK6YKjkIKUwFLIy87J4EGDYGJgvoEzYqvcI=; b=c+vFqE/jc1E9hkFms5D6/w2lgV0WL0ekX3Zc6pjVkyvxslZct6RChlrawJSDGuGqO2 IemqitQGqNw6UNLt+jlYoYU3kQ0THYKFX62+mVe3AjC6WuaSBMOAa+fPPOBdtgj5wZW3 57KZSmNLuVCAPQhBPmnbmNH7wmh4UGX8X1bMRKt37iiNDyKShqfZvc84E+UJNIc4JCZ4 fuV2ldJ+NEfzH/hZJCuzeM9ttti0bYwr/PCWPEfkacFuygCQdtjk7cR+o8MCJ2mPAX65 AXaEvnZyBbvvFxsl7u+jMZSjqQRz5IZChadnKndN399xe9E3db2soCRLg2XjfUGyRMKC rQEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=TMl7pV85SK6YKjkIKUwFLIy87J4EGDYGJgvoEzYqvcI=; b=IthYtQJ6R34abNIMNfYCr+PCoznodjThQVSChoLp03dUgKm49Py8zoHVA6qKs5xnCR rL3NIMRDORbtxy8A1Xl+GNC1wOLMwbtW2gFZZlbUah60ySuFudCaeGAwPyOhFYydOMg8 mqBuZgx/iKP04+4/keezmOYAUirf08c3PQliWNMyv138NZ4fwcUQVEvg6vWpr9ooMowj offPUg7omzscZ3sEUdjZ8598fJOu66cwOF3xzFw4dKk7ndWOO06mLGMd9+wBr/bjaCUC PZE189OLeG0K/b4gSl5/urm9H/quQMngMOBZij67YOM7R70CErjLqaJ1uhKWW5EcCFwn t8JQ== X-Gm-Message-State: AOPr4FWibLKLFNE4Hhd7RarmvuKcK6LI8bRvqqukJiCaX468bw77MALpaubMeKl01d5dhJtjUfdoMCMLPP2Gxw== X-Received: by 10.112.72.135 with SMTP id d7mr8784959lbv.126.1460718194480; Fri, 15 Apr 2016 04:03:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.21.30 with HTTP; Fri, 15 Apr 2016 04:02:44 -0700 (PDT) From: Henning Rogge Date: Fri, 15 Apr 2016 13:02:44 +0200 Message-ID: To: cake@lists.bufferbloat.net Content-Type: text/plain; charset=UTF-8 Subject: [Cake] Cake in userspace X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 11:03:16 -0000 Hi, I am working on an interface between an existing physical (wireless) layer and the Linux IP stack. The maximum speed of the PHY is quite slow (but has some long timeslots for data) and we will do lots of experiments, so everything is in Userspace and uses a TAP device to pretend to be a real device driver. Of course I am running into the same issues that the Mac80211 wifi stack has... queuing and aggregation. To aggregate data I have to remove IP packets from the the TUN interface, which removes them from control of IP queuing... and only afterwards I can inspect them if they CAN be aggregated. How difficult would it be to implement Cake directly in Userspace behind a TAP device (that you always drain of all incoming packets)? This might be an interesting way to experiment with Cake AND might solve my problem too. Henning Rogge