From owner-freebsd-fs@FreeBSD.ORG Fri Feb 28 18:31:51 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F1DEBEEF for ; Fri, 28 Feb 2014 18:31:51 +0000 (UTC) Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [IPv6:2607:f8b0:400c:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B014918C4 for ; Fri, 28 Feb 2014 18:31:51 +0000 (UTC) Received: by mail-ve0-f182.google.com with SMTP id jy13so1165332veb.27 for ; Fri, 28 Feb 2014 10:31:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=KcOetXLlXTrdFaI7JZ3rt66uCiz2m9mhvGkU5jq3zDA=; b=x1PWYry+kiU1Eg8b1XcsKn1HmpDdOtShHEAYfZK+/ZKYoKf9SVOP75zd/t7CVJN3Y1 JBz907G79wvrggpjt7go+gRh5s4+q2UucRe9iTWUTTCwiMJDzNrs+JEJAbWL/FDgQVn3 VgHAfAqY9rFPxvKBiFiGHu84osagMQYh7qJ5xDbA2Ek0lLconrExNuYIBUEeGmNM+EvD CaUnOHOh1l9jZR3EJ/uCevYEOp4VcZmGW4mG5yq2ZhV/EqKELn8rCrb3EIPBXLOjMMdB UoRLYfRrgq6ojcEJ/XoWs4LvNARQ+10tkpk7fgNocICve7o68d3jANc6WYpzZIi+YuBi C/DA== X-Received: by 10.220.103.141 with SMTP id k13mr3644751vco.25.1393612310768; Fri, 28 Feb 2014 10:31:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.91.74 with HTTP; Fri, 28 Feb 2014 10:31:30 -0800 (PST) In-Reply-To: References: <530F6475.4090508@gmail.com> From: Anton Sayetsky Date: Fri, 28 Feb 2014 20:31:30 +0200 Message-ID: Subject: Re: ZFS and Wired memory, again To: Matthias Gamsjager Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-fs@freebsd.org, Volodymyr Kostyrko X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 18:31:52 -0000 2014-02-28 13:47 GMT+02:00 Matthias Gamsjager : >>> >> >> +1 from me, FreeBSD 10, uma=0 >> >> 52 processes: 2 running, 49 sleeping, 1 zombie >> CPU: 0.0% user, 0.0% nice, 0.0% system, 0.4% interrupt, 99.6% idle >> Mem: 31M Active, 16K Inact, 3352M Wired, 17M Cache, 48M Free >> ARC: 1838M Total, 110M MFU, 18M MRU, 548K Anon, 1876M Header, 75M Other >> Swap: 4096M Total, 126M Used, 3969M Free, 3% Inuse >> >> Machine is plain dead. Running database or squid or anything causes >> excessive swapping. This is the state when I disabled all payload, with >> everything started swap goes to 500M and machine is burning disks. >> > > I wonder do you use any zfs tuning? Like max arc size? Wonder if setting > that to a reasonable amount would help. Please read carefully my first message. No any tuning (configs posted), and problem is not that ZFS uses big amount of memory. I'm experiencing exactly one problem - Wired mem is significantly larger than ARC. E.g. if my ARC size is 2048M, I'm expecting that Wired will not consume more than ARC+~150M.