From owner-freebsd-stable@freebsd.org Thu Mar 24 20:00:32 2016 Return-Path: Delivered-To: freebsd-stable@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 12D9FADC5FD for ; Thu, 24 Mar 2016 20:00:32 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: from mail.sub.ru (mail.sub.ru [88.212.205.2]) by mx1.freebsd.org (Postfix) with SMTP id 3F4AA1F5F for ; Thu, 24 Mar 2016 20:00:30 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: (qmail 42655 invoked from network); 24 Mar 2016 22:53:46 +0300 Received: from ppp109-252-23-138.pppoe.spdop.ru (ppp109-252-23-138.pppoe.spdop.ru [109.252.23.138]) by mail.sub.ru ([88.212.205.2]) with ESMTP via TCP; 31 Dec 1969 23:59:59 -0000 To: freebsd-stable@FreeBSD.org From: Alex Povolotsky Subject: ZFS L2ARC not working at all Message-ID: <56F445BE.5020105@webmail.sub.ru> Date: Thu, 24 Mar 2016 22:53:34 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 160324-2, 24.03.2016), Outbound message X-Antivirus-Status: Clean X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 20:00:32 -0000 Hello I'm benchmarking postgres on FreeBSD/ZFS, and suddenly L2ARC cache has gone idle. zfs-stats shows L2 ARC Summary: (HEALTHY) Passed Headroom: 1.45m Tried Lock Failures: 302.35k IO In Progress: 19 Low Memory Aborts: 3 Free on Write: 21.01k Writes While Full: 199 R/W Clashes: 8 Bad Checksums: 0 IO Errors: 0 SPA Mismatch: 185.35m L2 ARC Size: (Adaptive) 3.28 GiB Header Size: 0.01% 495.03 KiB L2 ARC Breakdown: 123.49m Hit Ratio: 0.17% 205.20k Miss Ratio: 99.83% 123.29m Feeds: 31.02k L2 ARC Buffer: Bytes Scanned: 4.38 TiB Buffer Iterations: 31.02k List Iterations: 1.98m NULL List Iterations: 69.33k L2 ARC Writes: Writes Sent: 100.00% 14.64k so it's totally unused. Here is zfs get all https://owncloud.over.ru/public.php?service=documents&t=2XQuJExFhSdArVY And here is sysctl vfs.zfs kstat.zfs https://owncloud.over.ru/public.php?service=documents&t=D7S7b90RxTkncmN Alex