From owner-freebsd-fs@freebsd.org Fri Aug 24 06:08:51 2018 Return-Path: Delivered-To: freebsd-fs@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 1D00F1080820 for ; Fri, 24 Aug 2018 06:08:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-23.consmr.mail.ne1.yahoo.com (sonic312-23.consmr.mail.ne1.yahoo.com [66.163.191.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95C16788F0 for ; Fri, 24 Aug 2018 06:08:50 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Ntz_0Z0VM1mg9oDZTSTTcJKV.pfPeTRZkWmwZpmTSnDnAzmIgYue0mKZ1Vhtcju Aa7UMAY2iSmzEMrfk8ZcRAyOERcwst13mGcHvwdqTE8fRLgl5ynDA7vNutLidt4mAvzum5HvZQPp tc.hLDt86bMbdiTvM6mPZJLdv2.xPLdX9aR7dM3WksZNhZSD6CC18ZDAdeddGZQ7YQCViZVTp6B2 OKkkuWiguIE8gALhlEQI8atOM40ytQ..kF1N9spvSS1hOA7f81KlRJPHNeclJkirrP.fItCx7l7P qx0Aa_nrbiaCYVugyf_YHfOBe4mAmuMv5dB7KTl1lqcteQ5wQEqok0cg0GnpDk9AfzZWEyn54bUy PH7an.6NhT5Ak3NXQQF7ybNpP1UOQSjj0eW5aAUyI7HRjX8iwd8UaksZjSM7SJv0mUd_XCWAbVnk yYoDv_SOQyylSdZwn2KE1I3El.MzeyZtBskwHFWy0M6wa1IuJTdVGA_tbbHYTdpAS2Js5s.PzYJ1 x1WYvEkKycd8GeURZzYXMoloMRr2cS5oBIbkjw5V8e6TU1qLD3QzEKX9O0JOKmQV_X5pPPXtFYrT cN9T3zHpljZdMoFCp8xxW2aTGMxbAyw1UR9W.HFMHAeJ1iPfCKZGdQvQcDSeXHCHJbpye70KAaUB wAKfZoMfOWE0lf5nLzGSK7QQvHMJ.iz1tRAOh37cekmWVbEy7gupklG6BvPlo97wyV17CSDPv8nx R3F9c1IBgpiVJOf9N4ZElAX5ByF59Tcs9ZqMpaE9qoD.hKG19rIzxS.F.9CbTPjxizPco6jd.27B SEENnkRSPyCi5MouGWG6GwcXrdxHsu_6zcLuzSda0EzM1ukvRmq7naW7VceY12bwbYTiw2sDdlnM MTjaRJqcpZ9aLpUApdYHpskbgsXhScot2ynIfmNX4YdGubU9rX1hdMI5Cxts.ste_ea92ZwVEi3u K7dtqjI0fQv6Y1eUScGEQReem9FHR9LHMNdl_SHer4b8IlGBSkF1hPJTbV_inpMyqzjLL6o38dIe owTN4NrrrRtdrBZXQnVV2p3r_gGaFfkIk_2yNRA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Fri, 24 Aug 2018 06:08:43 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp426.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c720db0d4b7270ed918f262da828e2d3; Fri, 24 Aug 2018 05:58:34 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: CFT: TRIM Consolodation on UFS/FFS filesystems From: Mark Millard In-Reply-To: <201808240504.w7O54SPJ067702@chez.mckusick.com> Date: Thu, 23 Aug 2018 22:58:32 -0700 Cc: bob prohaska , FreeBSD Filesystems Content-Transfer-Encoding: 7bit Message-Id: <392FF90D-6D90-457B-94D2-9C4A05B46309@yahoo.com> References: <201808240504.w7O54SPJ067702@chez.mckusick.com> To: Kirk McKusick X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2018 06:08:51 -0000 On 2018-Aug-23, at 10:04 PM, Kirk McKusick wrote: > So are you in a position to try out the TRIM consolidation implementation? > In particular to see if it helps? The Pine64+ 2GB that I have access to is in the middle of a poudriere-devel bulk that probably has 24 hours or more to go. That will delay anything that I might try. I normally do not have the root file system and swap partition run on a microsd card. So I do not have a history to compare against. (I'd seen reports on the lists and just avoided the issues up front.) I'm not sure of a good way to test at this point. I might just end up gstat -pd monitoring a self-hosted buildworld buildkernel or some such. Suggestions welcome. Swap partitions do not get TRIMs and swap files are greatly unreliable. (For the later see: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206048 for what I'm referring to.) So the testing would likely be just for the file system activity, with any swapping mixed in the activity. Once the poudriere-devel finishes it will take a bit to set up a microsd card environment that is modern enough to have the changes. So may be next week sometime? Hopefully the: # umount /mnt pine64# tunefs -tenable /dev/mmcsd0s2a tunefs: issue TRIM to the disk set information will enable Bob P. to be able to do some rpi3 and/or rpi2 testing. But I do not know if he has a context were he can have some microsd card(s) that he uses in an unmounted but accessible status. (I have such a context.) If FreeBSD could still boot such, I'd have tested an e.MCC on an adapter card plugged into the microsd slot. But when I took my large jump to head -r337400 I discovered that combination no longer booted. So, unless the status has changed after -r377400 when I update, I can not test the e.MMC via sdcard-slot context on the Pine64+ 2GB. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)