Article View: news.software.nntp
Article #35541Linux filesystems (was Re: Disk space for overview)
From: Matthew Ghio
Date: Sun, 21 Feb 1999 00:00
Date: Sun, 21 Feb 1999 00:00
25 lines
2030 bytes
2030 bytes
brad@shub-internet.org (Brad Knowles) wrote: > If you're running on PCs, I would recommend FreeBSD 3.0, since that > has the softupdates filesystem as an available option. Using async disk > writes on an ext2fs under Linux is one of the fastest ways I know of to > hose up a news spool filesystem, so much so that it can't possibly be > recovered with fsck, and you just have to newfs the sucker. I suspect the problem you refer to is not with ext2fs, but with the way that Linux handles disk writes. I have always found ext2fs to be very reliable; the worst that's ever happened to me is to lose the files that were being written to at the time the system went down. Linux uses a write back disk cache whereby blocks to be written are placed on a write-queue, and there is a kernel thread which then writes them to disk, one at a time. The problem is that if a write stalls for any reason, all writes on all disks wait until that one write either completes or times out. So if you have a slow disk in there that can't keep up, you can imagine the consequences. The worst case case scenario is if a disk crashes with several hundred writes pending, the system is completely locked up for several minutes until every single one of those write operations times out. At least that is how it is in kernel 2.0 - I haven't looked at how things are done in the recently released 2.2 kernel.
Technical Details
Message-ID:
<7aqaeb2aq@myriad-nntp>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<Pine.GSO.4.05.9902110844370.13272-100000@lily.csv.warwick.ac.uk> <brad-1102991109200001@brad.techos.skynet.be>Show Full Headers
Complete Article Headers
Message-ID: <7aqaeb2aq@myriad-nntp> Subject: Linux filesystems (was Re: Disk space for overview) Date: Sun, 21 Feb 1999 00:00:00 +0000 From: ghio@do.not.spam.myriad.alias.net (Matthew Ghio) References: <Pine.GSO.4.05.9902110844370.13272-100000@lily.csv.warwick.ac.uk> <brad-1102991109200001@brad.techos.skynet.be> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 446895182 Newsgroups: news.software.nntp