From owner-freebsd-amd64@freebsd.org Sun Jan 22 08:49:46 2017 Return-Path: Delivered-To: freebsd-amd64@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 BFB5BCBA5FA for ; Sun, 22 Jan 2017 08:49:46 +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 A225FE18 for ; Sun, 22 Jan 2017 08:49:46 +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 v0M8nkBp060134 for ; Sun, 22 Jan 2017 08:49:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 216364] ZFS ARC cache is duplicating data? The cache size gets bigger then the pool. Date: Sun, 22 Jan 2017 08:49:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: k_georgiev@deltanews.bg 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 cc 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-amd64@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2017 08:49:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216364 Bug ID: 216364 Summary: ZFS ARC cache is duplicating data? The cache size gets bigger then the pool. Product: Base System Version: 11.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: k_georgiev@deltanews.bg CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Hello, I got system with only one pool 6G: root@varnish:~ # zpool list NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT zroot 5.97G 3.76G 2.21G - 73% 62% 1.00x ONLINE - However about 4-5 days after the system was powered on the ARC cache got bi= gger than the pool and it stays like this: =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 up 20+20:50:56 10:44:15 34 processes: 1 running, 33 sleeping CPU: % user, % nice, % system, % interrupt, % idle Mem: 18M Active, 601M Inact, 13G Wired, 1801M Free ARC: 12G Total, 1920M MFU, 10G MRU, 419K Anon, 40M Header, 377M Other Swap: 2048M Total, 2048M Free And note that the pool is 6G, but it's not even 100% full. Even only the MFU is larger than the entire pool. There's no way that data = is not duplicated there.=20 Here is output of zfs stats: root@varnish:~ # zfs-stats -A ------------------------------------------------------------------------ ZFS Subsystem Report Sun Jan 22 10:45:47 2017 ------------------------------------------------------------------------ ARC Summary: (HEALTHY) Memory Throttle Count: 0 ARC Misc: Deleted: 65.44k Recycle Misses: 0 Mutex Misses: 4 Evict Skips: 1 ARC Size: 84.86% 12.33 GiB Target Size: (Adaptive) 85.07% 12.36 GiB Min Size (Hard Limit): 12.50% 1.82 GiB Max Size (High Water): 8:1 14.53 GiB ARC Size Breakdown: Recently Used Cache Size: 81.34% 10.06 GiB Frequently Used Cache Size: 18.66% 2.31 GiB ARC Hash Breakdown: Elements Max: 171.10k Elements Current: 87.74% 150.12k Collisions: 1.69m Chain Max: 4 Chains: 5.03k ------------------------------------------------------------------------ --=20 You are receiving this mail because: You are on the CC list for the bug.=