From owner-freebsd-arm@freebsd.org Fri Jan 5 00:19:42 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AECE9EC2C65 for ; Fri, 5 Jan 2018 00:19:42 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-134.reflexion.net [208.70.210.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5EC0B68C6A for ; Fri, 5 Jan 2018 00:19:41 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 13388 invoked from network); 5 Jan 2018 00:19:40 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 5 Jan 2018 00:19:40 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Thu, 04 Jan 2018 19:19:40 -0500 (EST) Received: (qmail 574 invoked from network); 5 Jan 2018 00:19:40 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 5 Jan 2018 00:19:40 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id BD595EC7A6E; Thu, 4 Jan 2018 16:19:39 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Times to build just devel/llvm50 via poudriere-devel: Pine64+ 2GB, RPi3, RPi2 V1.1 From: Mark Millard In-Reply-To: <1515109584.1759.32.camel@freebsd.org> Date: Thu, 4 Jan 2018 16:19:39 -0800 Cc: Andreas Schwarz , Freebsd-arm Content-Transfer-Encoding: 7bit Message-Id: <4877B065-798C-420C-80C2-D84AEC148243@dsl-only.net> References: <65D7B16B-E3D7-40F2-BE60-0EE5E5B26B31@dsl-only.net> <4b428a608dd.290862fc@mail.schwarzes.net> <1515109584.1759.32.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 00:19:42 -0000 On 2018-Jan-4, at 3:46 PM, Ian Lepore 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