From owner-freebsd-current@FreeBSD.ORG Fri Sep 14 11:08:16 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1C9416A417 for ; Fri, 14 Sep 2007 11:08:16 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.229]) by mx1.freebsd.org (Postfix) with ESMTP id 8C8A513C458 for ; Fri, 14 Sep 2007 11:08:16 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so433821wra for ; Fri, 14 Sep 2007 04:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; 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:content-transfer-encoding:content-disposition:references; bh=RUv0/ojsyDLmu7YOh4sJmfz2akBQU4KgrJ5OylogjGQ=; b=ZLJHxbcRgrIe4fwgJE8mIvibIddKld14Ge0mVPMaGBTNCpVZqweRABgOA6Bu4ofwZqSebuJJ5mPRMJs0MB6WS56rPW35pfeuRxuAHATtnI7a00JfPrs8ugMJvecHlOZrlCFlbGtD/pYYfpnV6rwjxlhsu2iPN+eNpx+08FRtuhE= 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:content-transfer-encoding:content-disposition:references; b=FqlC0lzfjI/2NhXYHE/T8n9WJvHdrmYfjNMI9c59fS+WciBlVVl5aodCUPv/Uk8v39pH0IyqpifANrkPw/sQwNqWd3xQ/GP/MCDvFtFq7I1fWVlNqiqGRmRwb3KnWm5fVf9vQtvG87XEsTO8aHyEShV2XJWlJhQSACsj0JpCwnY= Received: by 10.78.177.3 with SMTP id z3mr925756hue.1189768094239; Fri, 14 Sep 2007 04:08:14 -0700 (PDT) Received: by 10.78.173.13 with HTTP; Fri, 14 Sep 2007 04:08:14 -0700 (PDT) Message-ID: <7ad7ddd90709140408p49468629hd01e41c6c8820a3a@mail.gmail.com> Date: Fri, 14 Sep 2007 13:08:14 +0200 From: "Ulrich Spoerlein" To: "Brandon Weisz" In-Reply-To: <1189721343.17751.20.camel@section-8.ipv6.avioc.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070906184853.GB90021@roadrunner.spoerlein.net> <20070910195833.GE1103@garage.freebsd.pl> <70e8236f0709131425h2f651c32j5e23d7901ce6e1f7@mail.gmail.com> <1189721343.17751.20.camel@section-8.ipv6.avioc.org> Cc: Joao Barros , Pawel Jakub Dawidek , current@freebsd.org Subject: Re: ZFS not caching right? 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: Fri, 14 Sep 2007 11:08:17 -0000 On 9/14/07, Brandon Weisz wrote: > On Thu, 2007-09-13 at 22:25 +0100, Joao Barros wrote: > > This happened 1 day after compiling new sources: > > panic: kmem_malloc(90112): kmem_map too small: 329805824 total allocated > > when writing through NFS. > > Machine has 1GB of ram and: > > vfs.zfs.arc_min: 16777216 > > vfs.zfs.arc_max: 251658240 > > > > I hadn't had any panics with sources from August 16 but before your > > recent changes vfs.zfs.arc_max was 167772160 > > kern.maxvnodes is not set to 50000 as recomended ( on purpose ) and is > > currently at 52242 set by the system. Is 50000 still recomended after > > your changes? > > > > Just a "me too" - > > I am also seeing "kmem_map too small" panics on a amd64 NFS server with > 1 GB ram after the recent zfs changes. setting > vm.kmem_size_max="402653184" seems to have stopped the panics, however > this was not needed previously. Hmm, it's solid for me. i386 with 1GB RAM and arc_max of 128MB (instead of 256MB). maxvnodes is set to 50k and kmem is at its system tuned default. Uli