From owner-freebsd-fs@FreeBSD.ORG Thu Feb 6 17:24:38 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 EEB2B142 for ; Thu, 6 Feb 2014 17:24:38 +0000 (UTC) Received: from mail-vb0-x22e.google.com (mail-vb0-x22e.google.com [IPv6:2607:f8b0:400c:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A9FB21F56 for ; Thu, 6 Feb 2014 17:24:38 +0000 (UTC) Received: by mail-vb0-f46.google.com with SMTP id o19so1670613vbm.33 for ; Thu, 06 Feb 2014 09:24:37 -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=Rm0hxFXiX/wbLsZym04UPpct/zuOhXcIewAdX4vKa4k=; b=jncqATT2LvnS1hnY4iDy7ziDu1vFVff4TpEaX3kcxvBPpCv6oTfCYA5iC5uPDlsT1+ 3zgsbRQcrJhs6FtgGSu6G8u/naaUfVt+FgSKCsI38Concarybz+WOlzrcy/s1FuvfGlY DgWYa1+61OSnfz3vGR31HQEEY59cmTWtxSkZF6E1O2s6WYXgQVAYMddiTLO4WX8glevi wAaLYLwixhTruUCQQmtOgIbhHDfe31/Lw2e/cnWTPVgBQ1zqyBCWIFJ6RKkiDiiSDvk3 GWGILCP99NNsM+5MclAg9V0R0dmAD9AdZGU3ZcFBLizjmKOqWFfXOEc9GkWc7wNwDVTn iosw== X-Received: by 10.58.132.203 with SMTP id ow11mr6756650veb.1.1391707477817; Thu, 06 Feb 2014 09:24:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.162.169 with HTTP; Thu, 6 Feb 2014 09:24:17 -0800 (PST) In-Reply-To: <52F3BE38.6050103@platinum.linux.pl> References: <52F3BE38.6050103@platinum.linux.pl> From: Anton Sayetsky Date: Thu, 6 Feb 2014 19:24:17 +0200 Message-ID: Subject: Re: ZFS and Wired memory, again To: Adam Nowacki Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-fs@freebsd.org 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: Thu, 06 Feb 2014 17:24:39 -0000 2014-02-06 Adam Nowacki : > So what is exactly the problem here? Free memory is essentially wasted > memory and there is still plenty of free memory available so there is no > point to compact wired memory. Once free memory drops below > vm.v_free_target you should see something happen. I'll quote my first message: >>> I'm planning to deploy a ~150 TiB ZFS pool and when playing with ZFS >>> noticed that amount of wired memory is MUCH bigger than ARC size (in >>> absence of other hungry memory consumers, of course). ... >>> So why the wired ram on a machine with only minimal amount of services >>> has grown from 92 to 719 MiB? Sometimes I can even see about a gig! >>> I'm using 9.2-RELEASE-p1 amd64. ... >>> When reading a pool, evict skips can increment very fast and sometimes >>> arc metadata exceeds limit (2x-5x).