From owner-freebsd-fs@FreeBSD.ORG Thu Apr 17 14:50:59 2008 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 E2A48106564A for ; Thu, 17 Apr 2008 14:50:59 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.191]) by mx1.freebsd.org (Postfix) with ESMTP id A4F438FC13 for ; Thu, 17 Apr 2008 14:50:59 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by rn-out-0910.google.com with SMTP id j40so52664rnf.12 for ; Thu, 17 Apr 2008 07:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=boN1+YNBhr01F+ypm+Gvahw/mey/LfJHa4P4seFcXOY=; b=cxcCIySP3oilMm+TRb+f1WJX/YRezJ6tTvq1e86yT51VOeUOxhHa0AvzH9+2Au31ec2gmgVnlrWXV8LyhlvnAk4yO4bnhLIHn9YLdQbM0CN6WxCAc49JqVJZkRe2x3kx8YYAKwxWPagjdzRVEjbr+MhOIcrSjG1+aNo4oa2DhY8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XEEu/3MB4PlBUoKBOkoS6CKLEIeyrEAUBSz+6TVkk/4/nvzJA1jJuXSdTfNhpTC2I9DHEATaerkfvf2YSi635f0Ec1Qgtyxp5hVQaVuqyHNgqapRQYvVD4bZsgHq8pQO6SM2f5e9oB5oQd9WvOM3BIwdlqrOSqUCsiS3jkKYRck= Received: by 10.142.106.18 with SMTP id e18mr466451wfc.111.1208442181152; Thu, 17 Apr 2008 07:23:01 -0700 (PDT) Received: by 10.143.195.1 with HTTP; Thu, 17 Apr 2008 07:23:01 -0700 (PDT) Message-ID: <70e8236f0804170723i13136c11scca7a818a7ffc89b@mail.gmail.com> Date: Thu, 17 Apr 2008 15:23:01 +0100 From: "Joao Barros" To: "Daniel Andersson" In-Reply-To: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: Choppy performance. 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, 17 Apr 2008 14:51:00 -0000 On Tue, Apr 15, 2008 at 11:29 PM, Daniel Andersson wrote: > > I just noticed that I didn't set vfs.zfs.prefetch_disable=1. I don't get the > deadlocks but could > the prefetch_disable fix my problem? > Turning off prefetch improved my workload (I play video from it for ex, no more skiped frames) > > I'm currently running a raidz pool with only two disks. Is there some way to > turn > off the mirroring? I don't really care if the stuff on the disks get > corrupted/broken. > I would however like to get 1TB instead of 500MB. =P raidz isn't mirroring, that would be the mirror option. You loose one disk's storage for parity when you use raidz, and since you only added 2 disks to that raidz you lose 50% of your storage space. It has the appearance of mirroring but in fact it's not. Your choice of a raidz was wrong for what you really needed and you have to destroy the raidz pool to be able to change it. Instead of using: zpool create yourpoolname raidz disk1 disk2 use: zpool create yourpoolname disk1 disk2 -- Joao Barros