Flent-users discussion archives
 help / color / mirror / Atom feed
From: "Kirill Lukonin (EvilWirelessMan)" <notifications@github.com>
To: tohojo/flent <flent@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [Flent-users] Re: [tohojo/flent] Plots are broken somehow (#227)
Date: Thu, 24 Jun 2021 08:34:43 -0700	[thread overview]
Message-ID: <tohojo/flent/issues/227/867736262@github.com> (raw)
In-Reply-To: <tohojo/flent/issues/227@github.com>

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

@dtaht 

it's a BCM4359 with bcmdhd driver (amlogic fork).
FullMAC architecture doesn't let us use airtime fairness.
So we did some job to decrease buffering inside the driver, we turned off power_save, roaming, periodic scans, background scanning.
We also use a combination of  fq_codel qdisc for wlan0 interface and BBR tcp congestion algo.

bcmdhd driver do some weird things. According to my limited understanding tx_glom and rx_glom work independently from kernel scatter-gather mechanism. So a bunch of tx frames would be splitted and aligned according to tx_glom bucket size every time we try to send something. 
This chip uses single queue for tx and rx, so according to it's architecture there is no way to achieve low delay with medium and heavy traffic scenarios.
Nowadays many android devices use this driver without any optimizations. And it works awful with pfifofast qdisc which is default for android. 
So much to improve...

P.S.
It looks like the default fq_codel interval (100ms) is not enough for mobile devices in some scenarios.
300ms ought to be enough for everybody. 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/227#issuecomment-867736262

[-- Attachment #2: Type: text/html, Size: 2434 bytes --]

  parent reply	other threads:[~2021-06-24 15:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-21 12:34 [Flent-users] " Kirill Lukonin (EvilWirelessMan)
2021-06-21 12:34 ` [Flent-users] " Kirill Lukonin (EvilWirelessMan)
2021-06-21 14:29 ` Toke Høiland-Jørgensen
2021-06-21 16:03 ` Kirill Lukonin (EvilWirelessMan)
2021-06-21 16:03 ` Kirill Lukonin (EvilWirelessMan)
2021-06-22  0:38 ` Dave Täht
2021-06-22 13:52 ` Kirill Lukonin (EvilWirelessMan)
2021-06-23 15:02 ` Kirill Lukonin (EvilWirelessMan)
2021-06-24 11:00 ` Toke Høiland-Jørgensen
2021-06-24 13:45 ` Dave Täht
2021-06-24 13:48 ` Dave Täht
2021-06-24 13:49 ` Dave Täht
2021-06-24 15:34 ` Kirill Lukonin (EvilWirelessMan) [this message]
2021-06-24 15:48 ` Kirill Lukonin (EvilWirelessMan)
2021-06-24 16:29 ` Dave Täht

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.flent.org/postorius/lists/flent-users.flent.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tohojo/flent/issues/227/867736262@github.com \
    --to=notifications@github.com \
    --cc=flent@noreply.github.com \
    --cc=reply+AHVNJP4FMJF4A266HA5SARV64CDRHEVBNHHDONB6EI@reply.github.com \
    --cc=subscribed@noreply.github.com \
    --subject='[Flent-users] Re: [tohojo/flent] Plots are broken somehow (#227)' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox