From owner-freebsd-arm@freebsd.org Sat Feb 17 22:57:34 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A21DF1895A for ; Sat, 17 Feb 2018 22:57:34 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 BE8DA71A7B for ; Sat, 17 Feb 2018 22:57:33 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8AC3220D3D for ; Sat, 17 Feb 2018 17:57:27 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 17 Feb 2018 17:57:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=Bjy6JIbnxc0quZSe4ZTZQ6JMWadmI 6KL9a5kd/nFzJ8=; b=qEX4WcNCyxirXAQ2e0h5QlWxAXqiUSlIsBlDo5dm/oHxu bNn53c6aqPdxIHBFi+UtcL1C7V5Ng7Yw7vHimTe8hioH6Y47V51CPG1f2J6MwyR2 AcWOlG2H9PdxPcBEPGaNbum4H7JnEcvhn1990pnpFSTBfN1jHFUo7FtrOv7yGAsC xpRfnWVRK7jiG6lbtfEp1aZwNXOxHVAayuLvzE7iikQgra6DaBwa1pf8zkn6bJXz ++ChXzyU3Aw9wltG2DC28NBsgtV5Ul3UQXaCUOpamFYrTFnzCe58TUIh6159pdu5 98itgFPWM/SGyCKgJn6leE+uP/2YNBjdZ6VjLYpIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Bjy6JI bnxc0quZSe4ZTZQ6JMWadmI6KL9a5kd/nFzJ8=; b=nAnqIsBPYmKrC+UkhU4aMh Q9FfjCCsd2YysmBn4L7rGA+/8fJjVWSYHkxuRsv/tHHmabalDCWqlLgpSvl1A8zM 7J+H/8M/dblRDVDY/j8UcK2+i2krGM0MR3BPMWJinNcM+VNBPdA6pKUm7ETDMbBI yM7br4cZPiMgvg3mTmGYkBheZfHETcP8KYQGAW/wewmh7qnF5QWp+4V6d3qIaCiI /jUWDN8PJrG8s3s9bDvb/7fcEFIr9O05AioQZwCDBiYsdHAmDAjboe/LihsBvLDY gDXTK8PbMEgfxtlkIqNTUA17LJsgIZRqMzcC+y4w2BFIe0jupnhWKR4RQMI0rT0Q == X-ME-Sender: Received: from desktop.parsley.growveg.org (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 1303E24547 for ; Sat, 17 Feb 2018 17:57:26 -0500 (EST) Subject: Re: Pi3 out of swap at < 50% To: freebsd-arm@freebsd.org References: <20180217162732.GA93736@www.zefox.net> <1518885801.91697.2.camel@freebsd.org> From: tech-lists Message-ID: <9bf0ca6e-1916-3f4d-71fe-0515fe6a717f@zyxst.net> Date: Sat, 17 Feb 2018 22:57:25 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1518885801.91697.2.camel@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit 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: Sat, 17 Feb 2018 22:57:34 -0000 On 17/02/2018 16:43, Ian Lepore wrote: > I suspect your swap devices are too slow to keep up with instantaneous > demands.  An sdcard can easily have read and write latencies as big as > 30 seconds; they make pretty poor swap devices (have gstat running in > another window during the build to see what I mean, look at the ms/r > and ms/w columns).  USB flash drives may not be much better. I have a portable 1TB HD plugged into one of the USB ports with 2GB configured as swap.. and things like /tmp and /var/tmp are mounted on the ufs filesystem on the HD in order to reduce I/O on the sd card. Seems to work. Also have GPU memory set to 32 iirc as it's running headless. -- J.