From owner-freebsd-chat Sun Dec 12 3:24:27 1999 Delivered-To: freebsd-chat@freebsd.org Received: from zed.ludd.luth.se (zed.ludd.luth.se [130.240.16.33]) by hub.freebsd.org (Postfix) with ESMTP id 3AF6C14E32 for ; Sun, 12 Dec 1999 03:24:23 -0800 (PST) (envelope-from pantzer@speedy.ludd.luth.se) Received: from speedy.ludd.luth.se (pantzer@speedy.ludd.luth.se [130.240.16.164]) by zed.ludd.luth.se (8.8.5/8.8.5) with ESMTP id MAA25648; Sun, 12 Dec 1999 12:24:14 +0100 Message-Id: <199912121124.MAA25648@zed.ludd.luth.se> X-Mailer: exmh version 2.0.1 12/23/97 To: Jay Nelson Cc: chat@FreeBSD.ORG Subject: Re: Log file systems? (Was: Re: dual 400 -> dual 600 worth it?) In-Reply-To: Message from Jay Nelson of "Sat, 11 Dec 1999 19:25:09 CST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 12 Dec 1999 12:24:14 +0100 From: Mattias Pantzare Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >How similar is that to the log partition in SGI's XFS? There was no > >restriction as to what spindle the log filesystem was placed. Quite to > >the contrary, it was indicated using a separate drive on a separate > >SCSI bus would help performance. > > XFS sounds a lot like AIX's JFS. Which raises the question: What is > the connection between BSD's lfs, soft updates, SGI's XFS and AIX's > jfs? Don't they all do essentially the same thing except for where the > log is written? No. lfs is a logging filesystem. You only have a log that contains everything, including all your files. The downside to this is that you have to have a garbage collector that cleans deleted data from the log. The good thing is that you never have to seek for writes. All writes are to the end of the log. http://www.cs.berkeley.edu/projects/sprite/papers/ has some papers on lfs. A journaling filesystem is like a normal filesystem but you have a transaction log that turns synchronous writes into a synchronous write to the log and a asynchronous write to the normal filesystem. This avoids seeks when latency is important. Soft updates do not have a log att all. Take a look at http://www.ece.cmu.edu/~ganger/papers/CSE-TR-254-95/. Lfs will not roll in the normal sense, it will simply discard the half done write at the end of the log if there is one. Soft updates can't do rolling as there is no log. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message