More numbers: After setting my network on fire and burning it to the ground and rebuilding it yesterday (it wasn't a good day). I am back with a new TP-Link USB 3 adapter (the UE300, $10 on amazon) for the RPi, and some new numbers:
Iperf from my laptop connected via the TP-Link USB Eth through the RPi to my desktop...
[ 5] 39.00-40.00 sec 110 MBytes 922 Mbits/sec
[ 5] 40.00-41.00 sec 110 MBytes 922 Mbits/sec
[ 5] 41.00-42.00 sec 110 MBytes 923 Mbits/sec
[ 5] 42.00-43.00 sec 110 MBytes 919 Mbits/sec
[ 5] 43.00-44.00 sec 110 MBytes 923 Mbits/sec
[ 5] 44.00-45.00 sec 110 MBytes 924 Mbits/sec
[ 5] 45.00-46.00 sec 110 MBytes 923 Mbits/sec
[ 5] 46.00-47.00 sec 110 MBytes 919 Mbits/sec
[ 5] 47.00-48.00 sec 110 MBytes 921 Mbits/sec
[ 5] 48.00-49.00 sec 102 MBytes 859 Mbits/sec
This is with HFSC shaping !! and I am watching it do the HFSC shaping using
watch tc -s qdisc show dev eth0
And it really is shaping a gigabit...
so how much CPU is that going to require?
top - 08:07:05 up 2 days, 13:15, 1 user, load average: 0.10, 0.08, 0.02
Tasks: 116 total, 1 running, 115 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.1 us, 0.1 sy, 0.0 ni, 97.5 id, 0.0 wa, 0.0 hi, 2.3 si, 0.0 st
MiB Mem : 3906.0 total, 3259.2 free, 120.6 used, 526.2 buff/cache
MiB Swap: 100.0 total, 100.0 free, 0.0 used. 3618.5 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9 root 20 0 0 0 0 S 1.2 0.0 2:24.87 ksoftirqd/0
334 root 20 0 27656 80 0 S 0.6 0.0 0:28.83 rngd
I am rather flabbergasted...
@moeller0 how is this possible?
EDIT: I set the shaper to 900Mbps and got this:
[ 5] 16.00-17.00 sec 106 MBytes 889 Mbits/sec
[ 5] 17.00-18.00 sec 106 MBytes 890 Mbits/sec
[ 5] 18.00-19.00 sec 106 MBytes 889 Mbits/sec
[ 5] 19.00-20.00 sec 106 MBytes 889 Mbits/sec
[ 5] 20.00-21.00 sec 106 MBytes 889 Mbits/sec
[ 5] 21.00-22.00 sec 106 MBytes 889 Mbits/sec
[ 5] 22.00-23.00 sec 106 MBytes 889 Mbits/sec
[ 5] 23.00-24.00 sec 106 MBytes 889 Mbits/sec
[ 5] 24.00-25.00 sec 106 MBytes 889 Mbits/sec
[ 5] 25.00-26.00 sec 106 MBytes 889 Mbits/sec
rock solid speed, same CPU usage.