Skip to contentSkip to conversation

low TCP throughput with 80MHz channel width

DISCUSSION Iñaki Pascual 3 participants 10 messages Apr 22, 2016 – Apr 25, 2016 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

Hi everyone,

we have configured two boxes with 802.11ac NICs to work in channel 48 (5240 MHz), ad-hoc mode, 80MHz channel width. For UDP traffic we get 300 Mbps bandwith but for TCP we are around 30 Mbps.

We have tried other channels with similar results.
Throughput for 20 and 40 MHz channel width are ok (20MHz: TCP 21Mbps, UDP 27Mbps, 40MHz: TCP 82Mbps, UDP 144Mbps).

Testing with iperf we have also tried different congestion windows with no or low improvements.

Below are config details and the sequence of commands we are using to configure the interface.

Any ideas on what we may be doing wrong?

Bests,

Iñaki

iw outputs:

root@sc227:/home/monet# iw wlan2 info
Interface wlan2
    ifindex 6
    wdev 0x200000001
    addr 04:f0:21:18:26:a2
    ssid SC226SC227
    type IBSS
    wiphy 2
    channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
root@sc227:/home/monet# iw wlan2 station dump
Station 04:f0:21:18:26:a8 (on wlan2)
    inactive time:    86 ms
    rx bytes:    467732521
    rx packets:    364249
    tx bytes:    1394558
    tx packets:    16200
    tx retries:    0
    tx failed:    0
    signal:      -51 dBm
    signal avg:    -51 dBm
    tx bitrate:    351.0 MBit/s VHT-MCS 4 80MHz VHT-NSS 2
    rx bitrate:    526.5 MBit/s VHT-MCS 4 80MHz VHT-NSS 3
    authorized:    yes
    authenticated:    yes
    preamble:    long
    WMM/WME:    yes
    MFP:        no
    TDLS peer:    no
    connected time:    3169 seconds

config commands:

ifconfig wlan2 down
iw wlan2 set type ibss
ifconfig wlan2 up
ifconfig wlan2 10.2.1.7 netmask 255.255.255.0
iw wlan2 ibss join SC226SC227 5240 80MHz

iperf:

root@sc227:/home/monet# iperf -c 10.2.1.6
------------------------------------------------------------
Client connecting to 10.2.1.6, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.7 port 48548 connected with 10.2.1.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  33.1 MBytes  27.7 Mbits/sec

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#1 lore raw

Use 'reno' instead of cubic TCP congestion control, cubic is broken with ath10k.

Thanks,
Ben

Quoted 74 lines · Iñaki Pascual

Hi everyone,

we have configured two boxes with 802.11ac NICs to work in channel 48 (5240 MHz), ad-hoc mode, 80MHz channel width. For UDP traffic we get 300 Mbps bandwith but for TCP we are around 30 Mbps.

We have tried other channels with similar results.
Throughput for 20 and 40 MHz channel width are ok (20MHz: TCP 21Mbps, UDP 27Mbps, 40MHz: TCP 82Mbps, UDP 144Mbps).

Testing with iperf we have also tried different congestion windows with no or low improvements.

Below are config details and the sequence of commands we are using to configure the interface.

Any ideas on what we may be doing wrong?

Bests,

Iñaki

iw outputs:

root@sc227:/home/monet# iw wlan2 info
Interface wlan2
     ifindex 6
     wdev 0x200000001
     addr 04:f0:21:18:26:a2
     ssid SC226SC227
     type IBSS
     wiphy 2
     channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
root@sc227:/home/monet# iw wlan2 station dump
Station 04:f0:21:18:26:a8 (on wlan2)
     inactive time:    86 ms
     rx bytes:    467732521
     rx packets:    364249
     tx bytes:    1394558
     tx packets:    16200
     tx retries:    0
     tx failed:    0
     signal:      -51 dBm
     signal avg:    -51 dBm
     tx bitrate:    351.0 MBit/s VHT-MCS 4 80MHz VHT-NSS 2
     rx bitrate:    526.5 MBit/s VHT-MCS 4 80MHz VHT-NSS 3
     authorized:    yes
     authenticated:    yes
     preamble:    long
     WMM/WME:    yes
     MFP:        no
     TDLS peer:    no
     connected time:    3169 seconds

