From owner-freebsd-current@FreeBSD.ORG Sun Jul 11 09:45:31 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A80D1106566B for ; Sun, 11 Jul 2010 09:45:31 +0000 (UTC) (envelope-from mickael.maillot@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 135788FC13 for ; Sun, 11 Jul 2010 09:45:30 +0000 (UTC) Received: by wwe15 with SMTP id 15so946859wwe.31 for ; Sun, 11 Jul 2010 02:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=41svjyQVtYivCABCA5v/xb03JIig/oPp7coLvJiG2RU=; b=Hh0FB4K5qbZ3A8gSGmsvP/TPA6C2SRW/JBvC3TCzZghJlf37cl8fLj3MJvt6IoSGK9 4wt7jcYGiaAFDCV6+z7WRqF8RcXa55Py9h6ec+wW1L1EXFwyb00FKhfZA2kpHso6Z8lW XeoMPDyQc1xRk3VonVOg2rbNWJYaFM6JmgVHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gcK11F55tiUJvUCkM96zxh/KvUY0mv76S/hQZQf2fbai7wMZ+M8jCmvTPuetI2cOG7 92TzuVvqurCeORDNcLhub2Hjvt40hkOqHLjtnXbe4VoLWUErRFvndiZ4xfg8mjp82vKk IuJZ5eI2RToGn3+az5PErK0oXL+qx/rFhRq24= MIME-Version: 1.0 Received: by 10.216.231.25 with SMTP id k25mr2071709weq.2.1278841528576; Sun, 11 Jul 2010 02:45:28 -0700 (PDT) Received: by 10.216.11.145 with HTTP; Sun, 11 Jul 2010 02:45:28 -0700 (PDT) In-Reply-To: <20100709232210.GA1973@server.vk2pj.dyndns.org> References: <4C31C71C.2010606@FreeBSD.org> <20100708200446.GA33822@server.vk2pj.dyndns.org> <4C364379.6020608@FreeBSD.org> <20100709232210.GA1973@server.vk2pj.dyndns.org> Date: Sun, 11 Jul 2010 11:45:28 +0200 Message-ID: From: =?ISO-8859-1?Q?Micka=EBl_Maillot?= To: Martin Matuska Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: [CFT] ZFS v15 patch (version 3) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2010 09:45:31 -0000 patch works fine here on 8-STABLE. my deadlock probleme seams to be corrected (after 6h of zfs receive + find | wc -l + many small reads). 2010/7/10 Peter Jeremy : > On 2010-Jul-08 23:30:33 +0200, Martin Matuska wrote: >>> Looking at the patchset, the most critical issue (IMHO) that doesn't >>> appear to have been addressed is the interaction between ZFS ARC and >>> the VM cache used by UFS/NFS: arc_memory_throttle() is still making >>> decisions solely on the amount of "free" memory, without considering >>> "inactive" or "cache". =A0I am running a slight variant of a patch by > ... >>Regarding ARC, you might want to try the revision 209227 from head that >>is scheduled for MFC on 18.7.2010: >>http://people.freebsd.org/~mm/patches/zfs/head-12636.patch > > That patch appears to address issues with unreasonable arc sizing but > doesn't alter the throttling algorithm: FreeBSD's "traditional" VM > management algorithm (used by everything except ZFS) minimises space > marked as "free" by preferentially keeping cached data in the "cache" > or "inactive" queues. =A0ZFS uses its own caching which solely uses the > "free" list to determine memory availability. =A0This means ZFS can't > apply any pressure to the FreeBSD VM system and runs in a virtually > permanent state of memory starvation. > > In any case, I have applied that patch as it appears useful. > > -- > Peter Jeremy >