Kernel for A64 git
#25
So I've spent some time running tests on the Gb ethernet and am getting some odd results.  While it is possible to get 600Mbps throughput, it's also possible to get just 400:


Code:
[localhost.localdomain]/root: iperf -c 192.168.2.1 -t 300 -i 10 -P 1
------------------------------------------------------------
Client connecting to 192.168.2.1, TCP port 5001
TCP window size: 49.6 KByte (default)
------------------------------------------------------------
[  3] local 192.168.2.2 port 44710 connected with 192.168.2.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   712 MBytes   597 Mbits/sec
[  3] 10.0-20.0 sec   716 MBytes   600 Mbits/sec
[  3] 20.0-30.0 sec   716 MBytes   600 Mbits/sec
[  3] 30.0-40.0 sec   716 MBytes   600 Mbits/sec
[  3] 40.0-50.0 sec   716 MBytes   600 Mbits/sec
[  3] 50.0-60.0 sec   710 MBytes   595 Mbits/sec
...  looks okay
[localhost.localdomain]/root: ifconfig eth0 down
[localhost.localdomain]/root: ifconfig eth0 up
[localhost.localdomain]/root: ifconfig eth0 192.168.2.2
[localhost.localdomain]/root: iperf -c 192.168.2.1 -t 300 -i 10 -P 1
------------------------------------------------------------
Client connecting to 192.168.2.1, TCP port 5001
TCP window size: 90.2 KByte (default)
------------------------------------------------------------
[  3] local 192.168.2.2 port 44711 connected with 192.168.2.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   465 MBytes   390 Mbits/sec
[  3] 10.0-20.0 sec   467 MBytes   392 Mbits/sec
[  3] 20.0-30.0 sec   466 MBytes   391 Mbits/sec
[  3] 30.0-40.0 sec   467 MBytes   392 Mbits/sec
[  3] 40.0-50.0 sec   467 MBytes   392 Mbits/sec
[  3] 50.0-60.0 sec   467 MBytes   392 Mbits/sec
[  3] 60.0-70.0 sec   467 MBytes   392 Mbits/sec
[  3] 70.0-80.0 sec   467 MBytes   392 Mbits/sec
[  3] 80.0-90.0 sec   467 MBytes   392 Mbits/sec
...

Huh?  Looks like there's something in the GMAC device or the PHY that's not being set properly (resetting the eth0 device appears to power-cycle the PHY, if the LEDs are any indication).  Note that this is pretty hard to reproduce -- 9 out of 10 times the throughput doesn't change.  Also, the ethernet controller doesn't always come up in the faster mode; again, it is somewhat random but skews towards the higher-speed mode.

I was able to rule out thermal throttling here, as this test can take a couple of minutes to push the SoC's temperature to the point where the CPU speed drops to 1.1GHz, and even then, the throughput only falls to around 580Mbps.


