Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2018 16:19:39 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        Ian Lepore <ian@freebsd.org>
Cc:        Andreas Schwarz <freebsd.asc@strcmp.org>, Freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Times to build just devel/llvm50 via poudriere-devel: Pine64+ 2GB, RPi3, RPi2 V1.1
Message-ID:  <4877B065-798C-420C-80C2-D84AEC148243@dsl-only.net>
In-Reply-To: <1515109584.1759.32.camel@freebsd.org>
References:  <65D7B16B-E3D7-40F2-BE60-0EE5E5B26B31@dsl-only.net> <4b428a608dd.290862fc@mail.schwarzes.net> <1515109584.1759.32.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 2018-Jan-4, at 3:46 PM, Ian Lepore <ian at freebsd.org> wrote:

> On Fri, 2018-01-05 at 00:40 +0100, Andreas Schwarz wrote:
>> On 04.01.18, Mark Millard wrote:
>> 
>>> 
>>> eMCC performance notes:
>>> The rpi3 can get between 10 MiByte/s and
>>> 12 MiByte/s, while the Pine64+ 2GB can get
>>> between 5 MiBytes/s and 6 MiBytes/s, from
>>> what I have observed.
>> Unfortunatly the DiskIO (to SD Card) of the Pine64 is very slow 
>> in comparsion to RPI2B (or RPI3).
>> 
>> root@rpi2b:~ # dd if=/dev/zero of=/var/zero.img bs=1m count=1024
>> 1024+0 records in
>> 1024+0 records out
>> 1073741824 bytes transferred in 80.823823 secs (13284967 bytes/sec)
>> 
>> root@pine64plus:~ # dd if=/dev/zero of=/var/zero.img bs=1m count=1024
>> 1024+0 records in
>> 1024+0 records out
>> 1073741824 bytes transferred in 383.600722 secs (2799113 bytes/sec)
>> 
>> Both devices running r327391 with without any debugging, INVARIANTS, 
>> etc.. Used SD Cards: Samsung MB-MGBGB SDHC 32GB
>> 
>> Mark, can you perform the write test with your eMMC to MicroSD 
>> Adapter?
>> 
>> -asc
> 
> It used to be that clang used files in /tmp to pass results between
> stages of the compile whereas gcc used pipes.  I'm not sure if that's
> still true, but if it is, then using tmpfs for /tmp should improve
> compile times and remove much of the sdcard performance impact.

Could well be. The Pine64+ 2GB does use the
swap space some in building cmake and/or
devel/llvm50 --without such extra RAM use
involved. (I no longer have the figures
around.) There might be more swapping if
some form of tmpfs is used.

When I instead boot the Pine64+ 2GB with a
USB SSD stick on a powered hub, the I/O is
not as constrained. (But it is more
equipment to deal with.)



===
Mark Millard
markmi at dsl-only.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4877B065-798C-420C-80C2-D84AEC148243>