From owner-freebsd-arm@freebsd.org Mon Aug 6 16:30:31 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 609CB105DCF9 for ; Mon, 6 Aug 2018 16:30:31 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pl0-x236.google.com (mail-pl0-x236.google.com [IPv6:2607:f8b0:400e:c01::236]) (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 C30EB7E56D for ; Mon, 6 Aug 2018 16:30:30 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-pl0-x236.google.com with SMTP id e11-v6so5880331plb.3 for ; Mon, 06 Aug 2018 09:30:30 -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=CnnOBqo+PPyHwDmKFM5+wZa6jicPCc0WSq0cKY4uVC0=; b=ZDa9Se/C5IwuQZExgkdijUQDvBu0/07bNUIG3F2371Q4IMiwOu9w2xbwBWA4kDprIt 2QWPdITIy6ec6Bs7zoT5acDI2t0PreGVm3VsJH9uwXIpLU4s20C7ehgcoOwG3YFzitzS 29vOctcoU8znViXDE7lhOH/kVmBq/eNFVdUvi0OrDbfaCT//Vmw5VxaZHLM/TEKo0bdt mwKnZOein/rTi1n5VPaAW0RqvyENub2r66rG+qpLPIXs6aRapO3rGlLcr+4onLBGJaKl rxhPP8J9+uxe3v0s7FIY1QldwCBmHhFBY7lmRU3+5sU6uiCTpy1GEBxwZA+D6lU1h+HR jS8A== 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=CnnOBqo+PPyHwDmKFM5+wZa6jicPCc0WSq0cKY4uVC0=; b=byLhQmv8yphFfykY+kwc7k4BOQl6W7PqHwySODsKC8AVfsWAV3THNUoQ5CRkKkxFgp O8EjIkYZbT4pC3VJPEvr93Fo4HQg9yVjA8ktsIUYl/rucYXFRJwabgjKGYnb8cToNNeB sR/N4IxfqO6ZojIemrEhlLlyEghJC+TExP2Hd/C/CeP7I/9u8mwfZQo+imODSLIQJ68A Bf/xJIZiLE6mcCzGidJrlrKwAtL08K9u6ZKAspLi6vRGRUv6z1RQLn6jKcS+/zEiY6z8 tj7ArpZ/LEgaxDaZgjhkgeLsSsqATdAo/ItvqbBNzSGIxKxvkWjegtELT++BvbT/9lwl BqDw== X-Gm-Message-State: AOUpUlHkwHOewW640A+4q4FjYRf4ogZ4ufZlj+sNljHGW+g8hqbd9YjM ZFsp+36gfZ6CCTxZvdb9E20= X-Google-Smtp-Source: AAOMgpeZmi0Ykym0RBtRJzeJgoDxpR4CTzpT1WXEu+lgJBOl29n/rzJKw0jeKFeWWsvu/xoSAPJYCw== X-Received: by 2002:a17:902:c85:: with SMTP id 5-v6mr14737009plt.141.1533573029635; Mon, 06 Aug 2018 09:30:29 -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 i192-v6sm6097990pfe.188.2018.08.06.09.30.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 09:30:28 -0700 (PDT) Sender: Mark Johnston Date: Mon, 6 Aug 2018 12:30:25 -0400 From: Mark Johnston To: bob prohaska Cc: Mark Millard , 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: <20180806163025.GB6277@raichu> References: <20180731231912.GF94742@www.zefox.net> <2222ABBD-E689-4C3B-A7D3-50AECCC5E7B2@yahoo.com> <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> <20180806162814.GA19673@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180806162814.GA19673@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: Mon, 06 Aug 2018 16:30:31 -0000 On Mon, Aug 06, 2018 at 09:28:14AM -0700, bob prohaska wrote: > On Mon, Aug 06, 2018 at 11:58:37AM -0400, Mark Johnston wrote: > > the problem continues to occur. If this doesn't help, please try > > applying both measures, i.e., set oom_seq to 120 _and_ apply the patch. > > > > diff --git a/sys/vm/vm_pagequeue.h b/sys/vm/vm_pagequeue.h > > index fb56bdf2fdfc..29a16060253f 100644 > > --- a/sys/vm/vm_pagequeue.h > > +++ b/sys/vm/vm_pagequeue.h > > @@ -74,7 +74,7 @@ struct vm_pagequeue { > > } __aligned(CACHE_LINE_SIZE); > > > > #ifndef VM_BATCHQUEUE_SIZE > > -#define VM_BATCHQUEUE_SIZE 7 > > +#define VM_BATCHQUEUE_SIZE 1 > > #endif > > > > struct vm_batchqueue { > > The open bracket at the end looks odd, is that really the end of the patch? Yes, it's just the contents of the file surrounding the modified line (the VM_BATCHQUEUE_SIZE definition).