config commands:

ifconfig wlan2 down
iw wlan2 set type ibss
ifconfig wlan2 up
ifconfig wlan2 10.2.1.7 netmask 255.255.255.0
iw wlan2 ibss join SC226SC227 5240 80MHz

iperf:

root@sc227:/home/monet# iperf -c 10.2.1.6
------------------------------------------------------------
Client connecting to 10.2.1.6, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.7 port 48548 connected with 10.2.1.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  33.1 MBytes  27.7 Mbits/sec

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Signature · 8 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#2 lore raw

Thanks for the tip Ben. We have moved to 'reno' and tried several window sizes but we are still on max. 35 Mbps which is too low.

Bests,

Iñaki

Quoted 82 lines · Ben Greear

Use 'reno' instead of cubic TCP congestion control, cubic is broken with ath10k.

Thanks,
Ben

Quoted 74 lines · Iñaki Pascual

Hi everyone,

we have configured two boxes with 802.11ac NICs to work in channel 48 (5240 MHz), ad-hoc mode, 80MHz channel width. For UDP traffic we get 300 Mbps bandwith but for TCP we are around 30 Mbps.

We have tried other channels with similar results.
Throughput for 20 and 40 MHz channel width are ok (20MHz: TCP 21Mbps, UDP 27Mbps, 40MHz: TCP 82Mbps, UDP 144Mbps).

Testing with iperf we have also tried different congestion windows with no or low improvements.

Below are config details and the sequence of commands we are using to configure the interface.

Any ideas on what we may be doing wrong?

Bests,

Iñaki

iw outputs:

root@sc227:/home/monet# iw wlan2 info
Interface wlan2
     ifindex 6
     wdev 0x200000001
     addr 04:f0:21:18:26:a2
     ssid SC226SC227
     type IBSS
     wiphy 2
     channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
root@sc227:/home/monet# iw wlan2 station dump
Station 04:f0:21:18:26:a8 (on wlan2)
     inactive time:    86 ms
     rx bytes:    467732521
     rx packets:    364249
     tx bytes:    1394558
     tx packets:    16200
     tx retries:    0
     tx failed:    0
     signal:      -51 dBm
     signal avg:    -51 dBm
     tx bitrate:    351.0 MBit/s VHT-MCS 4 80MHz VHT-NSS 2
     rx bitrate:    526.5 MBit/s VHT-MCS 4 80MHz VHT-NSS 3
     authorized:    yes
     authenticated:    yes
     preamble:    long
     WMM/WME:    yes
     MFP:        no
     TDLS peer:    no
     connected time:    3169 seconds

config commands:

ifconfig wlan2 down
iw wlan2 set type ibss
ifconfig wlan2 up
ifconfig wlan2 10.2.1.7 netmask 255.255.255.0
iw wlan2 ibss join SC226SC227 5240 80MHz

iperf:

root@sc227:/home/monet# iperf -c 10.2.1.6
------------------------------------------------------------
Client connecting to 10.2.1.6, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.7 port 48548 connected with 10.2.1.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  33.1 MBytes  27.7 Mbits/sec

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#4 lore raw
In reply to Ben Greear

We are using kernel 4.2 with CandelaTech firmware 10.1.467-ct-com-full-014-96d543

monet@sc227:~$ ethtool -i wlan2
driver: ath10k_pci
version: 4.2.0+
firmware-version: 10.1.467-ct-com-full-014-96d543
bus-info: 0000:0b:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

Thanks,

Iñaki

Quoted 100 lines · Ben Greear
Quoted 2 lines · Iñaki Pascual

Thanks for the tip Ben. We have moved to 'reno' and tried several window sizes but we are still on max. 35 Mbps which is too low.

What firmware and kernel are you using?

Thanks,
Ben

Quoted 88 lines

Bests,

Iñaki

Quoted 82 lines · Ben Greear

Use 'reno' instead of cubic TCP congestion control, cubic is broken with ath10k.

Thanks,
Ben

