From owner-freebsd-fs@FreeBSD.ORG Tue Jul 8 13:31:48 2014 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D5F65AD for ; Tue, 8 Jul 2014 13:31:48 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F3F0423A3 for ; Tue, 8 Jul 2014 13:31:47 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s68DVl4T077895 for ; Tue, 8 Jul 2014 14:31:47 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 191510] [zfs] ZFS doesn't use all available memory Date: Tue, 08 Jul 2014 13:31:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vsjcfm@gmail.com X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2014 13:31:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191510 --- Comment #6 from vsjcfm@gmail.com --- (In reply to Steven Hartland from comment #4) > Are you sure that its not reduced over time due to something high memory > usage processes which now aren't running? > > To check this reboot and check the values then. Absolutely, this machine is just nginx fileserver, without any other tasks. I can collect ARC graph if this information will be useful. (In reply to Steven Hartland from comment #5) > sysctl kstat.zfs.misc.arcstats would also be useful kstat.zfs.misc.arcstats.hits: 6357561684 kstat.zfs.misc.arcstats.misses: 1754865888 kstat.zfs.misc.arcstats.demand_data_hits: 2247259288 kstat.zfs.misc.arcstats.demand_data_misses: 8782100 kstat.zfs.misc.arcstats.demand_metadata_hits: 2211824311 kstat.zfs.misc.arcstats.demand_metadata_misses: 8160603 kstat.zfs.misc.arcstats.prefetch_data_hits: 1283671663 kstat.zfs.misc.arcstats.prefetch_data_misses: 1737864288 kstat.zfs.misc.arcstats.prefetch_metadata_hits: 614806422 kstat.zfs.misc.arcstats.prefetch_metadata_misses: 58897 kstat.zfs.misc.arcstats.mru_hits: 1548194108 kstat.zfs.misc.arcstats.mru_ghost_hits: 10388582 kstat.zfs.misc.arcstats.mfu_hits: 3287889203 kstat.zfs.misc.arcstats.mfu_ghost_hits: 102318783 kstat.zfs.misc.arcstats.allocated: 1774678632 kstat.zfs.misc.arcstats.deleted: 1646058550 kstat.zfs.misc.arcstats.stolen: 1146219028 kstat.zfs.misc.arcstats.recycle_miss: 3101763 kstat.zfs.misc.arcstats.mutex_miss: 4427461 kstat.zfs.misc.arcstats.evict_skip: 284890938 kstat.zfs.misc.arcstats.evict_l2_cached: 188456702423040 kstat.zfs.misc.arcstats.evict_l2_eligible: 32054253667840 kstat.zfs.misc.arcstats.evict_l2_ineligible: 9169893205504 kstat.zfs.misc.arcstats.hash_elements: 18175960 kstat.zfs.misc.arcstats.hash_elements_max: 18488668 kstat.zfs.misc.arcstats.hash_collisions: 1127435975 kstat.zfs.misc.arcstats.hash_chains: 3877554 kstat.zfs.misc.arcstats.hash_chain_max: 24 kstat.zfs.misc.arcstats.p: 145378360667 kstat.zfs.misc.arcstats.c: 197771088957 kstat.zfs.misc.arcstats.c_min: 33203088384 kstat.zfs.misc.arcstats.c_max: 265624707072 kstat.zfs.misc.arcstats.size: 200751138272 kstat.zfs.misc.arcstats.hdr_size: 1329000768 kstat.zfs.misc.arcstats.data_size: 194945960448 kstat.zfs.misc.arcstats.other_size: 1720016232 kstat.zfs.misc.arcstats.l2_hits: 558004136 kstat.zfs.misc.arcstats.l2_misses: 1196861331 kstat.zfs.misc.arcstats.l2_feeds: 4171054 kstat.zfs.misc.arcstats.l2_rw_clash: 72326 kstat.zfs.misc.arcstats.l2_read_bytes: 73002745243136 kstat.zfs.misc.arcstats.l2_write_bytes: 113011830327808 kstat.zfs.misc.arcstats.l2_writes_sent: 3913397 kstat.zfs.misc.arcstats.l2_writes_done: 3913396 kstat.zfs.misc.arcstats.l2_writes_error: 0 kstat.zfs.misc.arcstats.l2_writes_hdr_miss: 117425 kstat.zfs.misc.arcstats.l2_evict_lock_retry: 91025 kstat.zfs.misc.arcstats.l2_evict_reading: 219 kstat.zfs.misc.arcstats.l2_free_on_write: 4702368 kstat.zfs.misc.arcstats.l2_abort_lowmem: 56 kstat.zfs.misc.arcstats.l2_cksum_bad: 18 kstat.zfs.misc.arcstats.l2_io_error: 0 kstat.zfs.misc.arcstats.l2_size: 1838076781056 kstat.zfs.misc.arcstats.l2_asize: 1838076145664 kstat.zfs.misc.arcstats.l2_hdr_size: 3164330456 kstat.zfs.misc.arcstats.l2_compress_successes: 144015 kstat.zfs.misc.arcstats.l2_compress_zeros: 0 kstat.zfs.misc.arcstats.l2_compress_failures: 0 kstat.zfs.misc.arcstats.l2_write_trylock_fail: 387445125 kstat.zfs.misc.arcstats.l2_write_passed_headroom: 134983793 kstat.zfs.misc.arcstats.l2_write_spa_mismatch: 59111238565 kstat.zfs.misc.arcstats.l2_write_in_l2: 850651818119 kstat.zfs.misc.arcstats.l2_write_io_in_progress: 847 kstat.zfs.misc.arcstats.l2_write_not_cacheable: 36478134670 kstat.zfs.misc.arcstats.l2_write_full: 2008530 kstat.zfs.misc.arcstats.l2_write_buffer_iter: 4171054 kstat.zfs.misc.arcstats.l2_write_pios: 3913397 kstat.zfs.misc.arcstats.l2_write_buffer_bytes_scanned: 27587228945605632 kstat.zfs.misc.arcstats.l2_write_buffer_list_iter: 225730988 kstat.zfs.misc.arcstats.l2_write_buffer_list_null_iter: 19832 kstat.zfs.misc.arcstats.memory_throttle_count: 0 kstat.zfs.misc.arcstats.duplicate_buffers: 0 kstat.zfs.misc.arcstats.duplicate_buffers_size: 0 kstat.zfs.misc.arcstats.duplicate_reads: 0 -- You are receiving this mail because: You are the assignee for the bug.