From owner-freebsd-current@freebsd.org Wed Mar 7 06:15:27 2018 Return-Path: Delivered-To: freebsd-current@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 54B46F2F97C; Wed, 7 Mar 2018 06:15:27 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 EE9A58033C; Wed, 7 Mar 2018 06:15:26 +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 052FA20DD9; Wed, 7 Mar 2018 01:15:26 -0500 (EST) Received: from web4 ([10.202.2.214]) by compute4.internal (MEProxy); Wed, 07 Mar 2018 01:15:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=U2sL02wso5H+LbA3Dv/bVTM9DbqX+LYxffds5XzKVHg=; b=mnzyhIPu gMVLlGYw2CMu1OcrOguFl0wvfhh8LUA9pXWwk4b0pTZn9RC7VAxk9XxYGxxOg9Ny wNuT3QCRHYc0xHkfMmNdEhiEHEWHZERegz39FlgK/0BOLub1RXv+hD3EVJICK0wv YU3kY8JueF6LfT60N/qa3LsmmUboZlk/iZb/ZlzE0NztyKIVs2OUDm1Twn3G7gcv vNvBGjBNh6s8iDcRWFx8vrdZbJ6RUvyxF4BkD4y2D+mUAEtwqTxCRtsN09jzIS9e 4dY1yNqp8OMb0bx4o4rlgXBUeF4uohlbUbYzoN5DxNlY7kBX3SIODTjiocpxhIzQ s2Czs7gSt6h4oQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=U2sL02wso5H+LbA3Dv/bVTM9DbqX+ LYxffds5XzKVHg=; b=e615j9CBRbvs/aIGiJxdVwjbZaXgCpyIR3ofaJqw7hYYn 4w2u1y6cTUfwIUi7fDYhharGTtvDCpWXkJQKITUiSx/1TC4VOxcmUYQ16h2YDm64 HCXPmxqIPFN+nAwbgjmwWGE7lhtKDTaX/g/UlklyspuPdp/CapAtnv8+sdCIH+5v dxz//2yYRgGTs0nuAnzKGlz1zOke4fkWh13178zKCaN20J2fahB2jyU5Sw5lhNxx xpQhWQToECMVrIMXsF+aOE+aRApjx7ru+55Dw6tuSfxl9FNHPg0yshwi4YFNSLgu JAOO1zGWX0TIA5oHBL3zeWWDoJIa+RAFwMTQTyXoQ== X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id BDF30BA43B; Wed, 7 Mar 2018 01:15:25 -0500 (EST) Message-Id: <1520403325.3513270.1294320744.0B1DE142@webmail.messagingengine.com> From: John To: freebsd-current@freebsd.org Cc: freebsd-arm@freebsd.org, freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-54087d22 Subject: best settings for usb2 and attached disks, and sdcards Date: Wed, 07 Mar 2018 06:15:25 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2018 06:15:27 -0000 Hi, [cc'd to arm@ and fs@ where it's also relevant] I have a number of rpi3 & rpi3 machines. Usually I want to attach a usb keydrive to them so that the sdcard isn't thrashed. They're all running -current. usr/src and usr/ports at least are mounted on the keydrive. When initially updating eg the ports tree, svn will time out/crash because of the poor write performance of these devices in a rpi2/3 context. The fs on the usb keys is always ufs2. I have tried mounting these devices as -o async and also in fstab but this parameter seems not to 'take' in that mount doesn't report the async property set: [...] /dev/da0p2 on /ext (ufs, local, noatime, soft-updates) [...] was mounted with the command "mount -o async,noatime,rw /dev/da0s2 /ext" but I can't tell if async is on or just ignored, no error message. And I still have to run svnlite cleanup /ext/ports until svnlite stops bailing out. When newfs was written, I passed -t to it to enable trim, which seems to make a difference on this for deletes but not writes. Can anyone please suggest anything I can so to speed up disk i/o? And is async being applied or ignored? thanks, -- John tech-lists@zyxst.net