Messages In This Thread
Kernel for A64 git - by longsleep - 02-14-2016, 03:00 AM
RE: Kernel for A64 git - by drag00n - 02-14-2016, 04:12 AM
RE: Kernel for A64 git - by longsleep - 02-14-2016, 04:28 AM
RE: Kernel for A64 git - by drag00n - 02-14-2016, 04:31 AM
RE: Kernel for A64 git - by umiddelb - 02-15-2016, 07:25 AM
RE: Kernel for A64 git - by longsleep - 02-15-2016, 11:05 AM
RE: Kernel for A64 git - by umiddelb - 02-15-2016, 12:11 PM
RE: Kernel for A64 git - by longsleep - 02-15-2016, 12:35 PM
RE: Kernel for A64 git - by longsleep - 02-21-2016, 06:47 AM
RE: Kernel for A64 git - by longsleep - 02-22-2016, 03:09 PM
RE: Kernel for A64 git - by longsleep - 02-23-2016, 02:53 PM
RE: Kernel for A64 git - by tllim - 02-23-2016, 04:28 PM
RE: Kernel for A64 git - by patrickhwood - 02-23-2016, 10:13 PM
RE: Kernel for A64 git - by longsleep - 02-24-2016, 12:36 AM
RE: Kernel for A64 git - by tllim - 02-24-2016, 06:54 PM
RE: Kernel for A64 git - by longsleep - 02-25-2016, 01:16 AM
RE: Kernel for A64 git - by umiddelb - 02-25-2016, 05:04 AM
RE: Kernel for A64 git - by patrickhwood - 02-25-2016, 10:01 AM
RE: Kernel for A64 git - by duanhongyi - 02-25-2016, 01:51 AM
RE: Kernel for A64 git - by longsleep - 02-25-2016, 06:15 AM
RE: Kernel for A64 git - by umiddelb - 02-26-2016, 02:46 AM
RE: Kernel for A64 git - by longsleep - 02-26-2016, 09:15 AM
RE: Kernel for A64 git - by longsleep - 02-28-2016, 03:36 AM
RE: Kernel for A64 git - by patrickhwood - 03-02-2016, 09:52 PM
RE: Kernel for A64 git - by patrickhwood - 03-04-2016, 11:45 AM
RE: Kernel for A64 git - by longsleep - 03-05-2016, 03:41 AM
RE: Kernel for A64 git - by longsleep - 03-06-2016, 10:36 AM
RE: Kernel for A64 git - by tllim - 03-06-2016, 10:47 AM
RE: Kernel for A64 git - by longsleep - 03-06-2016, 10:59 AM
RE: Kernel for A64 git - by longsleep - 03-12-2016, 03:14 AM
RE: Kernel for A64 git - by longsleep - 03-12-2016, 10:39 AM
RE: Kernel for A64 git - by sbhere - 03-13-2016, 09:34 PM
RE: Kernel for A64 git - by Terra854 - 03-17-2016, 09:14 PM
RE: Kernel for A64 git - by longsleep - 03-19-2016, 03:32 PM
RE: Kernel for A64 git - by tllim - 03-19-2016, 08:41 PM
RE: Kernel for A64 git - by duanhongyi - 03-23-2016, 06:27 AM
RE: Kernel for A64 git - by Andrew2 - 03-23-2016, 06:32 AM
RE: Kernel for A64 git - by janjwerner - 03-23-2016, 12:51 PM
RE: Kernel for A64 git - by falk.ben@gmail.com - 03-24-2016, 01:16 PM
RE: Kernel for A64 git - by janjwerner - 03-24-2016, 06:42 PM
RE: Kernel for A64 git - by keiothic - 03-30-2016, 03:00 PM
RE: Kernel for A64 git - by ak_hepcat - 03-30-2016, 06:18 PM
RE: Kernel for A64 git - by janjwerner - 03-30-2016, 07:47 PM
RE: Kernel for A64 git - by patrickhwood - 03-31-2016, 08:49 AM
RE: Kernel for A64 git - by longsleep - 03-31-2016, 10:42 AM
RE: Kernel for A64 git - by ak_hepcat - 03-31-2016, 11:58 AM
RE: Kernel for A64 git - by DaveKram - 04-01-2016, 07:21 AM
RE: Kernel for A64 git - by ak_hepcat - 04-01-2016, 09:54 AM
RE: Kernel for A64 git - by longsleep - 04-03-2016, 03:03 AM
RE: Kernel for A64 git - by mane - 04-07-2016, 03:08 AM
RE: Kernel for A64 git - by Terra854 - 04-08-2016, 09:26 AM
RE: Kernel for A64 git - by longsleep - 04-08-2016, 10:13 AM
RE: Kernel for A64 git - by Terra854 - 04-11-2016, 01:21 AM
RE: Kernel for A64 git - by longsleep - 04-11-2016, 12:01 PM
RE: Kernel for A64 git - by longsleep - 04-16-2016, 03:49 AM
RE: Kernel for A64 git - by tomekr - 04-16-2016, 07:11 AM
RE: Kernel for A64 git - by longsleep - 04-16-2016, 07:56 AM
RE: Kernel for A64 git - by rahlquist - 04-16-2016, 06:33 PM
RE: Kernel for A64 git - by Hart - 04-16-2016, 09:42 PM
RE: Kernel for A64 git - by peterz - 04-17-2016, 03:26 AM
RE: Kernel for A64 git - by peterz - 04-17-2016, 04:44 AM
RE: Kernel for A64 git - by thantik - 04-17-2016, 01:22 PM
RE: Kernel for A64 git - by Hart - 04-17-2016, 05:14 PM
RE: Kernel for A64 git - by Terra854 - 04-20-2016, 09:05 PM
RE: Kernel for A64 git - by jocover - 04-21-2016, 02:01 AM
RE: Kernel for A64 git - by Pirin - 04-23-2016, 09:28 AM
RE: Kernel for A64 git - by longsleep - 04-23-2016, 09:33 AM
RE: Kernel for A64 git - by Pirin - 04-23-2016, 09:50 AM
RE: Kernel for A64 git - by longsleep - 04-23-2016, 01:15 PM
RE: Kernel for A64 git - by ak_hepcat - 04-25-2016, 04:05 PM
RE: Kernel for A64 git - by insignia96 - 04-27-2016, 12:09 AM
RE: Kernel for A64 git - by ak_hepcat - 04-27-2016, 10:50 AM
RE: Kernel for A64 git - by longsleep - 05-02-2016, 01:55 PM
RE: Kernel for A64 git - by longsleep - 05-03-2016, 03:14 PM
RE: Kernel for A64 git - by tkaiser - 05-06-2016, 10:02 AM
RE: Kernel for A64 git - by longsleep - 05-06-2016, 10:47 AM
RE: Kernel for A64 git - by tkaiser - 05-06-2016, 11:16 AM
RE: Kernel for A64 git - by janjwerner - 05-06-2016, 11:21 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 01:06 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 01:14 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 04:24 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 05:40 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 05:45 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 06:08 AM
RE: Kernel for A64 git - by rahlquist - 05-07-2016, 06:20 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 06:28 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 06:37 AM
RE: Kernel for A64 git - by rahlquist - 05-07-2016, 06:54 AM
RE: Kernel for A64 git - by tllim - 05-07-2016, 11:15 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 06:48 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 06:57 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 07:03 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 07:04 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 08:13 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 09:36 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 10:54 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 08:19 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 11:26 AM
RE: Kernel for A64 git - by rhkean - 05-07-2016, 03:10 PM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 03:28 PM
RE: Kernel for A64 git - by longsleep - 05-16-2016, 02:30 PM
RE: Kernel for A64 git - by ak_hepcat - 05-19-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 05-19-2016, 12:42 PM
RE: Kernel for A64 git - by ak_hepcat - 05-19-2016, 01:25 PM
RE: Kernel for A64 git - by longsleep - 05-21-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 05-24-2016, 03:49 PM
RE: Kernel for A64 git - by longsleep - 05-26-2016, 01:44 PM
RE: Kernel for A64 git - by ak_hepcat - 05-27-2016, 12:14 PM
RE: Kernel for A64 git - by lvcargnini - 05-27-2016, 03:43 PM
RE: Kernel for A64 git - by Terra854 - 05-27-2016, 09:30 PM
RE: Kernel for A64 git - by longsleep - 06-17-2016, 02:32 PM
RE: Kernel for A64 git - by ak_hepcat - 07-05-2016, 11:57 PM
RE: Kernel for A64 git - by longsleep - 07-16-2016, 02:47 AM
RE: Kernel for A64 git - by Luxus - 07-10-2016, 02:45 AM
RE: Kernel for A64 git - by xalius - 07-10-2016, 03:22 AM
RE: Kernel for A64 git - by longsleep - 07-16-2016, 06:25 AM
RE: Kernel for A64 git - by ak_hepcat - 07-17-2016, 10:14 AM
RE: Kernel for A64 git - by scorn4society - 07-24-2016, 12:57 AM
RE: Kernel for A64 git - by longsleep - 07-24-2016, 01:02 AM
RE: Kernel for A64 git - by xalius - 07-16-2016, 12:12 PM
RE: Kernel for A64 git - by dkulinski - 07-18-2016, 07:47 PM
RE: Kernel for A64 git - by ak_hepcat - 07-20-2016, 05:37 PM
RE: Kernel for A64 git - by modsbyus - 07-24-2016, 05:08 AM
RE: Kernel for A64 git - by longsleep - 07-24-2016, 08:04 AM
RE: Kernel for A64 git - by xalius - 07-27-2016, 11:34 AM
RE: Kernel for A64 git - by longsleep - 07-27-2016, 02:36 PM
RE: Kernel for A64 git - by Drakuwa - 08-10-2016, 10:28 AM
RE: Kernel for A64 git - by longsleep - 08-10-2016, 10:34 AM
RE: Kernel for A64 git - by Drakuwa - 08-10-2016, 10:48 AM
RE: Kernel for A64 git - by longsleep - 08-20-2016, 03:52 PM
RE: Kernel for A64 git - by RaimundEge - 08-22-2016, 04:14 PM
RE: Kernel for A64 git - by longsleep - 08-22-2016, 11:38 PM
RE: Kernel for A64 git - by nSkaarup - 08-25-2016, 08:06 AM
RE: Kernel for A64 git - by Terra854 - 09-16-2016, 07:30 AM
RE: Kernel for A64 git - by ak_hepcat - 09-17-2016, 06:04 PM
RE: Kernel for A64 git - by Terra854 - 09-18-2016, 02:00 AM
RE: Kernel for A64 git - by Detritus - 09-19-2016, 04:23 AM
RE: Kernel for A64 git - by Terra854 - 09-19-2016, 07:59 AM
RE: Kernel for A64 git - by fneves - 09-27-2016, 06:12 AM
RE: Kernel for A64 git - by v.podzimek - 10-12-2016, 09:56 AM
RE: Kernel for A64 git - by longsleep - 10-12-2016, 10:01 AM
RE: Kernel for A64 git - by v.podzimek - 10-23-2016, 08:19 AM
RE: Kernel for A64 git - by longsleep - 10-23-2016, 06:52 AM
RE: Kernel for A64 git - by MarkHaysHarris777 - 10-23-2016, 08:07 AM
RE: Kernel for A64 git - by mrv - 10-23-2016, 12:49 PM
RE: Kernel for A64 git - by longsleep - 10-29-2016, 07:09 AM
RE: Kernel for A64 git - by hahn - 10-29-2016, 07:15 AM
RE: Kernel for A64 git - by tllim - 10-31-2016, 04:20 PM
RE: Kernel for A64 git - by androsch - 11-10-2016, 04:21 AM
RE: Kernel for A64 git - by ak_hepcat - 11-17-2016, 01:15 PM
RE: Kernel for A64 git - by androsch - 11-17-2016, 02:10 PM
RE: Kernel for A64 git - by androsch - 11-18-2016, 12:52 AM
RE: Kernel for A64 git - by ak_hepcat - 11-20-2016, 08:56 PM
RE: Kernel for A64 git - by androsch - 11-21-2016, 01:07 PM
RE: Kernel for A64 git - by ak_hepcat - 12-07-2016, 05:49 PM
RE: Kernel for A64 git - by waldo - 11-01-2016, 01:29 PM
RE: Kernel for A64 git - by stepw - 11-01-2016, 09:22 PM
RE: Kernel for A64 git - by marcus - 11-02-2016, 09:31 AM
RE: Kernel for A64 git - by gkkpch - 11-06-2016, 02:09 PM
RE: Kernel for A64 git - by MarkHaysHarris777 - 11-18-2016, 01:45 AM
RE: Kernel for A64 git - by benjanyan - 12-03-2016, 05:05 AM
RE: Kernel for A64 git - by pfeerick - 12-03-2016, 06:27 PM
RE: Kernel for A64 git - by longsleep - 12-16-2016, 02:57 PM
RE: Kernel for A64 git - by tllim - 12-16-2016, 07:46 PM
RE: Kernel for A64 git - by androsch - 12-17-2016, 01:42 AM
RE: Kernel for A64 git - by HenryD - 12-21-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 12-21-2016, 12:34 PM
RE: Kernel for A64 git - by default - 01-06-2017, 05:44 PM
RE: Kernel for A64 git - by mbt28 - 01-23-2017, 02:20 PM
RE: Kernel for A64 git - by mont3z - 01-26-2017, 03:47 PM
RE: Kernel for A64 git - by mbt28 - 01-27-2017, 02:33 AM
RE: Kernel for A64 git - by longsleep - 03-11-2017, 12:19 PM
RE: Kernel for A64 git - by hahn - 03-12-2017, 02:43 AM
RE: Kernel for A64 git - by chadbhowell - 03-11-2017, 08:16 PM
RE: Kernel for A64 git - by Charles - 09-05-2017, 04:57 AM
RE: Kernel for A64 git - by Miguel Campos - 03-25-2018, 03:49 AM
RE: Kernel for A64 git - by dkryder - 03-25-2018, 02:16 PM
RE: Kernel for A64 git - by Luke - 03-25-2018, 03:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PineA64+: Audio in 5.0 Kernel puzzles 6 10,097 11-13-2019, 09:41 AM
Last Post: roel
  Rockpro64 NFS root mount (kernel 4.20) - ethernet help? tenspd137 0 3,190 12-06-2018, 01:14 AM
Last Post: tenspd137
  NVMe and new kernel bjbb17 0 2,867 09-25-2018, 03:39 PM
Last Post: bjbb17
  Real-time linux kernel Artyom 45 80,594 09-11-2018, 01:08 AM
Last Post: zzwpine
  DKMS on kernel 3.10.107-pine64 obrienmd 5 9,570 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 3,882 12-09-2017, 08:14 AM
Last Post: incoherent
  [SOLVED] UEFI + Fedora Mainline Kernel Booting! cztian 0 3,605 07-13-2017, 08:38 PM
Last Post: cztian
  Mainline kernel [Solved] jeroen79 11 21,351 02-08-2017, 06:19 AM
Last Post: umiddelb
Question Need help : Issue in running compiled kernel with tftp+uboot dinesh.bhoyar 2 5,134 01-30-2017, 12:44 AM
Last Post: dinesh.bhoyar
  Jackd triggers kernel warning cztian 0 3,753 09-03-2016, 08:16 AM
Last Post: cztian

Forum Jump:


Users browsing this thread: 8 Guest(s)