Article View: news.software.nntp
Article #32030Re: Choosing a new news server
From: Frank Durda IV
Date: Wed, 07 Oct 1998 00:00
Date: Wed, 07 Oct 1998 00:00
103 lines
6883 bytes
6883 bytes
Paul Coen (pcoen@forest.drew.edu) wrote: : Our current news server is a DEC Unix box (AXP 3000-900) with 128 meg : of RAM. It does fine for a small feed -- we're getting news.*, most : we don't stay with DEC Unix for the other platforms, paying maint. : and support on the 3000-900 doesn't make much sense. : I'm not sure if I'd want to replace it with (1) a server-class PC : running Linux, (2) a server-class PC running Solaris, or (3) a Sun : Sparc system. I find myself in a similar situation, using a 2100A to inject articles using INN 1.x into a NFS-mounted Auspex Disk farm, and multiple 2100As to handle newsreaders. This is a somewhat larger setup than you have, as we rarely have fewer than 700 readers, with peaks of over 1400 readers. Due to a series of performance flaws in OSF that we have been battling DEC (now Compaq) over for a long time (ticket will be open 20 months Thursday), we are migrating to a Pentium-II FreeBSD-based box to do the article injection, a platform that in initial tests demonstrated that it is faster at the same task to the same target NFS filesystems and doesn't bind-up like OSF does when your applications happen write to disk a lot. The bugs in DEC OSF include not freeing any blocks on the write queue until every single one of them has been written to disk. Yes, you read that correctly and it happens even on a sync() call. And thanks to UBC, that could be 300 or 400Meg of pending writes taking a couple of minutes to completely write. The end result is that programs stall waiting for memory that is all tied-up waiting for the five hundred thousandnth block on the write queue to be written, before the previous 499 hundred thousand successfully already written blocks are freed and made available to processes for things like page-in or file reads. That's just one of the "oops" OSF problems, but almost all of the bugs really hurt performance when you have dbx or dbm files being updated, which INN sorta does, particularly expire/makehistory. (Even mkpassed impacts other programs.) Almost all of the OSF problems hurt writing operations, so systems that are averaging 90% or more reads aren't impacted as much. It's kind of crazy to have multiple CPUs almost idle and all the programs are blocking on page-in or directory stat operations for minutes at a time at its worst. The system ends up with two operating states: (1) Writing lots of stuff to disk or (2) running processes and doing disk reads. You almost never see it doing both at the same time. DEC has finally (in past two months) gotten serious about dealing with these bugs, and we'll use the eventual fixes on our other systems, but they have lost the article injection job here. When we finally decided to abandon DEC OSF for this application, we found the cost of going to Sun and getting the same computational power was almost the same as sticking it out on DEC/Compaq hardware, so that option was out. : server systems enough, or overkill? I'm planning on specifying more : RAM -- at least 512 MB, and increased storage. I believe I ordered 1GB of RAM for the letnI-based box, but then the flat history file I use is over 1GB (six day remember so its mostly online articles) and the .pag file is over 300Meg. Expire will start swapping/paging badly if you don't have 2.2X the .pag file size in program memory available during the news.daily run (innd is also running at that moment and has the old .pag file in memory too), so don't forget to consider that. You don't want expire/makehistory to decide to build the new .pag file on disk rather than incore, nor do you want it to try to build it incore and end up doing massive VM paging. It is extremely slow, like several hours vs several minutes. Due to the constant stability problems of Linux platforms in an ISP operating environment, none of our PC systems use Linux. A lot of neighboring ISPs and our own co-los do use Linux, and we see some of the owners daily, coming in to reboot the boxes and working to recover filesystems after this or that attack was launched against their box that either crashed it immediately or drove it into the ground over several hours of continuous pounding. If you aren't in that sort of environment where a bunch of IRCers will decide to SYN-attack, ping-bomb, redirect-bomb, inetd-bomb, OOB-Bomb, frag-bomb, etc, your systems six times a day, or if you can hide the box behind strong external firewalling, then one of the Linux systems is probably ok for this application. I still can't recommend Linux, even if Intel is funding one particular variant. If money equaled stable, Windows '98 would never crash. For the record, my ISP uses FreeBSD on all of its PC systems that provide ISP services. (If they had a SMP version that worked on a 2100, they would be running FreeBSD on the Alphas too.) Sure, all of these boxes get attacked constantly, but we haven't had any die as a result of the various attacks in over a year. FreeBSD, IMO, weathers the attacks a lot better and has a unified voice when it comes to addressing new attacks, something that really matters in my business. When attackers find they can crash or break-into your box, they will share that information with other people who also do attacks and the box in question will be constantly unusable until a fix for the attack is available, making the service that box provides unavailable to authorized customers. Not an acceptable situation for an ISP. Although OSF has its weak points, withstanding external attacks is not one of them. DEC OSF has handled almost all of these quite well and they have had patches in reasonably short order for the ones they didn't handle out of the box. Frank Durda IV - only these addresses work:|"The Knights who say "LETNi" <uhclem.oct98%nemesis.lonestar.org> | demand... A SEGMENT REGISTER!!!" |"A what?" This Anti-spam address expires Oct. 31st |"LETNi! LETNi! LETNi!" - 1983 (c) 1998, ask before reprinting.
Technical Details
Message-ID:
<D7C91EA40057F0B9.BA952C75074CB042.B5F1203179A81D0D@library-proxy.airnews.net>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:
<SVGhL5hj$MZr@forest>Show Full Headers
Complete Article Headers
Message-ID: <D7C91EA40057F0B9.BA952C75074CB042.B5F1203179A81D0D@library-proxy.airnews.net> Subject: Re: Choosing a new news server Date: Wed, 07 Oct 1998 00:00:00 +0000 From: uhclem.oct98@nemesis.lonestar.org (Frank Durda IV) References: <SVGhL5hj$MZr@forest> 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: 398501703 X-Orig-Message-ID: <6ven1j$vf4@library3.airnews.net> NNTP-Posting-Time: Tue Oct 6 22:26:43 1998 Organization: The Big Blue Box NNTP-Proxy-Relay: library3 Abuse-Reports-To: abuse at airmail.net to report improper postings Newsgroups: news.software.nntp