Quoted 74 lines · Iñaki Pascual

Hi everyone,

we have configured two boxes with 802.11ac NICs to work in channel 48 (5240 MHz), ad-hoc mode, 80MHz channel width. For UDP traffic we get 300 Mbps bandwith but for TCP we are around 30 Mbps.

We have tried other channels with similar results.
Throughput for 20 and 40 MHz channel width are ok (20MHz: TCP 21Mbps, UDP 27Mbps, 40MHz: TCP 82Mbps, UDP 144Mbps).

Testing with iperf we have also tried different congestion windows with no or low improvements.

Below are config details and the sequence of commands we are using to configure the interface.

Any ideas on what we may be doing wrong?

Bests,

Iñaki

iw outputs:

root@sc227:/home/monet# iw wlan2 info
Interface wlan2
     ifindex 6
     wdev 0x200000001
     addr 04:f0:21:18:26:a2
     ssid SC226SC227
     type IBSS
     wiphy 2
     channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
root@sc227:/home/monet# iw wlan2 station dump
Station 04:f0:21:18:26:a8 (on wlan2)
     inactive time:    86 ms
     rx bytes:    467732521
     rx packets:    364249
     tx bytes:    1394558
     tx packets:    16200
     tx retries:    0
     tx failed:    0
     signal:      -51 dBm
     signal avg:    -51 dBm
     tx bitrate:    351.0 MBit/s VHT-MCS 4 80MHz VHT-NSS 2
     rx bitrate:    526.5 MBit/s VHT-MCS 4 80MHz VHT-NSS 3
     authorized:    yes
     authenticated:    yes
     preamble:    long
     WMM/WME:    yes
     MFP:        no
     TDLS peer:    no
     connected time:    3169 seconds

config commands:

ifconfig wlan2 down
iw wlan2 set type ibss
ifconfig wlan2 up
ifconfig wlan2 10.2.1.7 netmask 255.255.255.0
iw wlan2 ibss join SC226SC227 5240 80MHz

iperf:

root@sc227:/home/monet# iperf -c 10.2.1.6
------------------------------------------------------------
Client connecting to 10.2.1.6, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.7 port 48548 connected with 10.2.1.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  33.1 MBytes  27.7 Mbits/sec

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#5 lore raw
Quoted 1 line · Iñaki Pascual

We are using kernel 4.2 with CandelaTech firmware 10.1.467-ct-com-full-014-96d543

Maybe try rls 15 or beta-16 CT 10.1 firmware?

And, we found too much instability in 4.2 kernel. We suggest 4.0 or 4.4, though I am not aware of any throughput related bugs aside from the CUBIC congestion control issue.

You might also try our 3.17 kernel since CUBIC worked in that kernel...

Thanks,
Ben

Quoted 118 lines
monet@sc227:~$ ethtool -i wlan2
driver: ath10k_pci
version: 4.2.0+
firmware-version: 10.1.467-ct-com-full-014-96d543
bus-info: 0000:0b:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

Thanks,

Iñaki

Quoted 100 lines · Ben Greear
Quoted 2 lines · Iñaki Pascual

Thanks for the tip Ben. We have moved to 'reno' and tried several window sizes but we are still on max. 35 Mbps which is too low.

What firmware and kernel are you using?

Thanks,
Ben

Quoted 88 lines

Bests,

Iñaki

Quoted 82 lines · Ben Greear

Use 'reno' instead of cubic TCP congestion control, cubic is broken with ath10k.

Thanks,
Ben

Quoted 74 lines · Iñaki Pascual

Hi everyone,

we have configured two boxes with 802.11ac NICs to work in channel 48 (5240 MHz), ad-hoc mode, 80MHz channel width. For UDP traffic we get 300 Mbps bandwith but for TCP we are around 30 Mbps.

We have tried other channels with similar results.
Throughput for 20 and 40 MHz channel width are ok (20MHz: TCP 21Mbps, UDP 27Mbps, 40MHz: TCP 82Mbps, UDP 144Mbps).

Testing with iperf we have also tried different congestion windows with no or low improvements.

Below are config details and the sequence of commands we are using to configure the interface.

