NetBSD Problem Report #54841

From gson@gson.org  Tue Jan  7 12:34:58 2020
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 164687A154
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  7 Jan 2020 12:34:58 +0000 (UTC)
Message-Id: <20200107123453.81E2E253F3E@guava.gson.org>
Date: Tue,  7 Jan 2020 14:34:53 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: time(1) reports garbage user and system times again
X-Send-Pr-Version: 3.95

>Number:         54841
>Category:       kern
>Synopsis:       time(1) reports garbage user and system times again
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 07 12:35:00 +0000 2020
>Last-Modified:  Thu Jan 09 15:50:01 +0000 2020
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current
>Organization:
>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:

Running -current/i386 on real 8-core hardware:

# cd /usr/test/fs/vfs
# time atf-run t_vnops >log
       53.35 real    665258.06 user    146439.61 sys

>How-To-Repeat:

See above.

>Fix:

>Audit-Trail:
From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54841: time(1) reports garbage user and system times again
Date: Thu, 9 Jan 2020 10:55:09 +0200

 This appears to be a long-standing bug, so it's likely also in -9.
 I tested a build from source date 2017.02.23.08.22.20:

   # cd /usr/tests/fs/vfs && time atf-run t_vnops >log
          54.00 real      2334.64 user       466.80 sys

 To use use 2334 seconds of user time in 54 seconds of real time,
 the machine would need to have at least 43 CPUs, but it only has 8.
 -- 
 Andreas Gustafsson, gson@gson.org

From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/54841: time(1) reports garbage user and system times again
Date: Thu, 9 Jan 2020 17:45:22 +0200

 I ran some more tests.  The -9 branch is affected, but NetBSD/amd64 is
 not, running on the same hardware as the NetBSD/i386 tests exhibiting
 the problem.
 -- 
 Andreas Gustafsson, gson@gson.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.