From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933037AbcI3MgK (ORCPT ); Fri, 30 Sep 2016 08:36:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45674 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932224AbcI3MgB (ORCPT ); Fri, 30 Sep 2016 08:36:01 -0400 Message-ID: <1475238950.19362.3.camel@redhat.com> Subject: Re: utime accounting regression since 4.6 (was: Re: [PACTH v2 0/3] Implement /proc//totmaps) From: Rik van Riel To: Michal Hocko Cc: Minchan Kim , Sonny Rao , Jann Horn , Robert Foss , corbet@lwn.net, Andrew Morton , Vlastimil Babka , Konstantin Khlebnikov , Hugh Dickins , Naoya Horiguchi , John Stultz , ross.zwisler@linux.intel.com, jmarchan@redhat.com, Johannes Weiner , Kees Cook , Al Viro , Cyrill Gorcunov , Robin Humble , David Rientjes , eric.engestrom@imgtec.com, Janis Danisevskis , calvinowens@fb.com, Alexey Dobriyan , "Kirill A. Shutemov" , ldufour@linux.vnet.ibm.com, linux-doc@vger.kernel.org, "linux-kernel@vger.kernel.org" , Ben Zhang , Bryan Freed , Filipe Brandenburger , Mateusz Guzik , Mel Gorman , Mike Galbraith Date: Fri, 30 Sep 2016 08:35:50 -0400 In-Reply-To: <20160930094905.GA22867@dhcp22.suse.cz> References: <20160818180104.GS30162@dhcp22.suse.cz> <1471988771.2751.29.camel@redhat.com> <20160930094905.GA22867@dhcp22.suse.cz> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-Zjo6IShFZt81PLyUFxqP" Mime-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 30 Sep 2016 12:36:00 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-Zjo6IShFZt81PLyUFxqP Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2016-09-30 at 11:49 +0200, Michal Hocko wrote: > [CC Mike and Mel as they have seen some accounting oddities > =C2=A0when doing performance testing. They can share details but > =C2=A0essentially the system time just gets too high] >=20 > For your reference the email thread started > http://lkml.kernel.org/r/20160823143330.GL23577@dhcp22.suse.cz >=20 > I suspect this is mainly for short lived processes - like kernel > compile > $ /usr/bin/time -v make mm/mmap.o > [...] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0User time (seconds): 0.45 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0System time (seconds): 0.= 82 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Percent of CPU this job g= ot: 111% > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Elapsed (wall clock) time= (h:mm:ss or m:ss): 0:01.14 > $ rm mm/mmap.o > $ /usr/bin/time -v make mm/mmap.o > [...] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0User time (seconds): 0.47 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0System time (seconds): 1.= 55 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Percent of CPU this job g= ot: 107% > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Elapsed (wall clock) time= (h:mm:ss or m:ss): 0:01.88 I was not able to get the "expected" results from your last reproducer, but this one does happen on my system, too. The bad news is, I still have no clue what is causing it... --=20 All Rights Reversed. --=-Zjo6IShFZt81PLyUFxqP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJX7lwnAAoJEM553pKExN6DaMUH/09/yecznyO1AxqCdKJKiKpn 9Z5Ova4qiIZdEIv/xmDGOduVchziEysaquPsmT3SPO/eylCUFNQttj7IpTC6ERrW F6xh3Tf/AKVvQlX2juWRLIHV1zKY7GLyC4GKsmVe0kC3Ci3ndaXD3Hr99PtSFh+m R7sXO2f4A/ekGmUuh9f4VAi8oZvZvf3YseyZw1dD2Xsm5iu7dxidreZ/gSEzcAVg WpwcrsfR7+UVWXLJtkpUnoX1ykZPctDoI4TrYYXbMcp5Xf7YKKEqISNwrpLgwLfy 7k11plUQq058sjJ2juyEs184AAC2eqdrKNg055zvrxdiRvEBB8p/JFeidg9v7vY= =g/dl -----END PGP SIGNATURE----- --=-Zjo6IShFZt81PLyUFxqP--