On Mon, May 04, 2015 at 04:03:01PM +0300, Mikhail wrote:
> Hello, yes, this change, maybe harmless, but not accurate. I inline new
> patch against head with this change incorporated and with fix for USB
> aggregation mode, which Kevin has pushed into FreeBSD[1] to fix
> performance issues.
>
> [1] - https://svnweb.freebsd.org/base?view=revision&revision=282266
Thanks Mikhail.
Unfortunately, this patch doesn't still fix the performance problem
for me. How are you testing performance? I'm using tcpbench(1).
With your latest patch, on my 8188EU device:
urtwn0 at uhub2 port 2 "Realtek 802.11n NIC" rev 2.00/0.00 addr 4
urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R, address c4:6e:1f:26:af:de
tcpbench across the wireless to another openbsd box on my LAN which
runs tcpbench -s gives numbers like:
elapsed_ms bytes mbps bwidth
Conn: 1 Mbps: 0.385 Peak Mbps: 0.413 Avg Mbps: 0.385
10076 48552 0.382 100.00%
Conn: 1 Mbps: 0.382 Peak Mbps: 0.413 Avg Mbps: 0.382
11086 48552 0.385 100.00%
Conn: 1 Mbps: 0.385 Peak Mbps: 0.413 Avg Mbps: 0.385
12096 47124 0.374 100.00%
Conn: 1 Mbps: 0.374 Peak Mbps: 0.413 Avg Mbps: 0.374
13105 44268 0.351 100.00%
Conn: 1 Mbps: 0.351 Peak Mbps: 0.413 Avg Mbps: 0.351
14116 45696 0.362 100.00%
Conn: 1 Mbps: 0.362 Peak Mbps: 0.413 Avg Mbps: 0.362
Mbps never goes above 0.5.
Downloading snapshots/i386/install57.fs directly from my access point
takes more than 20 minutes.
This device:
urtwn0 at uhub2 port 2 "Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 4
urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 08:86:3b:6a:19:4b
gives me the following numbers (nothing else changed besides urtwn device):
elapsed_ms bytes mbps bwidth
Conn: 1 Mbps: 3.351 Peak Mbps: 3.351 Avg Mbps: 3.351
2013 431504 3.452 100.00%
Conn: 1 Mbps: 3.452 Peak Mbps: 3.452 Avg Mbps: 3.452
3023 503904 3.995 100.00%
Conn: 1 Mbps: 3.995 Peak Mbps: 3.995 Avg Mbps: 3.995
4033 516936 4.099 100.00%
Conn: 1 Mbps: 4.099 Peak Mbps: 4.099 Avg Mbps: 4.099
5043 493768 3.911 100.00%
Conn: 1 Mbps: 3.911 Peak Mbps: 4.099 Avg Mbps: 3.911
6044 490872 3.923 100.00%
Conn: 1 Mbps: 3.923 Peak Mbps: 4.099 Avg Mbps: 3.923
7053 469152 3.723 100.00%
Conn: 1 Mbps: 3.723 Peak Mbps: 4.099 Avg Mbps: 3.723
8053 482184 3.857 100.00%
Conn: 1 Mbps: 3.857 Peak Mbps: 4.099 Avg Mbps: 3.857
9053 540104 4.321 100.00%
Conn: 1 Mbps: 4.321 Peak Mbps: 4.321 Avg Mbps: 4.321
10063 476392 3.777 100.00%
Conn: 1 Mbps: 3.777 Peak Mbps: 4.321 Avg Mbps: 3.777
11063 464808 3.718 100.00%
Conn: 1 Mbps: 3.718 Peak Mbps: 4.321 Avg Mbps: 3.718
Downloading snapshots/i386/install57.fs directly from my access point takes
about 8 minutes.
Does FreeBSD have the same issue?