LAN/NIC problem
(09-16-2016, 12:34 AM)MarkHaysHarris777 Wrote: The ubuntu image running on the good board easily gets double the speed numbers up into the low to mid 800(s) while the debian image on the same board rarely gets above the mid 400(s).

Well, IMHO it's kinda useless to talk about 'the' ubuntu image since there are a few in the wild. Let's take Ubuntu/Xenial for example:
  • longsleep's original based on kernel 3.10.102
  • Something called 'Ubuntu Base Longsleep (3.10.65 BSP)' (available from pine64.pro -- if this is really still based on old, ugly and outdated 3.10.65 then that's just another reason to immediately shut the pine64.pro site down)
  • Something called 'Ubuntu Linux Image [20160530] based on Longsleep build, updated by Pine64' (no idea which kernel version and settings are used here)
  • Armbian / Xenial based on kernel 4.7
  • Armbian / Xenial based on kernel 3.10.102

The first and the last one should perform nearly identical (longsleep boots AFAIK with performance governor set while we use interactive instead so his image might win the boot race by 0.2 seconds but then both images switch to interactive by default anyway Wink

What the other images do in between is unknown (depends on kernel version and settings). And performance might vary for absolutely unrelated reasons. As already said when 'ondemand' governor is used the kernel might not get it that network activity needs an increase in CPU clockspeeds (in Allwinner BSP kernels you would have to set a few other tweaks to get reliable behaviour but since ondemand is broken anyway simply switching to interactive is the better idea).

That means it might happen that someone with a distro relying on ondemand might get worse results with a headless distro (no GUI running) since an image with a desktop environment might generate more background activity, then the kernel increases clockspeeds and the network activity added on top will then lead to CPU cores running at 1152 MHz in the end. That's why I said it's necessary to always monitor in parallel (htop and longsleep's health script is enough!). And by looking at htop output it's pretty easy to understand why low network throughput seems to occur at low CPU clockspeeds. Since the iperf/iperf3 thread is maxing out one CPU core with 100%. By using monitoring the problem gets immediately visible (and the problem is the tool in question being CPU bound, not the network).

Another note: When I did some testing for longsleep back in April to improve DVI support I used exactly one time an Ubuntu image from pine64 wiki. This was configured to run default Ubuntu screensavers after 10 minutes of inactivity. So CPU activity increased from 2% to 400% 10 minutes after each reboot. Testing then with iperf led to a dramatic decrease in numbers but since monitoring is mandatory it was quite easy to get the reason for this (an OS image thrown together without care -- those silly 3D screensavers should only run on systems where GPU acceleration is available which is not the case for most SBC)

Regarding your Thinkpad. It seems it's ok when you get above 800 Mbits/sec against it but I was involved in an incident a few years ago where the customer's network staff used Thinkpads for iperf tests (they had poor performance through cascaded Cisco switches due to wrong algorithm used for the EtherChannels and wrong QoS settings) and the one they used invalidated all results since it acted as a bottleneck. Only after exchanging it with something better the network staff could be convinced that their switch config was the problem (the 'database boy' as you called me is doing network/storage performance optimization for a living)
  Reply


Messages In This Thread
LAN/NIC problem - by xrez - 04-28-2016, 04:17 PM
RE: LAN/NIC problem - by wanthalf - 08-05-2016, 04:07 PM
RE: LAN/NIC problem - by waldo - 08-05-2016, 06:51 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-05-2016, 10:09 PM
RE: LAN/NIC problem - by wanthalf - 08-06-2016, 04:21 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-06-2016, 05:11 PM
RE: LAN/NIC problem - by wanthalf - 08-08-2016, 02:52 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-09-2016, 12:30 PM
RE: LAN/NIC problem - by wanthalf - 08-09-2016, 04:46 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-09-2016, 05:04 PM
RE: LAN/NIC problem - by pfeerick - 08-29-2016, 10:54 PM
RE: LAN/NIC problem - by jandvs - 08-29-2016, 10:26 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-29-2016, 10:49 PM
RE: LAN/NIC problem - by jandvs - 08-31-2016, 06:03 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-31-2016, 08:14 PM
RE: LAN/NIC problem - by jandvs - 08-31-2016, 08:49 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-31-2016, 09:15 PM
RE: LAN/NIC problem - by tkaiser - 09-01-2016, 12:24 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-01-2016, 05:16 AM
RE: LAN/NIC problem - by pfeerick - 09-01-2016, 06:05 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-01-2016, 07:28 AM
RE: LAN/NIC problem - by amc2012 - 09-01-2016, 08:45 AM
RE: LAN/NIC problem - by jandvs - 09-01-2016, 09:21 AM
RE: LAN/NIC problem - by tkaiser - 09-01-2016, 05:29 AM
RE: LAN/NIC problem - by jandvs - 09-01-2016, 07:28 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-01-2016, 07:32 AM
RE: LAN/NIC problem - by cdslashetc - 09-01-2016, 05:54 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-01-2016, 06:01 PM
RE: LAN/NIC problem - by amc2012 - 09-02-2016, 12:25 AM
RE: LAN/NIC problem - by cdslashetc - 09-04-2016, 04:33 AM
RE: LAN/NIC problem - by jandvs - 09-02-2016, 07:37 AM
RE: LAN/NIC problem - by amc2012 - 09-02-2016, 08:23 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-02-2016, 08:35 AM
RE: LAN/NIC problem - by longsleep - 09-02-2016, 09:03 AM
RE: LAN/NIC problem - by amc2012 - 09-02-2016, 10:21 AM
RE: LAN/NIC problem - by jandvs - 09-02-2016, 11:29 AM
RE: LAN/NIC problem - by longsleep - 09-02-2016, 12:41 PM
RE: LAN/NIC problem - by cdslashetc - 09-02-2016, 01:32 PM
RE: LAN/NIC problem - by jandvs - 09-03-2016, 10:23 AM
RE: LAN/NIC problem - by jandvs - 09-06-2016, 06:57 AM
RE: LAN/NIC problem - by jandvs - 09-06-2016, 03:18 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-06-2016, 03:36 PM
RE: LAN/NIC problem - by jandvs - 09-07-2016, 12:53 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-07-2016, 01:36 PM
RE: LAN/NIC problem - by androsch - 09-07-2016, 02:36 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-07-2016, 03:54 PM
RE: LAN/NIC problem - by jandvs - 09-08-2016, 08:38 AM
RE: LAN/NIC problem - by androsch - 09-08-2016, 11:11 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-08-2016, 11:41 AM
RE: LAN/NIC problem - by pfeerick - 09-08-2016, 09:33 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-09-2016, 05:42 AM
RE: LAN/NIC problem - by waldo - 09-09-2016, 05:56 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-09-2016, 06:06 AM
RE: LAN/NIC problem - by jandvs - 09-08-2016, 01:40 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-08-2016, 02:24 PM
RE: LAN/NIC problem - by tllim - 09-08-2016, 08:24 PM
RE: LAN/NIC problem - by clarkss12 - 09-09-2016, 05:41 PM
RE: LAN/NIC problem - by clarkss12 - 09-09-2016, 09:19 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-10-2016, 09:07 AM
RE: LAN/NIC problem - by waldo - 09-10-2016, 11:39 AM
RE: LAN/NIC problem - by clarkss12 - 09-10-2016, 01:07 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-10-2016, 01:15 PM
RE: LAN/NIC problem - by clarkss12 - 09-10-2016, 05:00 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-10-2016, 05:04 PM
RE: LAN/NIC problem - by clarkss12 - 09-11-2016, 07:28 AM
RE: LAN/NIC problem - by cdslashetc - 09-11-2016, 08:05 AM
RE: LAN/NIC problem - by clarkss12 - 09-11-2016, 09:25 AM
RE: LAN/NIC problem - by clarkss12 - 09-11-2016, 10:47 AM
RE: LAN/NIC problem - by jandvs - 09-12-2016, 10:47 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-12-2016, 10:57 AM
RE: LAN/NIC problem - by tkaiser - 09-12-2016, 11:30 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-12-2016, 09:16 PM
RE: LAN/NIC problem - by jandvs - 09-14-2016, 08:42 AM
RE: LAN/NIC problem - by clarkss12 - 09-12-2016, 01:30 PM
RE: LAN/NIC problem - by tkaiser - 09-12-2016, 02:04 PM
RE: LAN/NIC problem - by clarkss12 - 09-12-2016, 02:24 PM
RE: LAN/NIC problem - by tkaiser - 09-12-2016, 02:36 PM
RE: LAN/NIC problem - by clarkss12 - 09-12-2016, 02:46 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-12-2016, 05:25 PM
RE: LAN/NIC problem - by clarkss12 - 09-12-2016, 07:00 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-12-2016, 07:04 PM
RE: LAN/NIC problem - by amc2012 - 09-12-2016, 07:12 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-12-2016, 07:29 PM
RE: LAN/NIC problem - by tkaiser - 09-13-2016, 12:17 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 12:24 AM
RE: LAN/NIC problem - by amc2012 - 09-13-2016, 12:37 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 12:43 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 01:44 AM
RE: LAN/NIC problem - by tllim - 09-13-2016, 09:42 AM
RE: LAN/NIC problem - by amc2012 - 09-13-2016, 09:44 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 10:00 AM
RE: LAN/NIC problem - by pfeerick - 09-13-2016, 07:00 PM
RE: LAN/NIC problem - by tkaiser - 09-13-2016, 10:22 AM
RE: LAN/NIC problem - by waldo - 09-13-2016, 10:44 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 10:48 AM
RE: LAN/NIC problem - by tkaiser - 09-13-2016, 10:56 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 11:08 AM
RE: LAN/NIC problem - by tllim - 09-13-2016, 06:11 PM
RE: LAN/NIC problem - by amc2012 - 09-13-2016, 11:16 AM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 09:36 AM
RE: LAN/NIC problem - by amc2012 - 09-14-2016, 10:06 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-14-2016, 10:18 AM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 10:37 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-14-2016, 08:15 PM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 01:39 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-15-2016, 01:48 AM
RE: LAN/NIC problem - by jandvs - 09-15-2016, 07:16 AM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 08:26 AM
RE: LAN/NIC problem - by tllim - 09-14-2016, 05:31 PM
RE: LAN/NIC problem - by DonFL - 09-13-2016, 10:08 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 10:15 AM
RE: LAN/NIC problem - by tkaiser - 09-13-2016, 10:43 AM
RE: LAN/NIC problem - by tllim - 09-13-2016, 05:52 PM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 07:17 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 10:33 AM
RE: LAN/NIC problem - by martinayotte - 09-13-2016, 10:52 AM
RE: LAN/NIC problem - by tllim - 09-13-2016, 06:04 PM
RE: LAN/NIC problem - by clarkss12 - 09-13-2016, 01:47 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 03:40 PM
RE: LAN/NIC problem - by tllim - 09-13-2016, 06:06 PM
RE: LAN/NIC problem - by stepw - 09-14-2016, 06:45 PM
RE: LAN/NIC problem - by tkaiser - 09-13-2016, 05:31 PM
RE: LAN/NIC problem - by waldo - 09-13-2016, 05:38 PM
RE: LAN/NIC problem - by cdslashetc - 09-14-2016, 08:14 AM
RE: LAN/NIC problem - by androsch - 09-14-2016, 10:22 AM
RE: LAN/NIC problem - by cdslashetc - 09-14-2016, 10:44 AM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 12:11 PM
RE: LAN/NIC problem - by amc2012 - 09-14-2016, 12:48 PM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 03:36 PM
RE: LAN/NIC problem - by waldo - 09-14-2016, 04:34 PM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 04:49 PM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 12:01 AM
RE: LAN/NIC problem - by pfeerick - 09-15-2016, 12:58 AM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 01:49 AM
RE: LAN/NIC problem - by pfeerick - 09-15-2016, 02:23 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-15-2016, 01:31 AM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 06:38 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-15-2016, 02:48 PM
RE: LAN/NIC problem - by amc2012 - 09-15-2016, 03:46 PM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 04:36 PM
RE: LAN/NIC problem - by pfeerick - 09-15-2016, 07:18 PM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 11:49 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-16-2016, 12:34 AM
RE: LAN/NIC problem - by tkaiser - 09-16-2016, 01:21 AM
RE: LAN/NIC problem - by amc2012 - 09-16-2016, 08:29 AM
RE: LAN/NIC problem - by tkaiser - 09-16-2016, 09:48 AM
RE: LAN/NIC problem - by amc2012 - 09-16-2016, 10:00 AM
RE: LAN/NIC problem - by tkaiser - 09-16-2016, 10:44 AM
RE: LAN/NIC problem - by pfeerick - 09-17-2016, 03:36 AM
RE: LAN/NIC problem - by tkaiser - 09-17-2016, 05:27 AM
RE: LAN/NIC problem - by stepw - 09-18-2016, 09:16 PM
RE: LAN/NIC problem - by tkaiser - 09-18-2016, 11:11 PM
RE: LAN/NIC problem - by tkaiser - 09-19-2016, 08:53 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 04:50 AM
RE: LAN/NIC problem - by Terra854 - 09-20-2016, 04:55 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 05:13 AM
RE: LAN/NIC problem - by tkaiser - 09-20-2016, 05:17 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 06:05 AM
RE: LAN/NIC problem - by tkaiser - 09-20-2016, 07:11 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 07:23 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-20-2016, 07:37 AM
RE: LAN/NIC problem - by tkaiser - 09-20-2016, 08:10 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 07:43 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 08:25 AM
RE: LAN/NIC problem - by amc2012 - 09-20-2016, 03:22 PM
RE: LAN/NIC problem - by tkaiser - 09-20-2016, 03:49 PM
RE: LAN/NIC problem - by tkaiser - 09-20-2016, 08:35 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 08:51 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 04:57 PM
RE: LAN/NIC problem - by tkaiser - 09-21-2016, 12:55 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-21-2016, 01:29 AM
RE: LAN/NIC problem - by kflorek46 - 09-21-2016, 05:02 PM
RE: LAN/NIC problem - by tkaiser - 09-22-2016, 12:52 AM
RE: LAN/NIC problem - by waldo - 09-26-2016, 02:58 PM
RE: LAN/NIC problem - by tllim - 09-27-2016, 07:56 PM
RE: LAN/NIC problem - by waldo - 09-28-2016, 01:59 PM
RE: LAN/NIC problem - by amc2012 - 09-29-2016, 03:17 PM
RE: LAN/NIC problem - by waldo - 09-29-2016, 03:33 PM
RE: LAN/NIC problem - by stepw - 09-29-2016, 07:39 PM
RE: LAN/NIC problem - by amc2012 - 09-29-2016, 08:31 PM
RE: LAN/NIC problem - by waldo - 09-30-2016, 09:41 AM
RE: LAN/NIC problem - by jandvs - 10-05-2016, 04:48 PM
RE: LAN/NIC problem - by amc2012 - 10-05-2016, 05:13 PM
RE: LAN/NIC problem - by jandvs - 10-05-2016, 08:27 PM
RE: LAN/NIC problem - by pfeerick - 10-05-2016, 11:17 PM
RE: LAN/NIC problem - by androsch - 10-06-2016, 05:41 AM
RE: LAN/NIC problem - by waldo - 10-27-2016, 11:32 AM
RE: LAN/NIC problem - by tllim - 10-31-2016, 04:28 PM
LAN/NIC problem - by androsch - 11-01-2016, 05:45 AM
RE: LAN/NIC problem - by stepw - 11-01-2016, 09:16 PM
RE: LAN/NIC problem - by tllim - 11-02-2016, 04:43 PM
RE: LAN/NIC problem - by waldo - 11-02-2016, 10:45 AM
RE: LAN/NIC problem - by tllim - 11-02-2016, 05:10 PM
RE: LAN/NIC problem - by tllim - 11-02-2016, 05:12 PM
RE: LAN/NIC problem - by umiddelb - 11-03-2016, 01:43 AM
RE: LAN/NIC problem - by waldo - 11-03-2016, 10:43 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 11-06-2016, 06:35 AM
RE: LAN/NIC problem - by dkryder - 11-07-2016, 12:23 AM
RE: LAN/NIC problem - by pfeerick - 11-10-2016, 07:46 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 11-10-2016, 08:57 PM
RE: LAN/NIC problem - by seaniefs - 11-06-2016, 04:49 AM
RE: LAN/NIC problem - by seaniefs - 11-06-2016, 11:44 AM
RE: LAN/NIC problem - by stepw - 11-06-2016, 08:24 PM
RE: LAN/NIC problem - by tllim - 11-06-2016, 09:30 PM
RE: LAN/NIC problem - by Learnincurve - 12-16-2016, 06:32 AM
RE: LAN/NIC problem - by tllim - 12-16-2016, 09:05 PM
RE: LAN/NIC problem - by androsch - 12-17-2016, 01:39 PM
RE: LAN/NIC problem - by DrunkTank - 01-17-2017, 01:55 PM
RE: LAN/NIC problem - by DrunkTank - 01-18-2017, 07:57 PM
RE: LAN/NIC problem - by tllim - 01-20-2017, 02:45 PM
RE: LAN/NIC problem - by DrunkTank - 01-20-2017, 03:31 PM
RE: LAN/NIC problem - by Er0l - 12-20-2016, 01:47 PM
RE: LAN/NIC problem - by HenryD - 12-28-2016, 11:34 AM
RE: LAN/NIC problem - by aegrotatio - 01-03-2017, 10:26 PM
RE: LAN/NIC problem - by ealltech - 02-28-2017, 12:36 AM
RE: LAN/NIC problem - by ubuntuGuy - 06-15-2017, 06:04 PM
RE: LAN/NIC problem - by pfeerick - 06-16-2017, 02:04 AM
RE: LAN/NIC problem - by ubuntuGuy - 06-18-2017, 03:36 PM

Forum Jump:


Users browsing this thread: 92 Guest(s)