[Flent-users] Re: [tohojo/flent] Plots are broken somehow (#227)

2021-06-21 Thread Kirill Lukonin (EvilWirelessMan)
![test_totals](https://user-images.githubusercontent.com/6944552/122762601-ebfc6680-d2b6-11eb-83e9-ba678c82199c.png)


-- 
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-864997002___
Flent-users mailing list -- flent-users@flent.org
To unsubscribe send an email to flent-users-le...@flent.org


[Flent-users] [tohojo/flent] Plots are broken somehow (#227)

2021-06-21 Thread Kirill Lukonin (EvilWirelessMan)
v2.0.0 Release is wonderful and has a lot of improvements.
But currently plotting bug is present.
For some reasons combined plots such as "totals" are shifted. I mean graphs are 
not aligned.

Command to reproduce:
flent --input some_test_file.flent --plot totals --bounds-x 300 --figure-width 
26 --figure-height 14 --zero-y --no-title --bounds-y=500 --output 
./test_totals.png

-- 
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___
Flent-users mailing list -- flent-users@flent.org
To unsubscribe send an email to flent-users-le...@flent.org


[Flent-users] Re: [tohojo/flent] Plots are broken somehow (#227)

2021-06-21 Thread Kirill Lukonin (EvilWirelessMan)
Master version seems to be OK.

-- 
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-865156363___
Flent-users mailing list -- flent-users@flent.org
To unsubscribe send an email to flent-users-le...@flent.org


[Flent-users] Re: [tohojo/flent] Plots are broken somehow (#227)

2021-06-21 Thread Kirill Lukonin (EvilWirelessMan)
![test_totals](https://user-images.githubusercontent.com/6944552/122792903-055fdb80-d2d4-11eb-81f3-58fe99f8731f.png)


-- 
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-865156450___
Flent-users mailing list -- flent-users@flent.org
To unsubscribe send an email to flent-users-le...@flent.org


[Flent-users] Re: [tohojo/flent] Plots are broken somehow (#227)

2021-06-22 Thread Kirill Lukonin (EvilWirelessMan)
Hello, Dave.

It's not a network issue. Bluetooth/Wi-Fi scanning cause these spikes. But 
honestly, I did a lot of research about current Android network kitchen. There 
are a lot of to improve. You see a test results of SberDevices SberBox early 
release (unpatched firmware). 
Current release is better a lot, because we did so much work to decrease 
latency and improve stability of Wi-Fi connection. I can say that scanning and 
roaming are two main diseases of android TV boxes/sticks. RTT could be up to 
2000+ms. We can discuss it in the mailing list, but not here =)

Hope to share soon our results and Flent extensions for Android devices.

Actually, It's a good chance to say thank you, because some years ago your 
articles inspired me to learn more about traffic and queues.


-- 
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-866002891___
Flent-users mailing list -- flent-users@flent.org
To unsubscribe send an email to flent-users-le...@flent.org


[Flent-users] Re: [tohojo/flent] Plots are broken somehow (#227)

2021-06-23 Thread Kirill Lukonin (EvilWirelessMan)
@tohojo 

Than you very much. Master version works perfectly.
Is it a good approach to make a minor release 2.0.1 without this issue?

-- 
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-866915887___
Flent-users mailing list -- flent-users@flent.org
To unsubscribe send an email to flent-users-le...@flent.org


[Flent-users] Re: [tohojo/flent] Plots are broken somehow (#227)

2021-06-24 Thread Kirill Lukonin (EvilWirelessMan)
@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___
Flent-users mailing list -- flent-users@flent.org
To unsubscribe send an email to flent-users-le...@flent.org


[Flent-users] Re: [tohojo/flent] Plots are broken somehow (#227)

2021-06-24 Thread Kirill Lukonin (EvilWirelessMan)
`thx very much for absorbing my (our) work.`

@tohojo @dtaht 
I'm a big fan of your work for a long time)

Proofs:
https://ostconf.com/system/attachments/files/000/001/204/original/5_Lukonin_Kirill.pdf?1479120815
https://youtu.be/S8hYxAV8ElI?t=108
https://t.me/EvilWirelessMan/591

-- 
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-867747905___
Flent-users mailing list -- flent-users@flent.org
To unsubscribe send an email to flent-users-le...@flent.org