Article View: news.software.nntp
Article #6430Re: Poor performance with INN and FreeBSD.
From: Karl L. Swartz
Date: Tue, 09 Apr 1996 00:00
Date: Tue, 09 Apr 1996 00:00
65 lines
3982 bytes
3982 bytes
In article <4ipb5c$24om@usenetw1.news.prodigy.com>, bill davidsen <davidsen@tmr.com> wrote: >Why are you worried about batch and unbatch, or feed times? Are you >really running a news server with enough news to be a problem and >few enough readers that they are NOT the problem? I'm worried about batch and feed times because they're the critical path. A full feed is around 750,000 or more articles per week. If you take one second to process each accepted article (never mind the ones you reject), you're screwed, because there aren't 750,000 seconds in a week. Hopefully there's some parallelism with multiple feeds, but you still don't have a lot of time. Readers don't have nearly the volume. I look at a handful of groups and, of the stuff offered from NOV data, I might look at a few hundred. Say 500 articles, an exceedingly generous amount. If it takes a second or two to pull up each article, I might get mildly cranky, not nothing dire will happen. If there were 100 readers on the system who were as active as I am, that's still only 50,000 articles being read per week, not even 10% of the total flowing through the system. >Having run on a log filesystem (JFS on AIX), I can tell you that the >log file is the bottleneck. To get performance up, first I put the >logfile on a dedicated disk (cut expire time by 3), and then on a >dedicated solid state disk (cut expire time by 3 again). As Peter correctly noted, AIX's JFS is not a log-structured filesystem. It's a fairly conventional filesystem, with a separate journal which is log-structured. That's an entirely different animal. >| One of the attractions to >| the "toaster" is that you just throw more disk at it when necessary, without >| worrying about where exactly it should go. With disks being cheap and >| reduction in staffing being plentiful, that's very attractive. >Yes, but adding disk on striped filesystems is not generally easy, >and the performance hit by not striping, at least for readers, is >just not acceptable. Who said anything about striped filesystems? True striping is foolish for news anyway -- it's forte is with large files, exactly the opposite of what you see with news. For news you'd want concatenation, and in that case it's generally pretty easy to add another disk. Right now I'm using Sun's OnLine:DiskSuite and adding a disk is trivial. You'll still get better performance than one larger disk, though not for one individual article. [My experience with concatenation vs. striping is at a variance with Karl's statement. Jerry Aguirre has posted on this issue in the past, and the upshot seems to be that striping does indeed work better for news. --mod] The Network Appliance "toaster" uses RAID 4 but adding a disk is even more trivial than with OnLine:DiskSuite. You plug in a 4 GB disk and tell the system to use it, and you've got an added 4 GB (minus some overhead). -- Karl Swartz |INet kls@unixhub.slac.stanford.edu SLAC Computing Services | or kls@chicago.com 1-415/926-3630 |UUCP uunet!lll-winken!unixhub!kls -or- ditka!kls (SLAC and the US Dept. of Energy don't necessarily agree with my opinions.)
Technical Details
Message-ID:
<DpHI0o.2A6@unixhub.SLAC.Stanford.EDU>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mailReferences:
<311F8C62.4BC4@pluto.njcc.com> <4go23v$8hp@fozzie.sun3.iaf.nl>Show Full Headers
Complete Article Headers
Message-ID: <DpHI0o.2A6@unixhub.SLAC.Stanford.EDU> Subject: Re: Poor performance with INN and FreeBSD. Date: Tue, 09 Apr 1996 00:00:00 +0000 From: kls@MAILBOX.SLAC.Stanford.EDU (Karl L. Swartz) References: <311F8C62.4BC4@pluto.njcc.com> <4go23v$8hp@fozzie.sun3.iaf.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail X-Deja-AN: 146560714 Distribution: world Sender: zorch@ftp.UU.NET Organization: Stanford Linear Accelerator Center Newsgroups: comp.unix.bsd.freebsd.misc,news.admin.technical,news.software.nntp