From owner-freebsd-fs@FreeBSD.ORG Thu Aug 27 09:52:25 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E87C0106568C for ; Thu, 27 Aug 2009 09:52:25 +0000 (UTC) (envelope-from numisemis@yahoo.com) Received: from web37302.mail.mud.yahoo.com (web37302.mail.mud.yahoo.com [209.191.90.245]) by mx1.freebsd.org (Postfix) with SMTP id A85A08FC39 for ; Thu, 27 Aug 2009 09:52:25 +0000 (UTC) Received: (qmail 31850 invoked by uid 60001); 27 Aug 2009 09:52:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251366744; bh=efpDWp2QmWqSRbHz75yZ5CccCRURVGyMPR108Nyeu84=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=asN6lH3i6fUbXL5E7ftymN9i5i2q3Rl4OiJGhz+hwRAtgHNQIUj5fnPjQkkMaHmVTUTPe+c3TMXsi4s3Em8GzFmlG0k+mdeDUVN0MNAPxW1Yt6FYLMaHR9hKnkrdI4X6J2OxIAycr/3N5eM/oxLjjomAhh9fufhhkYLihSJS+JA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=DkaCuJE/QzXAFE9K17ymdqGuCuq5PvW6ObPiwqs0xZs8DyzZAOGqzsQRmuENuXtqPuisAMvP1RzHx55iTtKcNsCduACwoys9lKU08riRyUAmXgwCuo/OvNOukO80Dy5vdnYCSkAXHjA/40UHbdAYcj+DiZDovXd2GWTAEi+CFck=; Message-ID: <941145.26591.qm@web37302.mail.mud.yahoo.com> X-YMail-OSG: U9VPtyIVM1nvGMMJcVNGr96.tySAHAB2fB7jMEv_dXiVkjMrVOwceEb.gEfqw7PwVvTxCKxBHc4L79L2qrawkQd0eibxxPubswFSfHv5iyaw8rbI1ssfBtbizbMjZ8tg.fOHw3uAe7Tjq.1xG5Z0wFGynTCYkjp7DqoTgM_ViJyy_tkeShxvOWq86FleRML2HBLnYUIkg8MfdzcTCuVMvSUrQ34rCuDkaMXL8eQ1fwbr_8cLNR8qL7RBTIqrnasSS8JdRsIEQ8mjmW0nm_R4HWLTCIBNkv_TPRRYdCcP1XdKJfU1sGeCdcvL7JP1McGTMcbnD0O7KpBfbKOUQacH6oKqMYps0itiYi9IUMaf0XgzTPE3ZyCX6Qdw5wUcGx2H_B7aYD2tUwKM Received: from [213.147.110.159] by web37302.mail.mud.yahoo.com via HTTP; Thu, 27 Aug 2009 02:52:24 PDT X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2 References: <4A927CB3.3040402@plus-plus.su> <4A964F4E.4080009@plus-plus.su> Date: Thu, 27 Aug 2009 02:52:24 -0700 (PDT) From: Simun Mikecin To: "Mikhail \(Plus Plus\)" In-Reply-To: <4A964F4E.4080009@plus-plus.su> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@freebsd.org Subject: Re: need help with ZFS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 09:52:26 -0000 ----- Original Message ---- > From: Mikhail (Plus Plus) > To: freebsd-fs@freebsd.org > Sent: Thursday, August 27, 2009 11:18:06 AM > Subject: Re: need help with ZFS > > Last night I installed FreeBSD-8.0BETA3 AMD64, upgraded zpool and zfs, and this > morning I did some load on FS to see if it runs more stable now. > > To stress-load the system I ran rsync from ZFS to mounted UFS volume and at the > same time I started bonie++ benchmark on ZFS volume: > > bonnie++ -s17000 -d. -n64 > > Everything worked fine for about ~90 minutes, but then system paniced. I got > escaped to "db> " prompt on local console, but I have zero debugging experience, > so I just rebooted the server. The only thing I noticed was that last mentioned > PID on the panic screen was bonnie++'s process. > > Also, I'm very confused after re-reading ZFS tuning wiki from here: > http://wiki.freebsd.org/ZFSTuningGuide ZFSTuningGuide is sometimes misleading. Better look at /usr/src/UPDATING. > > "amd64 > FreeBSD 7.2+ has improved kernel memory allocation strategy and no tuning may be > necessary on systems with more than 2 GB of RAM." > > Does that mean I no longer have to tune ZFS via loader.conf? Just better leave > it empty on FreeBSD-8.0 installation? > > Right now I'm going to continue with rsync and will start bonnie++ in parallel > keeping my loader.conf with the following values: > > vm.kmem_size="1536M" > vm.kmem_size_max="3072M" > vm.pmap.shpgperproc="1024" > vfs.zfs.arc_min="256M" > vfs.zfs.arc_max="384M" > vfs.zfs.vdev.cache.size="50M" > vfs.zfs.prefetch_disable="1" > kern.maxproc="20000" Since FreeBSD 7.2 no additional ZFS tuning in loader.conf is needed (on amd64). You should remove all those settings from loader.conf, reboot, and re-run the tests. Maybe, just maybe you get a panic just because of those settings.