09-14-2016, 10:06 AM
(09-14-2016, 09:36 AM)tkaiser Wrote:(09-13-2016, 11:16 AM)amc2012 Wrote: Any inference that the onboard GbE would be worse that what I'm getting on GbE over USB I'd imagine have to be incorrect, so while I understand I won't get *full* typical GbE speeds once the onboard port is working, I am looking forward to the significant boost over Fast Ethernet. It's the whole reason I was a backer of this project.
Why shouldn't you get 'full' typical GbE speeds? With longsleep's original Xenial image or Armbian and without any tuning you get already above 900 MBits/sec using synthetic CPU bound benchmarks (but unfortunately you can forget about those numbers when using most 'featured' OS images from pine64.pro or the wiki since they use wrong settings). When tuning for more throughput (which is not always desirable, sometimes you want to tune for lower latency) you will reach the typical 940 Mbits/sec barrier.
Oh, I don't know, because someone on this forum said that due to bus speeds or something on these small board computers that I shouldn't expect to get GbE speeds and that Fast Ethernet is pretty close to the max I can expect? I guess that's not true?
tkaiser Wrote:On the other hand USB throughput is rather limited, with good settings and BSP kernel you might get 35 MB/s, with mainline kernel and UASP capable disk enclosures you might get close to 40 MB/s. I already prepared a test with RAID-0 and two rather fast SSDs to demonstrate that with modern filesystems (btrfs on Linux and ZFS on FreeBSD) we're able to push the envelope and max out onboard Gigabit Ethernet on the Pine64+ in NAS mode. Jared McNeill who did the FreeBSD port for Pine64 discovered that we can turn the upper USB port normally being an USB OTG port into a full USB host port using an own USB PHY. Linux mainline kernel guys (in this case a girl ) will implement exactly that too.
With the stock PINE images, I was getting around 30MB/s FROM the PINE over the USB GbE and about 9-10MB/s TO the PINE. Moving to Armbian netted about 33MB/s down and an improvement to about 18MB/s up.
On my home network, other machines can get around 90MB/s, sometimes a little more when transferring from NAS to machine.
tkaiser Wrote:So when using modern filesystems with transparent file compression (a reasonable setting on Pine64+ since there's enough CPU horsepower available to trade in some CPU cycles for smaller filesizes and also higher IO throughput at the same time!) I'm pretty confident we'll be able to use Pine64+ as NAS with client-server performance close to or even exceeding 80 MB/s (through the network, including disk access).
I'd be totally jazzed to see those kinds of speeds on my PINE.