From owner-freebsd-fs@FreeBSD.ORG Sat Jan 22 17:27:19 2011 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 C4D44106566B for ; Sat, 22 Jan 2011 17:27:19 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 04A4E8FC08 for ; Sat, 22 Jan 2011 17:27:19 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 02B26E8322; Sat, 22 Jan 2011 17:27:17 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=qe9xcSJD85Nr rg4iPX3aKqibRTs=; b=m4mStQu01kRFnlLPdzF2Ex+AecIxYGqJ1nQd3LL4mDis Bt6SmotvRQt0JHGr1K6QRGoq6iQt+hASRJHo0WgbYvx/UyQEnqkRDVaZMQZhjxtc PNgs6TAIErhBMfiBc+63OuVyem6/ZuoYducAE7CFYlssCSnoLK32n3Ujp713fUM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=b60HTX 4zJ9hmWWQDKp1KQ3sVyzkoF2qkrLFv84tJuWCn3Kl350rDHgYee+aGArHJxcjuqR bdP9Gyb4tgyjNb2qKuWzQJ5TzXIuMOpx8oqQ2wZe8EvWYhr+yjz+gVbZD4CT+iS1 Q6PSMeCfAMyeTX9OG0/uENVkTpHgRPGLV5Jo4= Received: from unknown (client-86-23-95-6.brhm.adsl.virginmedia.com [86.23.95.6]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id AE683E8321; Sat, 22 Jan 2011 17:27:16 +0000 (GMT) Date: Sat, 22 Jan 2011 17:27:14 +0000 From: Bruce Cran To: Karl Pielorz Message-ID: <20110122172714.00002274@unknown> In-Reply-To: References: <1ABA88EDF84B6472579216FE@Octa64> <20110122111045.GA59117@icarus.home.lan> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: Write cache, is write cache, is write cache? 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: Sat, 22 Jan 2011 17:27:19 -0000 On Sat, 22 Jan 2011 15:51:21 +0000 Karl Pielorz wrote: > I'll have a look at those - I'm more interested in finding a tool > that will write data both with, and without the "don't cache this" > flag(s) set - to see if the performance is the same (you would hope > that regardless of the BIOS setting that writing entirely data that's > marked not to be cached, the performance would 'sink' back down to a > sedate 12Mbytes/sec) - if it doesn't, something is lying somewhere :) sysutils/fio supports that: just add "fsync=x" to the configuration file and it'll send a request to the OS to flush the data to disk every x blocks. -- Bruce Cran