From owner-freebsd-bugs@freebsd.org Thu Feb 6 20:59:09 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CAADA23AB71 for ; Thu, 6 Feb 2020 20:59:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48D9ld51lgz3CV5 for ; Thu, 6 Feb 2020 20:59:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AA5ED23AB6E; Thu, 6 Feb 2020 20:59:09 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA23023AB6D for ; Thu, 6 Feb 2020 20:59:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48D9ld3dq2z3CV4 for ; Thu, 6 Feb 2020 20:59:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 785FF21A1E for ; Thu, 6 Feb 2020 20:59:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 016Kx9lX014807 for ; Thu, 6 Feb 2020 20:59:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 016Kx91K014806 for bugs@FreeBSD.org; Thu, 6 Feb 2020 20:59:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243946] mdconfig -d causes iostat glitch Date: Thu, 06 Feb 2020 20:59:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2020 20:59:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243946 Bug ID: 243946 Summary: mdconfig -d causes iostat glitch Product: Base System Version: 12.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jfc@mit.edu iostat glitched when I used mdconfig -d: tty nvd0 da0 da1 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 0 116.07 99 11.22 95.51 379 35.32 95.36 381 35.47 0 0 5 0 = 95 2 25 114.79 91 10.23 110.73 395 42.69 111.10 390 42.28 0 0 1 = 0 99 1 6 117.03 125 14.27 0.00 1841192139503780665 3460.45 0.00 1841192139503796095 14.38 0 0 1 0 99 2 7 119.17 96 11.21 0.00 0 0.00 0.00 0 0.00 0 0 0 0 = 100 I was copying files off an ISO image using mdconfig to create a special dev= ice to mount as a cd9660 filesystem. The extremely high tps in the above iostat output happened during the interval when the device was destroyed. This particular iostat was invoked as "iostat nvd0 da0 da1 10". da0 and da1 are mirrored drives in a ZFS pool so the true I/O counts should be very similar. Based on another iostat invocation without an explicit device list, md0 com= es before da0 in whatever order iostat uses. My guess is destroying md0 chang= ed indices into the device statistics table. Iostat tried to subtract "this tick's count for index 1 =3D da0" from "last tick's count for index 1 =3D m= d0" or something along those lines. --=20 You are receiving this mail because: You are the assignee for the bug.=