[Flent-users] [tohojo/flent] Release v2.0.1 - Flent v2.0.1

2021-06-24 Thread Toke Høiland-Jørgensen
Released on 2021-06-24.

Changes since v2.0.0 include:

- Fix globbing in plot and test definitions so it works on newer Python
  versions

- Don't hang forever while trying to process invalid time series data, and
  check fping timestamp output before using it (fixes a hang bug when using
  certain versions of fping on BSD and OSX)

- Don't crash on metadata collection if hexdump is not available on the system.

- Clarify that the Flent license doesn't apply to its output

-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/tohojo/flent/releases/tag/v2.0.1___
Flent-users mailing list -- flent-users@flent.org
To unsubscribe send an email to flent-users-le...@flent.org


[Flent-users] Announcing Flent v2.0.1

2021-06-24 Thread Toke Høiland-Jørgensen
Hi everyone

This is to announce the release of Flent v2.0.1.

This is a small bugfix release fixing a few annoying bugs affecting
plotting on newer Python versions, and running tests on OSX with buggy
fping.

Changes since v2.0.0 include:

- Fix globbing in plot and test definitions so it works on newer Python
  versions

- Don't hang forever while trying to process invalid time series data, and
  check fping timestamp output before using it (fixes a hang bug when using
  certain versions of fping on BSD and OSX)

- Don't crash on metadata collection if hexdump is not available on the system.

- Clarify that the Flent license doesn't apply to its output

As always, the Flent source is available via PyPi. The sha256 checksums
for the source code archives are:

60d32d1409377b416836c01a35dce6c8ab83e8c83b3e9cba3f0563f5b5145b14  
flent-2.0.1-py2.py3-none-any.whl
300a09938dc2b4a0463c9144626f25e0bd736fd47806a9444719fa024d671796  
flent-2.0.1.tar.gz

Distro packages should already be updated, with the exception of the
PPA, which is still building, but should be there shortly.

-Toke


signature.asc
Description: PGP signature
___
Flent-users mailing list -- flent-users@flent.org
To unsubscribe send an email to flent-users-le...@flent.org


