From owner-freebsd-questions Sun Apr 16 11:36:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 43EBF37B52C for ; Sun, 16 Apr 2000 11:35:56 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e3GJ3Fh00419; Sun, 16 Apr 2000 12:03:15 -0700 (PDT) Date: Sun, 16 Apr 2000 12:03:15 -0700 From: Alfred Perlstein To: Rasmus Skaarup Cc: freebsd-questions@FreeBSD.ORG Subject: Re: disc io - sync and async Message-ID: <20000416120315.W4381@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from rasmus@gal.dk on Sun, Apr 16, 2000 at 04:02:12PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Rasmus Skaarup [000416 07:30] wrote: > > Hi, > > Recently I posted a question about disc perfomance, FreeBSD vs. Linux, and > learned that Linux by default mounts the drives in async mode where > FreeBSD mounts them in sync mode. > > 2 questions arise: > > - Why is sync mode more secure? (I was told that a recovery would be less > painful if drives are mounted in sync mode - in case of a breakdown.) It's not 'sync' it's 'non-async', a 'sync' mount means that no caching is done, a 'non-async' mount means that meta-data operations are done 'sync'. Please see: http://www.ece.cmu.edu/~ganger/papers/CSE-TR-254-95/ for an explanation. > - Why does a simple 'mount' command tell me that both sync and async reads > and writes are being performed on me FreeBSD box? Because it looks cool? :) -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message