Any ideas on what we may be doing wrong?

Bests,

Iñaki

iw outputs:

root@sc227:/home/monet# iw wlan2 info
Interface wlan2
     ifindex 6
     wdev 0x200000001
     addr 04:f0:21:18:26:a2
     ssid SC226SC227
     type IBSS
     wiphy 2
     channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
root@sc227:/home/monet# iw wlan2 station dump
Station 04:f0:21:18:26:a8 (on wlan2)
     inactive time:    86 ms
     rx bytes:    467732521
     rx packets:    364249
     tx bytes:    1394558
     tx packets:    16200
     tx retries:    0
     tx failed:    0
     signal:      -51 dBm
     signal avg:    -51 dBm
     tx bitrate:    351.0 MBit/s VHT-MCS 4 80MHz VHT-NSS 2
     rx bitrate:    526.5 MBit/s VHT-MCS 4 80MHz VHT-NSS 3
     authorized:    yes
     authenticated:    yes
     preamble:    long
     WMM/WME:    yes
     MFP:        no
     TDLS peer:    no
     connected time:    3169 seconds

config commands:

ifconfig wlan2 down
iw wlan2 set type ibss
ifconfig wlan2 up
ifconfig wlan2 10.2.1.7 netmask 255.255.255.0
iw wlan2 ibss join SC226SC227 5240 80MHz

iperf:

root@sc227:/home/monet# iperf -c 10.2.1.6
------------------------------------------------------------
Client connecting to 10.2.1.6, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.7 port 48548 connected with 10.2.1.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  33.1 MBytes  27.7 Mbits/sec

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Signature · 8 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#3 lore raw
In reply to Iñaki Pascual
Quoted 2 lines · Iñaki Pascual

Thanks for the tip Ben. We have moved to 'reno' and tried several window sizes but we are still on max. 35 Mbps which is too low.

What firmware and kernel are you using?

Thanks,
Ben

Quoted 88 lines

Bests,

Iñaki

Quoted 82 lines · Ben Greear

Use 'reno' instead of cubic TCP congestion control, cubic is broken with ath10k.

Thanks,
Ben

Quoted 74 lines · Iñaki Pascual

Hi everyone,

we have configured two boxes with 802.11ac NICs to work in channel 48 (5240 MHz), ad-hoc mode, 80MHz channel width. For UDP traffic we get 300 Mbps bandwith but for TCP we are around 30 Mbps.

We have tried other channels with similar results.
Throughput for 20 and 40 MHz channel width are ok (20MHz: TCP 21Mbps, UDP 27Mbps, 40MHz: TCP 82Mbps, UDP 144Mbps).

Testing with iperf we have also tried different congestion windows with no or low improvements.

Below are config details and the sequence of commands we are using to configure the interface.

Any ideas on what we may be doing wrong?

Bests,

Iñaki

iw outputs:

root@sc227:/home/monet# iw wlan2 info
Interface wlan2
     ifindex 6
     wdev 0x200000001
     addr 04:f0:21:18:26:a2
     ssid SC226SC227
     type IBSS
     wiphy 2
     channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
root@sc227:/home/monet# iw wlan2 station dump
Station 04:f0:21:18:26:a8 (on wlan2)
     inactive time:    86 ms
     rx bytes:    467732521
     rx packets:    364249
     tx bytes:    1394558
     tx packets:    16200
     tx retries:    0
     tx failed:    0
     signal:      -51 dBm
     signal avg:    -51 dBm
     tx bitrate:    351.0 MBit/s VHT-MCS 4 80MHz VHT-NSS 2
     rx bitrate:    526.5 MBit/s VHT-MCS 4 80MHz VHT-NSS 3
     authorized:    yes
     authenticated:    yes
     preamble:    long
     WMM/WME:    yes
     MFP:        no
     TDLS peer:    no
     connected time:    3169 seconds

config commands:

ifconfig wlan2 down
iw wlan2 set type ibss
ifconfig wlan2 up
ifconfig wlan2 10.2.1.7 netmask 255.255.255.0
iw wlan2 ibss join SC226SC227 5240 80MHz

iperf:

root@sc227:/home/monet# iperf -c 10.2.1.6
------------------------------------------------------------
Client connecting to 10.2.1.6, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.7 port 48548 connected with 10.2.1.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  33.1 MBytes  27.7 Mbits/sec

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Signature · 8 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#6 lore raw
In reply to Ben Greear

Thanks for your help Ben.

I think we will go for kernel 4.4 and the latest firmware relase.

Regarding the firmware, should we try the CT-10.2 or it is not stable enough?

Bests,

Iñaki

Quoted 5 lines · Ben Greear
Quoted 1 line · Iñaki Pascual

We are using kernel 4.2 with CandelaTech firmware 10.1.467-ct-com-full-014-96d543

Maybe try rls 15 or beta-16 CT 10.1 firmware?

Quoted 130 lines

And, we found too much instability in 4.2 kernel. We suggest 4.0 or 4.4, though I am not aware of any throughput related bugs aside from the CUBIC congestion control issue.

You might also try our 3.17 kernel since CUBIC worked in that kernel...

Thanks,
Ben

Quoted 118 lines
monet@sc227:~$ ethtool -i wlan2
driver: ath10k_pci
version: 4.2.0+
firmware-version: 10.1.467-ct-com-full-014-96d543
bus-info: 0000:0b:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

Thanks,

Iñaki

Quoted 100 lines · Ben Greear
Quoted 2 lines · Iñaki Pascual

Thanks for the tip Ben. We have moved to 'reno' and tried several window sizes but we are still on max. 35 Mbps which is too low.

What firmware and kernel are you using?

Thanks,
Ben

Quoted 88 lines

Bests,

Iñaki

Quoted 82 lines · Ben Greear

Use 'reno' instead of cubic TCP congestion control, cubic is broken with ath10k.

Thanks,
Ben

Quoted 74 lines · Iñaki Pascual

Hi everyone,

we have configured two boxes with 802.11ac NICs to work in channel 48 (5240 MHz), ad-hoc mode, 80MHz channel width. For UDP traffic we get 300 Mbps bandwith but for TCP we are around 30 Mbps.

We have tried other channels with similar results.
Throughput for 20 and 40 MHz channel width are ok (20MHz: TCP 21Mbps, UDP 27Mbps, 40MHz: TCP 82Mbps, UDP 144Mbps).

Testing with iperf we have also tried different congestion windows with no or low improvements.

Below are config details and the sequence of commands we are using to configure the interface.

Any ideas on what we may be doing wrong?

Bests,

Iñaki

iw outputs:

root@sc227:/home/monet# iw wlan2 info
Interface wlan2
     ifindex 6
     wdev 0x200000001
     addr 04:f0:21:18:26:a2
     ssid SC226SC227
     type IBSS
     wiphy 2
     channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
root@sc227:/home/monet# iw wlan2 station dump
Station 04:f0:21:18:26:a8 (on wlan2)
     inactive time:    86 ms
     rx bytes:    467732521
     rx packets:    364249
     tx bytes:    1394558
     tx packets:    16200
     tx retries:    0
     tx failed:    0
     signal:      -51 dBm
     signal avg:    -51 dBm
     tx bitrate:    351.0 MBit/s VHT-MCS 4 80MHz VHT-NSS 2
     rx bitrate:    526.5 MBit/s VHT-MCS 4 80MHz VHT-NSS 3
     authorized:    yes
     authenticated:    yes
     preamble:    long
     WMM/WME:    yes
     MFP:        no
     TDLS peer:    no
     connected time:    3169 seconds

config commands:

ifconfig wlan2 down
iw wlan2 set type ibss
ifconfig wlan2 up
ifconfig wlan2 10.2.1.7 netmask 255.255.255.0
iw wlan2 ibss join SC226SC227 5240 80MHz

iperf:

root@sc227:/home/monet# iperf -c 10.2.1.6
------------------------------------------------------------
Client connecting to 10.2.1.6, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.7 port 48548 connected with 10.2.1.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  33.1 MBytes  27.7 Mbits/sec

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#7 lore raw
Quoted 5 lines · Iñaki Pascual

Thanks for your help Ben.

