From owner-freebsd-arm@freebsd.org Tue Dec 8 22:15:17 2015 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 E6BAB9D45ED for ; Tue, 8 Dec 2015 22:15:17 +0000 (UTC) (envelope-from freebsd.asc@strcmp.org) Received: from olinguito.schwarzes.net (olinguito.schwarzes.net [IPv6:2a01:4f8:7d:1b5::1]) (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 881FD1140 for ; Tue, 8 Dec 2015 22:15:17 +0000 (UTC) (envelope-from freebsd.asc@strcmp.org) Received: from [62.109.78.35] (mosquito.schwarzes.net [62.109.78.35]) (authenticated bits=0) by olinguito.schwarzes.net (8.15.2/8.15.2) with ESMTPA id tB8MFEbK030802 for ; Tue, 8 Dec 2015 23:15:15 +0100 (CET) (envelope-from freebsd.asc@strcmp.org) From: Andreas Schwarz To: freebsd-arm@FreeBSD.org Mail-Reply-To: Andreas Schwarz Mail-Followup-To: freebsd-arm@FreeBSD.org Date: Tue, 08 Dec 2015 23:15:14 +0100 (CET) Message-ID: <475b25742d8.1cb61c79@mail.schwarzes.net> In-Reply-To: <5666F37C.4060908@denninger.net> References: <5666F37C.4060908@denninger.net> User-Agent: YAM/2.9p1 (MorphOS; PPC; rv:20140418r7798) Subject: Re: Updating / keeping current strategies? MIME-Version: 1.0 Content-Type: text/plain X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (olinguito.schwarzes.net [78.47.41.143]); Tue, 08 Dec 2015 23:15:15 +0100 (CET) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2015 22:15:18 -0000 On 08.12.15, Karl Denninger wrote: > What are people doing in this regard with devices like the Raspberry Pi2? > > Build times for a "make buildworld" are measured in (many) hours to a > day or more and require a USB-attached disk for temporary storage, as > the ramdisk for /tmp that is typically mounted blows up due to lack of > space and SD cards are slow enough on writes (especially small writes) > as to make the process virtually impossible. But even with a > USB-attached disk the process is ridiculous in terms of consumed > walllclock time. I'm building the world directly at my RPI2 without problems. Did this already with my former RPI and I'm not using an extra USB Disk. Building the toolchain takes ~300, kernel ~50 and world ~800 minutes. I'm using a 1 GB swap partition and tmpfs (not md) for /tmp and /var/tmp, no problem so far. root@pizelot:~ # swapinfo Device 1K-blocks Used Avail Capacity /dev/mmcsd0s2b 1048576 9548 1039028 1% root@pizelot:~ # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/mmcsd0s2a 1015324 63940 870160 7% / devfs 1 1 0 100% /dev /dev/mmcsd0s2d 8106716 3897656 3560524 52% /usr /dev/mmcsd0s2e 8106716 163200 7294980 2% /var /dev/mmcsd0s2f 8106716 16 7458164 0% /home tmpfs 1224992 40 1224952 0% /tmp tmpfs 1224956 4 1224952 0% /var/tmp -asc