From owner-freebsd-current@FreeBSD.ORG Mon Jul 9 18:08:38 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67BE316A41F for ; Mon, 9 Jul 2007 18:08:38 +0000 (UTC) (envelope-from bdonnell@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8B76A13C448 for ; Mon, 9 Jul 2007 18:08:37 +0000 (UTC) (envelope-from bdonnell@gmail.com) Received: by wr-out-0506.google.com with SMTP id i23so476228wra for ; Mon, 09 Jul 2007 11:08:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=D9cAan2SakxKYFByIlQWmqMDSKTCW6jo2/+HC4x+cE/xAjMPipWrNa34saIyHm3BOJGABFSQfxz1PVt3oKmbWtqRcW8DfDJ9RQjGXdccg9CLB3bcQt7/fuJ260J+T22o4EB88oeSCdk6KOvAwP9E4pITIpByLrqXw7iZN/OOw8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=LfEecL/s5po/Im4EwuUUmXDhcDcUU6tMeHwju62ji4VnFhYmzCmmzuenRxiZztBjeQQ8ka7VmMMBfFanVCCHuYlWpPAj16xk6YNp4oxa1LzYZDBHRtLJqLdR1XVrH95nErFjJjEDRW7mzsjvBaIldaGuGIGUuLYlfbZliWN+pmw= Received: by 10.142.82.17 with SMTP id f17mr249087wfb.1184004516147; Mon, 09 Jul 2007 11:08:36 -0700 (PDT) Received: by 10.142.77.9 with HTTP; Mon, 9 Jul 2007 11:08:36 -0700 (PDT) Message-ID: <1c5c32890707091108m726d27a7ue9f44b99590e1934@mail.gmail.com> Date: Mon, 9 Jul 2007 14:08:36 -0400 From: "Brian Donnell" To: "Pawel Jakub Dawidek" In-Reply-To: <20070709000918.GD1208@garage.freebsd.pl> MIME-Version: 1.0 References: <200707071426.18202.dfr@rabson.org> <20070709000918.GD1208@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: ZFS leaking vnodes (sort of) 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: Mon, 09 Jul 2007 18:08:38 -0000 I put these patches in on my i386, took out the i386 recommended tunings and increased the max vnodes as recommended for amd64. Last time I did this I was able to cause kmem_map errors very quickly. With these changes, however, I'm not seeing any problems yet. I'm running through as many tests as I can think of for file accesses and transfers between and out of zfs pools. So far so good. Other than the memory usage I haven't really noticed a change in performance. Note this is a pretty high spec'd machine I'm testing on, though. -- Brian On 7/8/07, Pawel Jakub Dawidek wrote: > > Whoa! Nice catch... The patch works here - I did some pretty heavy > tests, so please commit it ASAP. > > I also wonder if this can help with some of those 'kmem_map too small' > panics. I was observing that ARC cannot reclaim memory and this may be > because all vnodes and thus associated data are beeing held. > > To ZFS users having problems with performance and/or stability of ZFS: > Can you test the patch and see if it helps? > >