[Flent-users] Re: [tohojo/flent] Unable to run Flent test on MacMini/MacOS - Test is not terminating (#228)

2021-06-24 Thread crazyrai
Thank you! I am able to run Flent without any issue after updating fping 
version!

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


[Flent-users] Re: [tohojo/flent] Unable to run Flent test on MacMini/MacOS - Test is not terminating (#228)

2021-06-24 Thread crazyrai
Closed #228.

-- 
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/228#event-4935767727___
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 Dave Täht
can you email me, I have something in the works you are going to *love* (davet 
AT teklibre.net)

-- 
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-867783987___
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


[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 Dave Täht
It looks like we lost the g+ thread but basically we suppressed channel scans 
if the existing rssi was < 80 or so.

-- 
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-867651681___
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 Dave Täht
also try adding net.ipv4.tcp_ecn=1 to sysctl

-- 
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-867650898___
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 Dave Täht
thx very much for absorbing my (our) work.

what's the wifi chipset in this device? (can I get one?) did you implement 
https://www.usenix.org/conference/atc17/technical-sessions/presentation/hoilan-jorgesen

yes, I had written about the impact of channel scans before over here: 
http://blog.cerowrt.org/post/disabling_channel_scans/

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


[Flent-users] Re: [tohojo/flent] Unable to run Flent test on MacMini/MacOS - Test is not terminating (#228)

2021-06-24 Thread Toke Høiland-Jørgensen
crazyrai ***@***.***> writes:

> Flent test will not terminate and need Ctrl+c to terminate. Looks like
> underneath tests are running good, mostly unable to collect results
> and in loop.
>
> I tried on MacOS-Bigsur, Catalina, Mohave

This is a bug in fping - see #221. Please try the git version of Flent,
that should refuse to use the broken fping binary...


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


[Flent-users] [tohojo/flent] Unable to run Flent test on MacMini/MacOS - Test is not terminating (#228)

2021-06-24 Thread crazyrai
Flent test will not terminate and need Ctrl+c to terminate. Looks like 
underneath tests are running good, mostly unable to collect results and in loop.

I tried on MacOS-Bigsur, Catalina, Mohave

Test setup:
 DHCP Sever  -
|---> Mac Mini WAN client
|---> AP -> Mac Mini WiFi client

Running netserver on `Mac Mini WAN client` and Flent on `Mac Mini WiFi client`

Installation step:

1. brew tap kris-anderson/netperf
2. brew install netperf-enable-demo
3. brew install fping
4. pip3 install matplotlib
5. pip3 install flent
6. pip3 install pyqt5

Test debug log - Used third party netserver- `netperf-west.bufferbloat.net`
```
client@wifitest-mini-6 ~ %  flent rrul -l 5 -H netperf-west.bufferbloat.net -v
Running flent
Executing test environment file 
/Users/client/.pyenv/versions/3.5.3/lib/python3.5/site-packages/flent/tests/rrul.conf
Started Flent 2.0.0 using Python 3.5.3.
Looking up hostname 'netperf-west.bufferbloat.net'.
Executing test environment file 
/Users/client/.pyenv/versions/3.5.3/lib/python3.5/site-packages/flent/tests/rrul.conf
Gathering local metadata
Looking up hostname 'netperf-west.bufferbloat.net'.
Starting rrul test. Expected run time: 15 seconds.
which: Found netperf executable at /usr/local/bin/netperf
which: Found netperf executable at /usr/local/bin/netperf
which: Found netperf executable at /usr/local/bin/netperf
which: Found netperf executable at /usr/local/bin/netperf
which: Found netperf executable at /usr/local/bin/netperf
which: Found netperf executable at /usr/local/bin/netperf
which: Found netperf executable at /usr/local/bin/netperf
which: Found netperf executable at /usr/local/bin/netperf
Ping (ms) UDP EF: Adding child IrttRunner
which: Found irtt executable at /usr/local/bin/irtt
UDP RTT test: Using irtt
Ping (ms) UDP BK: Adding child IrttRunner
UDP RTT test: Using irtt
Ping (ms) UDP BE: Adding child IrttRunner
UDP RTT test: Using irtt
which: Found fping executable at /usr/local/bin/fping
which: /usr/local/bin/ping is not an executable file
which: /usr/bin/ping is not an executable file
which: /bin/ping is not an executable file
which: /usr/sbin/ping is not an executable file
which: Found ping executable at /sbin/ping
Forking to run command /usr/local/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y 0x0,0x0 
-H netperf-west.bufferbloat.net -p 12865 -t TCP_STREAM -l 5 -F /dev/urandom -f 
m   ---H netperf-west.bufferbloat.net -k 
THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD
  
Forked /usr/local/bin/netperf as pid 8447
TCP upload BE: Starting watchdog with timeout 30
Started TimerRunner idx 0 ('Watchdog [TCP upload BE]')
Started NetperfDemoRunner idx 0 ('TCP upload BE')
Forking to run command /usr/local/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y 
0x20,0x20 -H netperf-west.bufferbloat.net -p 12865 -t TCP_STREAM -l 5 -F 
/dev/urandom -f m   ---H netperf-west.bufferbloat.net -k 
THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD
  
Forked /usr/local/bin/netperf as pid 8448
TCP upload BK: Starting watchdog with timeout 30
Started TimerRunner idx 1 ('Watchdog [TCP upload BK]')
Started NetperfDemoRunner idx 1 ('TCP upload BK')
Forking to run command /usr/local/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y 
0xa0,0xa0 -H netperf-west.bufferbloat.net -p 12865 -t TCP_STREAM -l 5 -F 
/dev/urandom -f m   ---H netperf-west.bufferbloat.net -k 
THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD
  
Forked /usr/local/bin/netperf as pid 8449
TCP upload CS5: Starting watchdog with timeout 30
Started TimerRunner idx 2 ('Watchdog [TCP upload CS5]')
Started NetperfDemoRunner idx 2 ('TCP upload CS5')
Forking to run command /usr/local/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y 
0xb8,0xb8 -H netperf-west.bufferbloat.net -p 12865 -t TCP_STREAM -l 5 -F 
/dev/urandom -f m   ---H netperf-west.bufferbloat.net -k 
THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD
  
Forked /usr/local/bin/netperf as pid 8450
TCP upload EF: Starting watchdog with timeout 30
Started TimerRunner

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

2021-06-24 Thread Toke Høiland-Jørgensen
"Kirill Lukonin (EvilWirelessMan)" ***@***.***> writes:

> @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?

Yeah, I guess a 2.0.1 release would be in order :)


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