From owner-freebsd-current@freebsd.org Mon Mar 19 02:15:30 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 ADC48F67A9C for ; Mon, 19 Mar 2018 02:15:30 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic316-9.consmr.mail.gq1.yahoo.com (sonic316-9.consmr.mail.gq1.yahoo.com [98.137.69.33]) (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 39F2272C61 for ; Mon, 19 Mar 2018 02:15:30 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: rE0oZnAVM1mxi4HPio9DRYFQNwffAuQyDqxJsZWL5NRVxnlxuX1UgFJ7eBmw_X1 N5VJ5exL31_99x41UKQPm99XjGoKXx6lcoagDshisvhafMvQnlPjuKPzPCJVELN6nh7fWXnS8be. HpvdLdSJLQx9.Y1pgBTII14GutZ0G1dpZ5YxPItlcGA03ZhoTHtmdwKlDcfBA4NaOJMMj4KlKb4u jKmVSKNKoabgZhAOSHL91S9bvgetDJOE.xrTOduJfInZBknIIrKwbfO.IMU08pV_zi180A28EZtu XA2Eq9lpJfAoW_hPmaD9EcgoAejvy_WHWzFxGU4pVIFrIAhI9OafB9yUMBdV5JnDfCQzcdPkT6eU FMT_Cks0rmeFGUh6Oh0avOBKp0u_ChFdiCsxk.Yb6Z0LrGnrGGF2.A.yQNGtM2Anle497npEw92w 8RLqQOI1l00Efh1EX0g3jYgY78kkPQn4JjrN8hcLQYGLrlIRoBK2u18QPJqaJzzirrKXC Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Mon, 19 Mar 2018 02:15:28 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp401.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 735257d409091420e7a27ef0d04c0c87; Mon, 19 Mar 2018 00:54:31 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: Strange ARC/Swap/CPU on yesterday's -CURRENT Message-Id: <1F7066EE-2419-4C91-8D76-9ADCE0444AEA@yahoo.com> Date: Sun, 18 Mar 2018 17:54:30 -0700 Cc: "O. Hartmann" To: bob prohaska , Jeff Roberson , freebsd-current@freebsd.org X-Mailer: Apple Mail (2.3445.5.20) 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: Mon, 19 Mar 2018 02:15:30 -0000 bob prohaska fbsd at www.zefox.net wrote on Sun Mar 18 21:09:42 UTC 2018 : > On Sun, Mar 11, 2018 at 10:43:58AM -1000, Jeff Roberson wrote: >=20 > > Also, if you could try going back to r328953 or r326346 and let me = know if=20 > > the problem exists in either. That would be very helpful. If = anyone is=20 >=20 > Not sure this is relevant, but r326343 is able to run a j4 buildworld > to completion on an RPi3 with 3 gigs of microSD-based swap. There are > periods of seeming distress at times (lots of swread, pfault state > in top along with high %idle) in top, but the compilation completes. >=20 > In contrast, r328953 could not complete buildworld using -j4. = Buildworld > would stop, usually reporting c++ killed, apparently for want of swap, > even though swap usage never exceeded about 30% accoring to top. >=20 > The machine employs UFS filesystems, . . . Sounds like -r326346 would be an interesting kernel to test (the next check-in on head after -r326343, one of Jeff's check-ins). -r328953 was just before Jeff's: Author: jeff Date: Tue Feb 6 22:10:07 2018 New Revision: 328954 URL:=20 https://svnweb.freebsd.org/changeset/base/328954 Log: Use per-domain locks for vm page queue free. Move paging control from global to per-domain state. Protect reservations with the free lock from the domain that they belong to. Refactor to make vm domains more of a first class object. So, if -r328953 behaves oddly and -r326343 does not, then the question is if -r326346 makes the difference: Author: jeff Date: Tue Nov 28 23:18:35 2017 New Revision: 326346 URL:=20 https://svnweb.freebsd.org/changeset/base/326346 Log: Move domain iterators into the page layer where domain selection = should take place. This makes the majority of the phys layer explicitly domain = specific. (Unfortunately my FreeBSD time is currently greatly limited.) It is also interesting that your test context is UFS. O. Hartmann has reported problems for UFS in a more modern version: -r330608 . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)