From owner-freebsd-questions@FreeBSD.ORG Thu Nov 20 21:31:47 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5E791065672 for ; Thu, 20 Nov 2008 21:31:47 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id AACA48FC0A for ; Thu, 20 Nov 2008 21:31:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2) with ESMTP id mAKLVX9i017394; Thu, 20 Nov 2008 22:31:33 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.2/Submit) with ESMTP id mAKLVWsm017391; Thu, 20 Nov 2008 22:31:33 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 20 Nov 2008 22:31:32 +0100 (CET) From: Wojciech Puchar To: Tsu-Fan Cheng In-Reply-To: Message-ID: <20081120222909.K17356@wojtek.tensor.gdynia.pl> References: <02c801c94b40$4b6a2f10$e23e8d30$@za.net> <20081120204756.O16829@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org, Marcel Grandemange Subject: Re: ZFS Recovery Tools X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2008 21:31:47 -0000 > Hi, > I was just reading stuff about ZFS, and wonder if it would be > beneficial for me to use it. I store a lots of multimedia files in my > HD, they usually have the size of > 1GB (e.g. 1.2, 1.7 or even > bigger), and my system is running UFS. simply use UFS with big blocks (-b 65536 -f 8192) will be OK. BTW i have such change in param.h on every system i have: --- param.h~ 2008-10-09 20:49:54.000000000 +0200 +++ param.h 2008-10-09 20:49:54.000000000 +0200 @@ -121,7 +121,7 @@ #define DFLTPHYS (64 * 1024) /* default max raw I/O transfer size */ #endif #ifndef MAXPHYS -#define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ +#define MAXPHYS (1024 * 1024) /* max raw I/O transfer size */ #endif #ifndef MAXDUMPPGS #define MAXDUMPPGS (DFLTPHYS/PAGE_SIZE) no idea why it's not the default. > so can I buy a new HD, say 500GB, and format it ZFS style and use it > along with other UFS? and will ZFS performs better than UFS in my there may be slight (if any) speedup with transfer speed, and HUGE (like 10x) increase in CPU load. on slower CPUs transfers will be actually slower.