From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (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 2063C3B25D for ; Sat, 30 Jul 2016 09:05:09 -0400 (EDT) Received: by mail-it0-x232.google.com with SMTP id u186so213161688ita.0 for ; Sat, 30 Jul 2016 06:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v3SbQoWktI8RVMK3Nqils78rkQ9eUcXzMF3k3aggJ7Y=; b=M8wigc3cWql1ql7GTTN6SMrQFmhEvf6vYzS/4U32BwBeEO2ZjFX7PgvSUHM1n97s6b qPu+JFNB3fLcR27VxI22/F55sWa+BwaIA1M1MFrKQyG4f/aGi0TI11t52JjQ3yHG4ItQ PKD/3+TBNpSFRZGgwk7jlxxCWpc7SEiIGsaZs/qP1SPjiTp2vrSII1WHv/tqAmd+Z35F UWmzyaAvwzUmnUsQoOrl6OynlESGjO+d5pNTtVbNhE7F+Nu2cbCS1JvM1LDgdM3uMPJU vKUQF8VwkfEMWql2ZhdKbEaHGl/ofSfoceEqwrwzk8yH99LVOZo7BGJ8yP5GgmkX1cvZ ICMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v3SbQoWktI8RVMK3Nqils78rkQ9eUcXzMF3k3aggJ7Y=; b=g28j+Zjp2HcuA8Z8aYUNhxYdQPODodtr/slwk6N5U8tvSnsGUdBfES7qpkscXMSBYv 1Mt4IVcpSV1k3H+pKqyqBvfpXm6zWqEKv9SuTEov7olvpJHZ59d4R7mGdZ2DFysN84V2 6Tfd5Wj//MteBTSPBDs6+1EvTfVY5x+zP0oEsQrUvSJr/VCXVPA+XvvVlDx3yA4SPWrW bFy06XQd4GL5voQQfY7jmKA5wLCctxqMeIEf+SgapVev60ebkSbR7z7pW79Yz9BIZTX0 HI5uP0WDA6zNYYzIg7aeU0OwQRB8GKKxo7PX2hopOgkmREvjOpXKSGv9pv+VAsCHvf51 Rp9A== X-Gm-Message-State: AEkoouuj2x/9NQ9kM/jH4AjP6x7v4mfm6UeVQj1TvUL+jqKN4JZalcCXE5X/lXG/SegvoxXQPbYs9Iy434aBUg== X-Received: by 10.36.86.134 with SMTP id o128mr52779824itb.5.1469883908501; Sat, 30 Jul 2016 06:05:08 -0700 (PDT) MIME-Version: 1.0 References: <66C89432-6E70-422F-A638-7522BF233707@gmail.com> <35967373-D9F6-4C0C-8005-787DB8C7B1BB@gmx.de> <7ECE7E7A-0310-4DC4-8AC9-29B0F1F2E383@gmx.de> <4F22259A-17C8-4353-B34B-55D7E194D1EB@gmx.de> <43469614-F02B-4D9B-8D0E-14D0F4211CF1@gmail.com> <0B5FF17F-817F-4993-826D-DE55387D8D91@gmx.de> <001B301F-5F3D-4751-A252-ED67021B0BC2@gmx.de> In-Reply-To: From: Mario Ferreira Date: Sat, 30 Jul 2016 13:04:58 +0000 Message-ID: To: Loganaden Velvindron , moeller0 Cc: cake@lists.bufferbloat.net Content-Type: multipart/alternative; boundary=001a11437bbe3a38200538da04b9 Subject: Re: [Cake] fq_codel on 3g network in Mauritius 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: Sat, 30 Jul 2016 13:05:09 -0000 --001a11437bbe3a38200538da04b9 Content-Type: text/plain; charset=UTF-8 You could also use a custom kernel that would allow you to add fq_codel/cake then add custom rules to it. I would advise a setup such as: AFWall to run scripts depending on whether it's WiFi or Mobile (3G/4G). The script would be a simplified debloat.sh just adding simple tc fq_codel/cake commands. I tried this before on the Samsung Galaxy Nexus back on 2013 [1] [2] with AK_Kernel. I had interesting results though mixed ones. It was mostly due to mobile data quality being awfully varied. Therefore, I wasn't knowledgeable to find a good script setup that catered for all the moving parts. Nonetheless, it improved my situation. I recommend it. I've been meaning to try this again using a modified Franco kernel [2] for Huawei Nexus 6P. However, as with everyone else, Real Life(TM) has a tendency to get in the way. :) I don't use custom ROMs. It would be a stock Nexus ROM installation, SU root for scripts/tc and custom kernel for fq_codel/cake kernels. We could try if people are interested. However, I can only be of help after November. 1. http://forum.xda-developers.com/galaxy-nexus/general/kernel-codel-kernel-modules-android-t2163790 2. https://github.com/lioux/ (Be kind, I know my github account looks like a junior developer's sandbox :) On Sat, Jul 30, 2016 at 12:45 AM Loganaden Velvindron wrote: > I went further, and rooted the android phone. > > Then I set the txqueulen to 0 on ccimni0 and wlan0. > > Here are the results: > https://www.dslreports.com/speedtest/4569339 > https://www.dslreports.com/speedtest/4569379 > > > Despite disabling the txqueuelen, The inbuilt TX/RX buffers are still > pretty high: > > > https://android.googlesource.com/kernel/mediatek/+/android-6.0.1_r0.100/drivers/misc/mediatek/dual_ccci/ccmni_net.c > > > #define CCMNI_TX_QUEUE 1000 > #define CCMNI_UART_OFFSET 2 > > So my idea is to reduce the size of the queues so that it's just > enough for 21Mbit/s (down) , and 4Mbit/s (up), in the absence of BQL > support. > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake > -- Mario S F Ferreira - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature --001a11437bbe3a38200538da04b9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
You could also use a custom kernel that would allow you to= add fq_codel/cake then add custom rules to it.

I would = advise a setup such as: AFWall to run scripts depending on whether it's= WiFi or Mobile (3G/4G). The script would be a simplified debloat.sh just a= dding simple tc fq_codel/cake commands.

I tried th= is before on the Samsung Galaxy Nexus back on 2013 [1] [2] with AK_Kernel. = I had interesting results though mixed ones. It was mostly due to mobile da= ta quality being awfully varied. Therefore, I wasn't knowledgeable to f= ind a good script setup that catered for all the moving parts. Nonetheless,= it improved my situation. I recommend it.

I'v= e been meaning to try this again using a modified Franco kernel [2]=C2=A0for Huawei Nexus 6P. However, as with everyon= e else, Real Life(TM) has a tendency to get in the way. :) I don't use = custom ROMs. It would be a stock Nexus ROM installation, SU root for script= s/tc and custom kernel for fq_codel/cake kernels.

We could try if people are interested. However, I can only be of hel= p after November.

= 1. http://forum.xda-developers.com/galax= y-nexus/general/kernel-codel-kernel-modules-android-t2163790
2.=C2=A0https://github.com/lioux/=C2=A0(Be kind, I know my git= hub account looks like a junior developer's sandbox :)

<= div class=3D"gmail_quote">
On Sat, Jul 30, 2016 at 12:45 AM= Loganaden Velvindron <loganaden@= gmail.com> wrote:
I went f= urther, and rooted the android phone.

Then I set the txqueulen to 0 on ccimni0 and wlan0.

Here are the results:
https://www.dslreports.com/speedtest/4569339
https://www.dslreports.com/speedtest/4569379


Despite disabling the txqueuelen, The inbuilt TX/RX buffers are still
pretty high:

https://android.googlesource.com/kernel/mediatek/+/android-6= .0.1_r0.100/drivers/misc/mediatek/dual_ccci/ccmni_net.c


#define CCMNI_TX_QUEUE 1000
#define CCMNI_UART_OFFSET 2

So my idea is to reduce the size of the queues so that it's just
enough for 21Mbit/s (down) , and 4Mbit/s (up), in the absence of BQL
support.
_______________________________________________
Cake mailing list
Cake@lists.= bufferbloat.net
https://lists.bufferbloat.net/listinfo/cake
--

Mario S F Ferreira - Brazil -= "I guess this is a=C2=A0signature."
feature, n: a documented bug | bug, n: an undocumented feature

--001a11437bbe3a38200538da04b9--