From owner-freebsd-bugs@freebsd.org Mon Dec 4 13:29:47 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3ACF7DFCC0F for ; Mon, 4 Dec 2017 13:29:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 293E168844 for ; Mon, 4 Dec 2017 13:29:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB4DTlv5046822 for ; Mon, 4 Dec 2017 13:29:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 224080] ZFS: "arc_dnlc_evicts_thr" + "arc_reclaim_thread" - high CPU load during poudriere build... Date: Mon, 04 Dec 2017 13:29:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nbe@renzel.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 13:29:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224080 Bug ID: 224080 Summary: ZFS: "arc_dnlc_evicts_thr" + "arc_reclaim_thread" - high CPU load during poudriere build... Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: nbe@renzel.net On 12-CURRENT r326527 Running a poudriere build results in high CPU load (up to 100%) for the ZFS kernel threads "arc_dnlc_evicts_thr" and "arc_reclaim_thread": ---------------------------------------------------------------------------= --------------------- last pid: 8708; load averages: 5.53, 1.49, 0.55 up 0+00:01:05 14:0= 9:07=20 787 processes: 18 running, 728 sleeping, 2 zombie, 39 waiting=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Mem: 379M Active, 72M Inact, 765M Wired, 14G Free ARC: 250M Total, 22M MFU, 178M MRU, 314K Anon, 6575K Header, 43M Other 100M Compressed, 292M Uncompressed, 2.91:1 Ratio Swap: 32G Total, 32G Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 17 root -8 - 0K 192K CPU6 6 0:18 70.65% zfskern{arc_dnlc_evicts_thr} 1328 root 52 0 14300K 5280K piperd 0 0:09 22.36% sh 11 root 155 ki31 0K 128K RUN 5 0:21 16.46% idle{id= le: cpu5} 11 root 155 ki31 0K 128K RUN 7 0:28 16.16% idle{id= le: cpu7} 11 root 155 ki31 0K 128K RUN 0 0:29 15.48% idle{id= le: cpu0} 11 root 155 ki31 0K 128K RUN 1 0:28 15.38% idle{id= le: cpu1} 17 root -8 - 0K 192K arc_re 1 0:09 14.79% zfskern{arc_reclaim_thread} 11 root 155 ki31 0K 128K RUN 6 0:28 14.45% idle{id= le: cpu6} 11 root 155 ki31 0K 128K RUN 4 0:27 14.36% idle{id= le: cpu4} 11 root 155 ki31 0K 128K RUN 2 0:28 14.06% idle{id= le: cpu2} 11 root 155 ki31 0K 128K RUN 3 0:28 13.77% idle{id= le: cpu3} 1513 root 52 0 13024K 3968K nanslp 4 0:00 0.49% sh 15 root -16 - 0K 48K - 3 0:00 0.10% cam{don= eq1} 0 root -16 - 0K 9024K swapin 4 0:28 0.00% kernel{swapper} 0 root 8 - 0K 9024K - 3 0:00 0.00% kernel{thread taskq} 12 root -96 - 0K 624K WAIT 5 0:00 0.00% intr{irq281: hdac1} 12 root -60 - 0K 624K WAIT 0 0:00 0.00% intr{sw= i4: clock (0)} 15 root -16 - 0K 48K - 6 0:00 0.00% cam{scanner} ---------------------------------------------------------------------------= --------------------- I have 16GB of RAM and ARC is not limited - so there should be no memory pressure. That behaviour does not exist on 11-STABLE (r326088). There, both mentioned threads only reaches about 1-2% at maximum (similar CPU). Any ideas how to fix that? --=20 You are receiving this mail because: You are the assignee for the bug.=