From owner-freebsd-stable@FreeBSD.ORG Mon Feb 8 16:59:01 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 CD74E1065670 for ; Mon, 8 Feb 2010 16:59:01 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from megatron.madpilot.net (megatron.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id 71F298FC2E for ; Mon, 8 Feb 2010 16:59:01 +0000 (UTC) Received: from megatron.madpilot.net (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP id 4A3CE1BBE; Mon, 8 Feb 2010 17:59:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=mail; t=1265648334; x= 1267462734; bh=h/RUGr/46FaBwX5OTAxow7I0qcbIceXw1Mql79ItN3Q=; b=o 71RSCchB8YvhUq8xgVGL0nVeJOKlLJwvEqT4LPAOQtMP8ymvb92/iQwgIv1gh9Y8 CE6Byr8XmFw3wlKBL+Jny42UTcHf+3CiwrxuUtcum35e8i+Agu9rhUu2t8JX+UrQ yGKIEkQPZyLBHIBDTEn5LQW9NlvNAU4zzQ0ARmv9q4= X-Virus-Scanned: amavisd-new at madpilot.net Received: from megatron.madpilot.net ([127.0.0.1]) by megatron.madpilot.net (megatron.madpilot.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fx6vlrKemBe5; Mon, 8 Feb 2010 17:58:54 +0100 (CET) Received: by megatron.madpilot.net (Postfix, from userid 1000) id 1C0EC1BB7; Mon, 8 Feb 2010 17:58:54 +0100 (CET) Date: Mon, 8 Feb 2010 17:58:53 +0100 From: Guido Falsi To: Fabian Keil Message-ID: <20100208165853.GA43617@megatron.madpilot.net> References: <20100208143329.GA12057@megatron.madpilot.net> <20100208145147.GA3733@icarus.home.lan> <20100208171822.12773278@r500.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100208171822.12773278@r500.local> X-Operating-System: FreeBSD 8.0-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: ATA_CAM + ZFS gives short 1-2 seconds system freeze on disk load 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: Mon, 08 Feb 2010 16:59:01 -0000 On Mon, Feb 08, 2010 at 05:18:22PM +0100, Fabian Keil wrote: > > I experienced what I think is the same problem. ZFS's bulk disk flushes > caused vlc to occasionally stutter when viewing a DVD rip from disk while > ripping a DVD at the same time. > > My workaround is to put "vfs.zfs.txg.timeout=3" in /boot/loader.conf. > I think I read about this on zfs-discuss@. I assume on faster systems > one can use a higher value. This was a very good idea. I'm trying this and the system freezes much less if at all. Are there any drawbacks I should be aware of? I can imagine that forcing more disk writes somewhat slows down normal disk activity, but I can bear that on a desktop system. -- Guido Falsi