I think we will go for kernel 4.4 and the latest firmware relase.

Regarding the firmware, should we try the CT-10.2 or it is not stable enough?

My 10.2 has not had much testing, and in recent testing, it does not perform as well as my 10.1 firmware. But, you could give it a try to see how well it works....

4.4 seems to be working this morning, but was broken yesterday: It is in fairly heavy development, so possibly you will hit regressions there. Let me know if you do. It also has a bunch of upstream testing ath10k patches, and I saw other reports that TCP throughput is less with them applied, though possibly this is only true if you are using codel tx queueing.

Thanks,
Ben

Quoted 144 lines

Bests,

Iñaki

Quoted 135 lines · Ben Greear
Quoted 1 line · Iñaki Pascual

We are using kernel 4.2 with CandelaTech firmware 10.1.467-ct-com-full-014-96d543

Maybe try rls 15 or beta-16 CT 10.1 firmware?

And, we found too much instability in 4.2 kernel. We suggest 4.0 or 4.4, though I am not aware of any throughput related bugs aside from the CUBIC congestion control issue.

You might also try our 3.17 kernel since CUBIC worked in that kernel...

Thanks,
Ben

Quoted 118 lines
monet@sc227:~$ ethtool -i wlan2
driver: ath10k_pci
version: 4.2.0+
firmware-version: 10.1.467-ct-com-full-014-96d543
bus-info: 0000:0b:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

Thanks,

Iñaki

Quoted 100 lines · Ben Greear
Quoted 2 lines · Iñaki Pascual

Thanks for the tip Ben. We have moved to 'reno' and tried several window sizes but we are still on max. 35 Mbps which is too low.

What firmware and kernel are you using?

Thanks,
Ben

Quoted 88 lines

Bests,

Iñaki

Quoted 82 lines · Ben Greear

Use 'reno' instead of cubic TCP congestion control, cubic is broken with ath10k.

Thanks,
Ben

Quoted 74 lines · Iñaki Pascual

Hi everyone,

we have configured two boxes with 802.11ac NICs to work in channel 48 (5240 MHz), ad-hoc mode, 80MHz channel width. For UDP traffic we get 300 Mbps bandwith but for TCP we are around 30 Mbps.

We have tried other channels with similar results.
Throughput for 20 and 40 MHz channel width are ok (20MHz: TCP 21Mbps, UDP 27Mbps, 40MHz: TCP 82Mbps, UDP 144Mbps).

Testing with iperf we have also tried different congestion windows with no or low improvements.

Below are config details and the sequence of commands we are using to configure the interface.

Any ideas on what we may be doing wrong?

Bests,

Iñaki

iw outputs:

root@sc227:/home/monet# iw wlan2 info
Interface wlan2
     ifindex 6
     wdev 0x200000001
     addr 04:f0:21:18:26:a2
     ssid SC226SC227
     type IBSS
     wiphy 2
     channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
root@sc227:/home/monet# iw wlan2 station dump
Station 04:f0:21:18:26:a8 (on wlan2)
     inactive time:    86 ms
     rx bytes:    467732521
     rx packets:    364249
     tx bytes:    1394558
     tx packets:    16200
     tx retries:    0
     tx failed:    0
     signal:      -51 dBm
     signal avg:    -51 dBm
     tx bitrate:    351.0 MBit/s VHT-MCS 4 80MHz VHT-NSS 2
     rx bitrate:    526.5 MBit/s VHT-MCS 4 80MHz VHT-NSS 3
     authorized:    yes
     authenticated:    yes
     preamble:    long
     WMM/WME:    yes
     MFP:        no
     TDLS peer:    no
     connected time:    3169 seconds

config commands:

ifconfig wlan2 down
iw wlan2 set type ibss
ifconfig wlan2 up
ifconfig wlan2 10.2.1.7 netmask 255.255.255.0
iw wlan2 ibss join SC226SC227 5240 80MHz

iperf:

root@sc227:/home/monet# iperf -c 10.2.1.6
------------------------------------------------------------
Client connecting to 10.2.1.6, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.7 port 48548 connected with 10.2.1.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  33.1 MBytes  27.7 Mbits/sec

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Signature · 8 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#9 lore raw
In reply to Iñaki Pascual

