From owner-freebsd-stable@FreeBSD.ORG Wed Dec 29 00:22:57 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67A18106566C for ; Wed, 29 Dec 2010 00:22:57 +0000 (UTC) (envelope-from fvhemert@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2546C8FC08 for ; Wed, 29 Dec 2010 00:22:56 +0000 (UTC) Received: by gwj21 with SMTP id 21so5354588gwj.13 for ; Tue, 28 Dec 2010 16:22:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=el0yTk7ocaNiM9thDWyX82kbd0tuuDrXDFJkhomrFhU=; b=Tx8NWtw41nYlJBWooqFiRSp0qUD/OoJT48rgpuOMqUXLkE3990B2sQTFV0/l6MbI4q RKqGUWC0ISCDKxPDIltn/BaW2hDBY4yFmucIzuSNExQ3mXE2BNIpv58DGM6Yf6IiBvzn erMWsGLt2bU0wzWiVXddRS5viYn+/AUSqwTQQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=g/tm8NeD8Bi0BPTb6MfpGLNn4dQibxnRyC0bA5bhhLTQmOWwcgkK5Fg5JHzasFsI/l H0bEmFDOXOESsa/V8Lp7cbP4CQHQKG1BSDF1Vx/MxfyWMW4uLpawuW5+w3qvZTOwsQQA z36Zt4/YJukU53BM4aCdlP+mj2e5mGIUI/V2I= MIME-Version: 1.0 Received: by 10.100.173.20 with SMTP id v20mr5765825ane.133.1293580617793; Tue, 28 Dec 2010 15:56:57 -0800 (PST) Received: by 10.101.5.31 with HTTP; Tue, 28 Dec 2010 15:56:57 -0800 (PST) Date: Wed, 29 Dec 2010 00:56:57 +0100 Message-ID: From: Freek van Hemert To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: slow ZFS on FreeBSD 8.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2010 00:22:57 -0000 Hello everyone, This is my first mail on the mailinglist and I very much appreciate this option of getting some help. I have a question regarding zfs on freebsd. (I'm making a home server) This afternoon I did a "zpool create data mirror ad4 ad6" Now I'm copying things from my ufs2 disk into the 2TB zpool, it is very slow. I'm on freebsd 8.1 amd64 on an atom n330 with 2 sata disks, gstat tells me I'm going at around 2 mbps at near 100 %busy while the ufs2 drives are near 0. Also, ufs2 to ufs2 was much faster (I estimate about 10 times faster). How do I tune? The wiki is not helpful for amd64 users stating that the defaults should be optimal. I'm using the 8.1-stable version which has just been installed this afternoon from a minimal install iso. I'm copying from a single ufs2 pata drive into a sata zpool mirror. I have 2GB of ram. Top tells me: 761 MB Active, 790 Inactive and there is hardly any cpu usage (96-98% idle). vfs.numvnodes: around 12500 now (after several hours of copying) and stil slowly rising. Hope you can help me. Freek (from the Netherlands)