paul- wrote: 
> If I recall, a process can flood the network too.  Perhaps that has been
> fixed in newer kernels.  How does your pi3 perform with and without the
> -b 300 setting?   When it comes to audio, 300MBit is more than
> sufficient to stream audio, which is what we are really concerned about.
For just pure streaming to players, yes, but actually I'm concerned
about any network errors due to the odd behaviour noted before, plus my
music library is stored on another machine, which will be retrieved
using SMB/TCP on GigE, and stressing the system is one of the best ways
of showing errors.

So I compared iperf on UI vs CLI on a Pi3/6.0.0:

UI:

Code:
--------------------
    
  [ WARN ] Squeezelite is running, results might be affected
  [ WARN ] Goto Main menu and stop squeezelite
  [ INFO ] Iperf running in TCP Mode.
  [ INFO ] Iperf running in Receive Mode.
  [ INFO ] Iperf will run for 20 seconds, then output will show.......
  iperf 3.6
  Linux Touch-pCP 4.19.105-pcpCore_v7 #1 SMP Sat Feb 22 00:32:02 EST 2020 armv7l
  Control connection MSS 1460
  Time: Wed, 01 Jul 2020 12:39:31 GMT
  Connecting to host 192.168.1.105, port 5201
  Reverse mode, remote host 192.168.1.105 is sending
  Cookie: xdc5lxnjjixno4h4vq6qqnu7m5nvf7hrufdc
  TCP MSS: 1460 (default)
  [  5] local 192.168.1.112 port 36136 connected to 192.168.1.105 port 5201
  Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 
seconds, 20 second test, tos 0
  [ ID] Interval           Transfer     Bitrate
  [  5]   0.00-1.00   sec  35.6 MBytes   299 Mbits/sec                  
  [  5]   1.00-2.00   sec  34.2 MBytes   287 Mbits/sec                  
  [  5]   2.00-3.00   sec  37.0 MBytes   310 Mbits/sec                  
  [  5]   3.00-4.00   sec  35.3 MBytes   296 Mbits/sec                  
  [  5]   4.00-5.00   sec  37.0 MBytes   311 Mbits/sec                  
  [  5]   5.00-6.00   sec  35.8 MBytes   300 Mbits/sec                  
  [  5]   6.00-7.00   sec  34.0 MBytes   285 Mbits/sec                  
  [  5]   7.00-8.00   sec  37.5 MBytes   314 Mbits/sec                  
  [  5]   8.00-9.00   sec  34.1 MBytes   286 Mbits/sec                  
  [  5]   9.00-10.00  sec  36.4 MBytes   306 Mbits/sec                  
  [  5]  10.00-11.00  sec  36.9 MBytes   310 Mbits/sec                  
  [  5]  11.00-12.00  sec  33.5 MBytes   281 Mbits/sec                  
  [  5]  12.00-13.00  sec  36.3 MBytes   304 Mbits/sec                  
  [  5]  13.00-14.00  sec  37.3 MBytes   313 Mbits/sec                  
  [  5]  14.00-15.00  sec  35.8 MBytes   300 Mbits/sec                  
  [  5]  15.00-16.00  sec  35.7 MBytes   299 Mbits/sec                  
  [  5]  16.00-17.00  sec  34.9 MBytes   292 Mbits/sec                  
  [  5]  17.00-18.00  sec  34.7 MBytes   291 Mbits/sec                  
  [  5]  18.00-19.00  sec  38.1 MBytes   319 Mbits/sec                  
  [  5]  19.00-20.00  sec  33.8 MBytes   283 Mbits/sec                  
  - - - - - - - - - - - - - - - - - - - - - - - - -
  Test Complete. Summary Results:
  [ ID] Interval           Transfer     Bitrate
  [  5]   0.00-20.00  sec   714 MBytes   299 Mbits/sec                  sender
  [  5]   0.00-20.00  sec   714 MBytes   299 Mbits/sec                  receiver
  CPU Utilization: local/receiver 35.5% (1.3%u/34.2%s), remote/sender 1.5% 
