From owner-freebsd-current@FreeBSD.ORG Thu Sep 13 21:53:52 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 5315616A417 for ; Thu, 13 Sep 2007 21:53:52 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.180]) by mx1.freebsd.org (Postfix) with ESMTP id 08F9A13C45A for ; Thu, 13 Sep 2007 21:53:51 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by el-out-1112.google.com with SMTP id r27so177984ele for ; Thu, 13 Sep 2007 14:53:51 -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=vNWuU3MOtixs/FUeROYZh+/livgm6Vhxu5LS2Xwy/z4=; b=fz40gw8WHh420865jGrJbsvf1DrKOlmbjmlHYgAyjWzImpa4Q5ck/EARn4kyg52K12eL3dkE2Jk0xuYYkS4nI36SEvelJb7Vn9k/HaLJIAP63NqbIxZgCzHmeUwqS+3iLK6JoPi7bQC/NZiJbupqqlA2wIV/YGdhAhRezprDmhY= 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=aX0FtK83NGz7zikkpf0XmN/7SUN3jLc7aMYE+ua3UaX9bDsfL9/rIq0y2LJ9AUY0Dmpl41aTiOEuI3B7mXF0DgW1xpykW8QOKutMA6GGbn21JPmQHWRxocUHWow4uwOi5oyPnJPZ2ZtSsl+7g9eW38Ch8xnIM62IejPUftP6IiA= Received: by 10.78.159.7 with SMTP id h7mr656113hue.1189718732461; Thu, 13 Sep 2007 14:25:32 -0700 (PDT) Received: by 10.78.187.16 with HTTP; Thu, 13 Sep 2007 14:25:32 -0700 (PDT) Message-ID: <70e8236f0709131425h2f651c32j5e23d7901ce6e1f7@mail.gmail.com> Date: Thu, 13 Sep 2007 22:25:32 +0100 From: "Joao Barros" To: "Pawel Jakub Dawidek" In-Reply-To: <20070910195833.GE1103@garage.freebsd.pl> 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> Cc: 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: Thu, 13 Sep 2007 21:53:52 -0000 On 9/10/07, Pawel Jakub Dawidek wrote: > On Thu, Sep 06, 2007 at 08:48:53PM +0200, Ulrich Spoerlein wrote: > > Hi, it's me again with another stupid question, > > > > ever since I switched my /usr and /home to ZFS, the system has become > > _very_ unresponsive under load. This is not because of CPU load, but I/O > > load. > > Can you try recent HEAD? I committed a change that allows ZFS cache > (ARC) to use more memory. This should be safe after dfr@'s vnode leak > fix and should also help performance. > > -- > Pawel Jakub Dawidek http://www.wheel.pl > pjd@FreeBSD.org http://www.FreeBSD.org > FreeBSD committer Am I Evil? Yes, I Am! > > This happened 1 day after compiling new sources: panic: kmem_malloc(90112): kmem_map too small: 329805824 total allocated when writing through NFS. On FreeBSD xeon.bsdtech.org 7.0-CURRENT FreeBSD 7.0-CURRENT #8: Tue Sep 11 00:08:39 WEST 2007 root@xeon.bsdtech.org:/usr/obj/usr/src/sys/GENERIC i386 Machine has 1GB of ram and: vfs.zfs.arc_min: 16777216 vfs.zfs.arc_max: 251658240 vfs.zfs.mdcomp_disable: 0 vfs.zfs.prefetch_disable: 1 vfs.zfs.zio.taskq_threads: 0 vfs.zfs.recover: 0 vfs.zfs.vdev.cache.size: 10485760 vfs.zfs.vdev.cache.max: 16384 vfs.zfs.cache_flush_disable: 0 vfs.zfs.zil_disable: 0 vfs.zfs.debug: 0 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? -- Joao Barros