Article View: news.software.nntp
Article #35859Re: Solaris 7 64-bit and INN 2.2 traditional spool
From: logan_shaw
Date: Mon, 08 Mar 1999 00:00
Date: Mon, 08 Mar 1999 00:00
52 lines
3647 bytes
3647 bytes
In article <7c0ptm$oj3$1@drum.msfc.nasa.gov>, porter.clark@msfc.nasa.gov (J. Porter Clark) wrote: > brad@shub-internet.org (Brad Knowles) writes: > you can buy the Veritas VxFS journaling filesystem and get > >*much* better performance than you'd ever see out of UFS logging. > > I keep hearing good things about journaling and UFS logging. But I > thought that either of these techniques merely pushed the chore of > updating metadata to another disk, which then becomes the bottleneck > unless that disk is extremely fast. Am I wrong? It is true, of course, that the operations are still disk operations and they are just moved to another disk (except with Solaris 7's ufs logging, where the log is stored inside the same partition). However, the nature of a log is that it's faster for certain kinds of updates than a traditional filesystem, at least the way I understand it. A log is basically a big circular buffer, and all updates are appended to the end of the log. The same record may appear twice in the log; if so, the second one is the correct one. Thus, all changes to the filesystem can be accomplished by simply making some sequential writes, at least until the log fills up. (When it does, its data is then flushed to the "real" filesystem.) So, the point is that not that the disk is faster, but that the pattern of access is sequential rather than random, and you can get better performance this way. You won't necessarily get better performance because the log must be flushed when it fills up, and this could take away all the benefit of the log under certain circumstances like maybe a constantly heavy load. And then there are other approaches, too. In theory, you can buy a nice fast 10000 RPM drive for logging even if you can't afford 10000 RPM drives for everything else, and that might improve performance. Or, you could even stripe the log across disks in theory. And, I'm not sure, but a RAID5 disk may be slower in updating than even a normal disk (because the parity stuff must be computed), so a log might help out there too. Please note that I am not an operating systems researcher, I don't have source code to Solaris (or Veritas or anything else), and I don't work for Sun, so maybe I'm completely wrong. What I've said is based on a small to medium amount of generic knowledge of how log-structured filesystems work and experiences with Solaris 7 (such as a script that creates 2000+ symbolic links which magically runs faster if I have ufs logging turned on). - Logan -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Technical Details
Message-ID:
<7c1234$dgo$1@nnrp1.dejanews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<7beca7$9do$1@drum.msfc.nasa.gov> <7bij2k$aah$1@nnrp1.dejanews.com> <brad-0303990949090001@brad.techos.skynet.be> <7c0ptm$oj3$1@drum.msfc.nasa.gov>Show Full Headers
Complete Article Headers
Message-ID: <7c1234$dgo$1@nnrp1.dejanews.com> Subject: Re: Solaris 7 64-bit and INN 2.2 traditional spool Date: Mon, 08 Mar 1999 00:00:00 +0000 From: logan_shaw@yahoo.com References: <7beca7$9do$1@drum.msfc.nasa.gov> <7bij2k$aah$1@nnrp1.dejanews.com> <brad-0303990949090001@brad.techos.skynet.be> <7c0ptm$oj3$1@drum.msfc.nasa.gov> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 452617464 X-Http-Proxy: 1.0 x3.dejanews.com:80 (Squid/1.1.22) for client 24.93.61.191 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Mar 08 17:40:54 1999 GMT Newsgroups: news.software.nntp,comp.unix.solaris X-Http-User-Agent: Mozilla/4.5 [en] (X11; U; SunOS 5.7 i86pc)