Did you try sniffing the traffic with tcpdump perhaps? You might want to do tcpdump -w x.pcap -c 20000 -s 128 -ni wlan0 (or eth0 on one of the endpoints, or even both). You can then run tcptrace on the pcap to see some statistics (perhaps something will stand out; I'm not an expert at reading these yet) or open it up with wireshark and inspect it interactively.

One time I had a very bizarre checksum corruption going on that I discovered upon opening a dump in wireshark and it was causing a lot of re-transmissions reducing performance a lot.

You might want to see "ifstat" on the endpoints as well to see if/how it relates to the performance numbers iperf reports.

Out of curiosity, what is RTT on an idle connection between your test endpoints?

Michał

Quoted 102 lines · Iñaki Pascual

Thanks for the tip Ben. We have moved to 'reno' and tried several window sizes but we are still on max. 35 Mbps which is too low.

Bests,

Iñaki

Quoted 91 lines · Ben Greear

Use 'reno' instead of cubic TCP congestion control, cubic is broken with ath10k.

Thanks,
Ben

Quoted 80 lines · Iñaki Pascual

Hi everyone,

we have configured two boxes with 802.11ac NICs to work in channel 48 (5240 MHz), ad-hoc mode, 80MHz channel width.
For UDP traffic we get 300 Mbps bandwith but for TCP we are around 30 Mbps.

We have tried other channels with similar results.
Throughput for 20 and 40 MHz channel width are ok (20MHz: TCP 21Mbps, UDP 27Mbps, 40MHz: TCP 82Mbps, UDP 144Mbps).

Testing with iperf we have also tried different congestion windows with no or low improvements.

Below are config details and the sequence of commands we are using to configure the interface.

Any ideas on what we may be doing wrong?

Bests,

Iñaki

iw outputs:

root@sc227:/home/monet# iw wlan2 info
Interface wlan2
     ifindex 6
     wdev 0x200000001
     addr 04:f0:21:18:26:a2
     ssid SC226SC227
     type IBSS
     wiphy 2
     channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
root@sc227:/home/monet# iw wlan2 station dump
Station 04:f0:21:18:26:a8 (on wlan2)
     inactive time:    86 ms
     rx bytes:    467732521
     rx packets:    364249
     tx bytes:    1394558
     tx packets:    16200
     tx retries:    0
     tx failed:    0
     signal:      -51 dBm
     signal avg:    -51 dBm
     tx bitrate:    351.0 MBit/s VHT-MCS 4 80MHz VHT-NSS 2
     rx bitrate:    526.5 MBit/s VHT-MCS 4 80MHz VHT-NSS 3
     authorized:    yes
     authenticated:    yes
     preamble:    long
     WMM/WME:    yes
     MFP:        no
     TDLS peer:    no
     connected time:    3169 seconds

config commands:

ifconfig wlan2 down
iw wlan2 set type ibss
ifconfig wlan2 up
ifconfig wlan2 10.2.1.7 netmask 255.255.255.0
iw wlan2 ibss join SC226SC227 5240 80MHz

iperf:

root@sc227:/home/monet# iperf -c 10.2.1.6
------------------------------------------------------------
Client connecting to 10.2.1.6, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.7 port 48548 connected with 10.2.1.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  33.1 MBytes  27.7 Mbits/sec

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Quoted 4 lines

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

#8 lore raw

Re: low TCP throughput with 80MHz channel width [SOLVED]

In reply to Ben Greear

Thanks Ben, Michal for your help.

It turns out that the "reno" thing fixed the issue.

We still do not know why it didn't work the first time but after some debbuging, but no config changes, it just started working.

We are now on 200 Mbps TCP on 80 MHz which makes sense.

Thanks again. Bests,

Iñaki

Quoted 10 lines · Ben Greear
Quoted 5 lines · Iñaki Pascual

Thanks for your help Ben.

I think we will go for kernel 4.4 and the latest firmware relase.

Regarding the firmware, should we try the CT-10.2 or it is not stable enough?

My 10.2 has not had much testing, and in recent testing, it does not perform as well as my 10.1 firmware. But, you could give it a try to see how well it works....

Quoted 153 lines

4.4 seems to be working this morning, but was broken yesterday: It is in fairly heavy development, so possibly you will hit regressions there. Let me know if you do. It also has a bunch of upstream testing ath10k patches, and I saw other reports that TCP throughput is less with them applied, though possibly this is only true if you are using codel tx queueing.

Thanks,
Ben

Quoted 144 lines

Bests,

Iñaki

Quoted 135 lines · Ben Greear
Quoted 1 line · Iñaki Pascual

We are using kernel 4.2 with CandelaTech firmware 10.1.467-ct-com-full-014-96d543

Maybe try rls 15 or beta-16 CT 10.1 firmware?

And, we found too much instability in 4.2 kernel. We suggest 4.0 or 4.4, though I am not aware of any throughput related bugs aside from the CUBIC congestion control issue.

You might also try our 3.17 kernel since CUBIC worked in that kernel...

Thanks,
Ben

Quoted 118 lines
monet@sc227:~$ ethtool -i wlan2
driver: ath10k_pci
version: 4.2.0+
firmware-version: 10.1.467-ct-com-full-014-96d543
bus-info: 0000:0b:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

Thanks,

Iñaki

Quoted 100 lines · Ben Greear
Quoted 2 lines · Iñaki Pascual

Thanks for the tip Ben. We have moved to 'reno' and tried several window sizes but we are still on max. 35 Mbps which is too low.

What firmware and kernel are you using?

Thanks,
Ben

Quoted 88 lines

Bests,

Iñaki

Quoted 82 lines · Ben Greear

Use 'reno' instead of cubic TCP congestion control, cubic is broken with ath10k.

Thanks,
Ben

Quoted 74 lines · Iñaki Pascual

Hi everyone,

we have configured two boxes with 802.11ac NICs to work in channel 48 (5240 MHz), ad-hoc mode, 80MHz channel width. For UDP traffic we get 300 Mbps bandwith but for TCP we are around 30 Mbps.

We have tried other channels with similar results.
Throughput for 20 and 40 MHz channel width are ok (20MHz: TCP 21Mbps, UDP 27Mbps, 40MHz: TCP 82Mbps, UDP 144Mbps).

Testing with iperf we have also tried different congestion windows with no or low improvements.

Below are config details and the sequence of commands we are using to configure the interface.

Any ideas on what we may be doing wrong?

Bests,

Iñaki

iw outputs:

root@sc227:/home/monet# iw wlan2 info
Interface wlan2
     ifindex 6
     wdev 0x200000001
     addr 04:f0:21:18:26:a2
     ssid SC226SC227
     type IBSS
     wiphy 2
     channel 48 (5240 MHz), width: 80 MHz, center1: 5210 MHz
root@sc227:/home/monet# iw wlan2 station dump
Station 04:f0:21:18:26:a8 (on wlan2)
     inactive time:    86 ms
     rx bytes:    467732521
     rx packets:    364249
     tx bytes:    1394558
     tx packets:    16200
     tx retries:    0
     tx failed:    0
     signal:      -51 dBm
     signal avg:    -51 dBm
     tx bitrate:    351.0 MBit/s VHT-MCS 4 80MHz VHT-NSS 2
     rx bitrate:    526.5 MBit/s VHT-MCS 4 80MHz VHT-NSS 3
     authorized:    yes
     authenticated:    yes
     preamble:    long
     WMM/WME:    yes
     MFP:        no
     TDLS peer:    no
     connected time:    3169 seconds

config commands:

ifconfig wlan2 down
iw wlan2 set type ibss
ifconfig wlan2 up
ifconfig wlan2 10.2.1.7 netmask 255.255.255.0
iw wlan2 ibss join SC226SC227 5240 80MHz

iperf:

root@sc227:/home/monet# iperf -c 10.2.1.6
------------------------------------------------------------
Client connecting to 10.2.1.6, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.7 port 48548 connected with 10.2.1.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  33.1 MBytes  27.7 Mbits/sec

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k