From owner-freebsd-arm@freebsd.org Fri Jun 15 04:01:13 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 46E3B1011D47 for ; Fri, 15 Jun 2018 04:01:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7F7275A73 for ; Fri, 15 Jun 2018 04:01:12 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x235.google.com with SMTP id t5-v6so9469121ioa.8 for ; Thu, 14 Jun 2018 21:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Hh7LB+XxFa3V5RqxK6QXo1qe62hstCQNZMDQARgfOdc=; b=x4fQtDTwJOMxkcIVhtHXXdKeBdajjAN3LnL25xA60dTSo5P4VgjT6XZpipi1boQaKV M3BRIX4hewuAGXdnaZk7Wjs49RAE6TE1av5H4kV2xH9TQxxk+cDMkp5GDAKqO5XZK+80 q9PCrVpB+0wQLBEwsBJoQwGzHaEcNO/fQrHbDctD0inMi+kJ9gQN4lEZ/8jzJox7Q9p3 D6o+yM4ogVKaQyLnXvWktpiKeEd6O3HyvLKKmkKeQVhq9Fihk3xc0UC4NwS21hrTUzzB TTYKJlHOf6iosV8uNx3h9lC0hnhpmDsM7kmJ7gjAt+lU4Jll3lWUWf7W3YKoT7NmbnN1 zfrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Hh7LB+XxFa3V5RqxK6QXo1qe62hstCQNZMDQARgfOdc=; b=aHDQhCDjZk0Vtj5xcivzPrBWrKbHNsq9Ckbazr4tVyYe15QitspHNC2xq0ER8OHkXW 2ETnuwq9AMHxkZhr+bbI8PYKwPVyAcWCAmEewnDzvlRiEqV/tzauZkpYVWfhKfjqwrSe O5sQIDgqs+5uYHlZbmkRDmohe/0bLHiRaxYmi3V9QZrYNDLtgCDJcsWrmDXxvqTwSykw TRaN7AGPwkUAKB8pzorWGjN+alJpyYz0V+qNPmD7eEzqzVB1r/uqaQZfxZ16s+V9VBwf vtQmvLDu2Zh5uJBzRNq/h8aw8pgbCKYKSNPq1pNy/f68xYO7oN4DFGqjC3DIgp2NPN+K RMow== X-Gm-Message-State: APt69E30ST7jNm8hh5v8S+cVt1cM3ADvMGROgv8YZFEHuIr+ZtsJXmmD x5vJQ9/ASfM2+gWfbv48S9T6xymU6fnz4nHzb3csVw== X-Google-Smtp-Source: ADUXVKKANON3qCgq3+E2TuoWiyZNF6j6g0rtBMntVK0i2AbCgiqfiS9dhIrPaUTLIydatshRNK2VQk52FnsP8j0NwMc= X-Received: by 2002:a6b:284b:: with SMTP id o72-v6mr21472ioo.168.1529035272092; Thu, 14 Jun 2018 21:01:12 -0700 (PDT) MIME-Version: 1.0 References: <20180614175622.GC35161@www.zefox.net> <201806142110.w5ELAL0N046840@pdx.rh.CN85.dnsmgr.net> <20180615035225.GA37370@www.zefox.net> In-Reply-To: <20180615035225.GA37370@www.zefox.net> From: Warner Losh Date: Thu, 14 Jun 2018 22:00:59 -0600 Message-ID: Subject: Re: GPT vs MBR for swap devices To: bob prohaska Cc: "Rodney W. Grimes" , freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 04:01:13 -0000 On Thu, Jun 14, 2018, 9:52 PM bob prohaska wrote: > On Thu, Jun 14, 2018 at 02:10:21PM -0700, Rodney W. Grimes wrote: > > > > It might be interesting to do in order the swapon > > commands to 1G USB flash, 1G SD flash, 2G SD flash, > > It seems clear that USB flash swap, alone or in any > combination, fails early in buildworld. I think that's because USB flash can't swap fast enough to keep up with the page demand. You might be able to confirm this by looking at the write rates to the swap portions for the various other media with gstat. I suspect it's FTL is doing more expensive garbage collection under a swap work load leading to long pauses from time to time that the VM system responds to by starting OOM too soon. Warner 1 GB of SD > flash swap seemed to work consideraby better, but > even it slowed greatly when 500 MB swap was in use. > 3 GB of USB mechanical swap seems to work. 3 GB of SD flash > swap (2 GB plus 1 GB) also seemed to work. > > These tests were not with the same kernel and sources, > which makes the comparisons rather suspect. > > The machine is now reverting to r334939 using 1 GB + 2 GB of > SD flash swap. If that succeeds I will then run buildworld > for each case using the same kernel, world and sources. > > Thanks for reading! > > bob prohaska > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >