From owner-freebsd-arm@freebsd.org Thu Aug 9 15:04: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 2EA431069AB1 for ; Thu, 9 Aug 2018 15:04:34 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CFD4795E8 for ; Thu, 9 Aug 2018 15:04:33 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-pf1-x433.google.com with SMTP id p12-v6so2991191pfh.2 for ; Thu, 09 Aug 2018 08:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=m2GJjX16ucthUCPE6scBa3aCTlj18xkaOJsleIm7R7c=; b=JJy44qRDJVFHfebYZo1vEe5SPlADwTfNAayp6KIt9i3rSraVDm8/KCgEeQI3AqmZJP NAipcZUSNoyoN9uYrdrpkgqfjkvHscnAWZ+tUJ1iQ7SKBNVV6TE33BREYgz1Ptfxv0b+ qcem+4DYllbdtBWnVFB9Ei4Qc41lbywGufDwWluzfeq0ntl4MMmVya3QDw30Ve4FXoHd SZq2dTKcjAu5yC20MOU79KfCu4AgpE0SLg/C5PnGD1sQO/64ui0E1iZidQiVpVE4novG XhLFadfvvj3hS9z2Zd5Hsppmg2a1sJCBONU2uhhmt5KpDRfEO69s5AZeW9lZfZ7kpg0A 0jPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=m2GJjX16ucthUCPE6scBa3aCTlj18xkaOJsleIm7R7c=; b=iPEpyKjzzObtZ5/ua/4D3GxMpw8vUcO04i8n9MsUiPqDtepnWQUSFcCPDqet/adu48 jFoFPaKkQlo4I2ns4awSyCu9G54BNl1JT5iMuuo98K9IOgjiRhSJ2/0xXSb4q5pnRXeU 1HoFHb5qZs0DCYY7yQP8BnNkIFLBx9Pss3uHrAjeoJ+1j3fT/T1ESWIunQ47gvZWyIPg 1xkHlSo1ZrHYq8sBmhTyjSoq0ZaclBpFdn1avMDPo71QFhFMFq/mMjLEi7VKRpbm3gTC 7McJ12Ix+eE4TeXsmZ9VkVSrZivV3AT7H07lBfdOb2zQybsM1vJOjnf6PfcCKHw+9xqy 2pOg== X-Gm-Message-State: AOUpUlEp4SKbN/nowx4AgUckvMsFE08tH4N3FSjjYG4FDzLZtwBLEFLm sCwr6FRJ98jjzcQU/0t3Ec0wiv7e X-Google-Smtp-Source: AA+uWPyw3X9BRpb+ZE7HCIXFCjSA1OHUN2UKPJutO5FH2Oqk5A2VeA6VjmPfd9++Y2AU6O/FO85nSA== X-Received: by 2002:a62:c819:: with SMTP id z25-v6mr2773393pff.44.1533827072554; Thu, 09 Aug 2018 08:04:32 -0700 (PDT) Received: from raichu (toroon0560w-lp130-09-70-52-224-239.dsl.bell.ca. [70.52.224.239]) by smtp.gmail.com with ESMTPSA id i1-v6sm11230295pgj.38.2018.08.09.08.04.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Aug 2018 08:04:31 -0700 (PDT) Sender: Mark Johnston Date: Thu, 9 Aug 2018 11:04:28 -0400 From: Mark Johnston To: bob prohaska Cc: Warner Losh , "freebsd-arm@freebsd.org" Subject: Re: RPI3 swap experiments ["was killed: out of swap space" with: "v_free_count: 5439, v_inactive_count: 1"] Message-ID: <20180809150428.GB68459@raichu> References: <20180801034511.GA96616@www.zefox.net> <201808010405.w7145RS6086730@donotpassgo.dyslexicfish.net> <6BFE7B77-A0E2-4FAF-9C68-81951D2F6627@yahoo.com> <20180802002841.GB99523@www.zefox.net> <20180802015135.GC99523@www.zefox.net> <20180806155837.GA6277@raichu> <20180808214224.GA29312@www.zefox.net> <20180809064210.GA30347@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180809064210.GA30347@www.zefox.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2018 15:04:34 -0000 On Wed, Aug 08, 2018 at 11:42:10PM -0700, bob prohaska wrote: > On Wed, Aug 08, 2018 at 03:55:52PM -0600, Warner Losh wrote: > > > > With the da driver there's some hope. Add options IOSCHED to the kernel > > config file and reboot. This will give you some detailed statistics, as > > well as power-of-two bucketized latency histograms. It may even be a vector > > forward to slow the writes / trims down, though there's some issues when > > you slow writes down TOO much, it helps *A*LOT* keep the system responsive. > > We do that at work to make our consumer SSDs not suck for serving content > > (reading) while we're doing some writes to them... The thumb drives are > > like the consumer SSDs we buy, only crappier... > > > I tried adding > options IOSCHED > to the arm64 GENERIC kernel config at the end of the debugging support options, > but buildkernel replied with > /usr/src/sys/arm64/conf/GENERIC: unknown option "IOSCHED" > > I don't see any typos, should this option go elsewhere? Looks like the proper name is "CAM_IOSCHED_DYNAMIC".