(0.2%u/1.4%s)
  rcv_tcp_congestion cubic
  
  iperf Done.
  
--------------------
                


CLI:

Code:
--------------------
    
  ~$ iperf3 -c 192.168.1.105
  Connecting to host 192.168.1.105, port 5201
  [  5] local 192.168.1.112 port 36140 connected to 192.168.1.105 port 5201
  [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
  [  5]   0.00-1.00   sec  34.2 MBytes   287 Mbits/sec    0    217 KBytes
  [  5]   1.00-2.00   sec  33.8 MBytes   284 Mbits/sec    0    217 KBytes
  [  5]   2.00-3.00   sec  31.9 MBytes   268 Mbits/sec    0    217 KBytes
  [  5]   3.00-4.00   sec  33.7 MBytes   282 Mbits/sec    0    217 KBytes
  [  5]   4.00-5.00   sec  33.7 MBytes   283 Mbits/sec    0    217 KBytes
  [  5]   5.00-6.00   sec  33.4 MBytes   280 Mbits/sec    0    217 KBytes
  [  5]   6.00-7.00   sec  33.9 MBytes   284 Mbits/sec    0    217 KBytes
  [  5]   7.00-8.00   sec  32.0 MBytes   268 Mbits/sec    0    217 KBytes
  [  5]   8.00-9.00   sec  33.7 MBytes   283 Mbits/sec    0    217 KBytes
  [  5]   9.00-10.00  sec  33.4 MBytes   281 Mbits/sec    0    217 KBytes
  - - - - - - - - - - - - - - - - - - - - - - - - -
  [ ID] Interval           Transfer     Bitrate         Retr
  [  5]   0.00-10.00  sec   334 MBytes   280 Mbits/sec    0             sender
  [  5]   0.00-10.00  sec   333 MBytes   280 Mbits/sec                  receiver
  
  iperf Done.
  
  
  $ iperf3 -c 192.168.1.105 -b 300M
  Connecting to host 192.168.1.105, port 5201
  [  5] local 192.168.1.112 port 36156 connected to 192.168.1.105 port 5201
  [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
  [  5]   0.00-1.00   sec  32.4 MBytes   271 Mbits/sec    0    217 KBytes
  [  5]   1.00-2.00   sec  32.5 MBytes   273 Mbits/sec    0    217 KBytes
  [  5]   2.00-3.00   sec  33.5 MBytes   281 Mbits/sec    0    217 KBytes
  [  5]   3.00-4.00   sec  33.5 MBytes   281 Mbits/sec    0    217 KBytes
  [  5]   4.00-5.00   sec  33.6 MBytes   282 Mbits/sec    0    217 KBytes
  [  5]   5.00-6.00   sec  33.8 MBytes   283 Mbits/sec    0    217 KBytes
  [  5]   6.00-7.00   sec  32.9 MBytes   276 Mbits/sec    0    217 KBytes
  [  5]   7.00-8.00   sec  33.0 MBytes   277 Mbits/sec    0    217 KBytes
  [  5]   8.00-9.00   sec  33.6 MBytes   282 Mbits/sec    0    217 KBytes
  [  5]   9.00-10.00  sec  32.1 MBytes   269 Mbits/sec    0    217 KBytes
  - - - - - - - - - - - - - - - - - - - - - - - - -
  [ ID] Interval           Transfer     Bitrate         Retr
  [  5]   0.00-10.00  sec   331 MBytes   278 Mbits/sec    0             sender
  [  5]   0.00-10.00  sec   331 MBytes   277 Mbits/sec                  receiver
  
  iperf Done.
  
  $ ifconfig -a
  eth0      Link encap:Ethernet  HWaddr B8:27:EB:CB:07:5A
  inet addr:192.168.1.112  Bcast:192.168.1.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:646145 errors:0 dropped:132 overruns:0 frame:0
  TX packets:550661 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:787982745 (751.4 MiB)  TX bytes:726794679 (693.1 MiB)
  
--------------------


------------------------------------------------------------------------
mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=112456

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to