Thread View: news.software.nntp
119 messages
119 total messages
Page 1 of 3
Started by Wang Haw
Mon, 13 Sep 1999 00:00
Page 1 of 3 • 119 total messages
news spool area exported from NFS
Author: Wang Haw
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
22 lines
1599 bytes
1599 bytes
I am using inn-1.7.2.insync-1.1d running on Alpha Server DU4.0d as my news server, instead of using local SCSI storage for my news spool area, ie /var/spool/news, we employ NetApp Filer as spool area and NFS mount on the news server, we discover the disk usage increase abnormally even we added 80GB of harddisks ( I assume the disk usage will maintain at reasonable stable level because of the news articles expiration mechanism ), could anyone tells me is there anything wrong using NFS as spool area (which I doubt), or by using NFS, do I need to modify any of the inn-1.7.2.insync-1.1d scripts? Note that I don't symbolic link, the configuration 10.0.0.1:/news 375559376 245090144 130469232 66% /usr/local/news 10.0.0.1:/spool 375559376 245090144 130469232 66% /var/spool/news 10.0.0.1:/log 375559376 245090144 130469232 66% /var/news the /var/spool/news, /var/news and /usr/local/news are all on the Filer. -- Best regards, Wang Haw
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
27 lines
1932 bytes
1932 bytes
In article <7rhmg7$gmh$1@coco.singnet.com.sg>, Wang Haw
<wh@singapura.singnet.com.sg> wrote:
> could
> anyone tells me is there anything wrong using NFS as spool area (which I
> doubt),
I think it depends on how much of a full feed you're handling.
However, NFS writes suck badly enough that you generally don't want to try
to use it to handle a "classic" news spool format.
NFS might be fine for Cyclical News File Storage (CNFS), but then CNFS
is only supported in INN 2.2 and later, and there are some outstanding
issues right now with reader performance under INN 2.2. Although INN 2.3
is going to address these issues, it is not yet ready.
If you're going to use traditional spool format, I would encourage
avoiding NFS and instead to do all disk writes locally to the machine,
although you could then use that machine as an NFS server to allow the
news reader servers to mount the spool across the network.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Re: news spool area exported from NFS
Author: Greg Andrews
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
33 lines
2358 bytes
2358 bytes
brad@shub-internet.org (Brad Knowles) writes: > > I believe that there are other people on this newsgroup (much better >known than I am) who can speak with a lot more authority on how well >things like NetApps scale (or don't) to handling ~1TB of news online at >~50GB/day rates, and IIRC, they have done so in the past. Searches on >DejaNews should turn up articles in which they have expressed their >opinion. > Your posts are great, Brad, but you're so myopic. Many admins approach problems from a perspective that says "this solution worked for a small site, it'll work for a large one", you err on the side of the opposite extreme: "it won't work for the most enormous sites on the Net, so it's not worth considering." Can't you see that different solutions can be applied to different-sized sites? NetApps don't have to scale to handling 1TB of news at 50GB/day rates. In fact, I don't believe anyone ever suggested they could (or should). They can work very well for small sites, as long as the potential shortcomings are exposed so the site admins understand how to use them. Not "oh they'll work for any news spool", nor "they're not worth using for any news spool", but "they can be useful as long as you're not trying to take a feed larger than XXGB per day". -Greg -- ::::::::::::::::::: Greg Andrews gerg@wco.com ::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Re: news spool area exported from NFS
Author: Joe Greco
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
29 lines
2042 bytes
2042 bytes
In news.software.nntp article <1rlnaa7fjo.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: :[Brad Knowles] :> I have experience with NetApps. Write performance still sucks :> rocks. That's inherent in the NFS protocol. They simply are not :> well suited for running a traditional USENET news spool, although :> they can be made to function passably well with CNFS. : :You are the only person I know who do _not_ like using NetApps for :news, and especially in combination with INN 1.7.2 and traditional :spool. I do not like NetApps for news. Now you can say you know two people who don't like them. And I know others, if you're desperate. It has nothing to do with the NetApp per se and everything to do with NFS. Unfortunately, the NetApp speaks NFS so it is inherently crippled by association. NFS is good for booting my Xterminal. And then, only sometimes. :Write performance is not an issue, IMO, it is read performance that :matters for speedy service to readers. Either way, lots of overhead. And very difficult to do failover. Use NNTP. Works better, less filling. Diablo rules. ... JG
Re: news spool area exported from NFS
Author: Greg Andrews
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
37 lines
2575 bytes
2575 bytes
Wang Haw <wh@singapura.singnet.com.sg> writes: >I am using inn-1.7.2.insync-1.1d running on Alpha Server DU4.0d as my news >server, instead of using local SCSI storage for my news spool area, ie >/var/spool/news, we employ NetApp Filer as spool area and NFS mount on the >news server, we discover the disk usage increase abnormally even we added >80GB of harddisks ( I assume the disk usage will maintain at reasonable >stable level because of the news articles expiration mechanism ), could >anyone tells me is there anything wrong using NFS as spool area (which I >doubt), or by using NFS, do I need to modify any of the inn-1.7.2.insync-1.1d >scripts? Note that I don't symbolic link, the configuration >10.0.0.1:/news 375559376 245090144 130469232 66% /usr/local/news >10.0.0.1:/spool 375559376 245090144 130469232 66% /var/spool/news >10.0.0.1:/log 375559376 245090144 130469232 66% /var/news > >the /var/spool/news, /var/news and /usr/local/news are all on the Filer. > Do NetApps still allocate disk space in 4K blocks? That can make a news spool swell by 30-35%. Another thing to check is the maxfiles parameter. Make sure it's large enough to handle when your spool is fullest (usually just before a late-night expire starts). Also make sure you have snapshots turned OFF. (you probably already have them off, but make sure they weren't turned on by mistake) The main thing wrong with NFS is that it's slower than local disks. If your feed does not include group hierarchies that increase the volume by hugh amounts, then the slowness might not be a problem. -Greg -- ::::::::::::::::::: Greg Andrews gerg@wco.com ::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Re: news spool area exported from NFS
Author: John A. Stewart
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
21 lines
1546 bytes
1546 bytes
In <brad-1309991230390001@brad.techos.skynet.be> brad@shub-internet.org (Brad Knowles) writes: >In article <7rhmg7$gmh$1@coco.singnet.com.sg>, Wang Haw ><wh@singapura.singnet.com.sg> wrote: >> could >> anyone tells me is there anything wrong using NFS as spool area (which I >> doubt), > I think it depends on how much of a full feed you're handling. >However, NFS writes suck badly enough that you generally don't want to try >to use it to handle a "classic" news spool format. He said he was using a Netapp Filer so NFS write performance should not be a problem. -- John Stewart -- Computing and Communications Services, Carleton University Internet: jstewart@ccs.carleton.ca 613-520-2600x3707 "Why are so many people trying to get ahead when they already have one?"
Re: news spool area exported from NFS
Author: Greg Andrews
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
46 lines
2790 bytes
2790 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
>[Brad Knowles]
>
>> I have experience with NetApps. Write performance still sucks
>> rocks. That's inherent in the NFS protocol. They simply are not
>> well suited for running a traditional USENET news spool, although
>> they can be made to function passably well with CNFS.
>
>You are the only person I know who do _not_ like using NetApps for
>news, and especially in combination with INN 1.7.2 and traditional
>spool.
>
>Write performance is not an issue, IMO, it is read performance that
>matters for speedy service to readers.
>
Write performance does matter. If your write performance allows
you to write 80GB of new articles per day, then you can't expand
the volume of your news feed to 81GB per day. If you do, you'll
fall behind in your feeds.
Read performance is very important when using a NetApp for a news
spool, but properly tuning write performance is also important.
If your filer must flush its write cache every 10 seconds instead
of every 40-60 seconds, it will impact the read performance as well.
When the write cache fills up due to heavy write activity, it must be
flushed to disk. That interrupts read activity from the disks, and
it can also interrupt write activity from the news server. Fill up
the write cache fast enough, and writes from the news server must be
suspended until the write cache is emptied. When you get into this
mode, both read and write performance is reduced. I speak from first-
hand experience.
The read and write load on a filesystem holding a traditional news
spool is not simple. Trying to say it is simple ("it is read performance
that matters") is just a handwave.
-Greg
--
::::::::::::::::::: Greg Andrews gerg@wco.com :::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Re: news spool area exported from NFS
Author: Joe Greco
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
66 lines
4457 bytes
4457 bytes
In news.software.nntp article <brad-1409990126390001@dialup582.brussels2.skynet.be>, brad@shub-internet.org (Brad Knowles) wrote: : This is why our next-generation distributed news system will be based :on Diablo, with dreaderd front-end reader servers that serve up the :history & overview databases from local disk, as well as cache articles on :local disk, and connect to the news spool servers via NNTP to post :articles, as well as to retrieve them by message-id. : : I feel pretty confident that this will work, because I'm planning on :riding the coat-tails of other, much larger, sites that are administered :by news admins that are far more talented and competent than I am. Who? I'm still terrified by the dynamics of my test reader box down in Chicago... 1200 simultaneous connections, completely wild... last pid: 93280; load averages: 10.92, 6.61, 5.42 up 6+01:12:31 19:28:35 75 processes: 15 running, 56 sleeping, 4 stopped CPU states: 35.2% user, 0.0% nice, 46.2% system, 18.6% interrupt, 0.0% idle Mem: 431M Active, 11M Inact, 40M Wired, 18M Cache, 8322K Buf, 1232K Free Swap: 1024M Total, 247M Used, 777M Free, 24% Inuse, 212K In, 136K Out PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 96937 news 85 0 63624K 35880K RUN 284:45 9.08% 9.08% dreaderd 96932 news 66 0 55596K 34444K RUN 293:51 5.81% 5.81% dreaderd 96931 news 63 0 56528K 35776K RUN 290:58 5.27% 5.27% dreaderd 96927 news -6 0 56292K 32616K biord 293:38 4.54% 4.54% dreaderd 96923 news 57 0 51532K 33632K RUN 301:17 4.35% 4.35% dreaderd 96934 news 56 0 50596K 31496K RUN 292:11 4.30% 4.30% dreaderd 96929 news 56 0 52212K 28892K RUN 300:43 4.20% 4.20% dreaderd 96925 news 56 0 51892K 24816K RUN 296:51 4.10% 4.10% dreaderd 96928 news 55 0 52416K 34012K RUN 291:07 4.05% 4.05% dreaderd 84421 news 54 0 46224K 30956K RUN 8:31 3.96% 3.96% dreaderd 96935 news 2 0 56128K 29780K select 284:10 3.61% 3.61% dreaderd 96933 news 49 0 50716K 33680K RUN 292:31 3.17% 3.17% dreaderd 96926 news -18 0 54348K 32164K spread 293:33 3.03% 3.03% dreaderd 96936 news 48 0 52912K 27964K RUN 291:17 2.88% 2.88% dreaderd 96930 news 47 0 57328K 29664K RUN 292:12 2.64% 2.64% dreaderd whoa, look at that VM system go. Pushes 25-28 megabits out (4000pps), even with clients limited to 8K/sec. The 46% system is undoubtedly partially the complex set of ipfw firewall rules that runs on the box (192 rules). This is one end of the worst-case scenario, though, in that it has lots of binaries suckers slurping and is probably whacking the spool servers harder than my normal client load. That terrifies me enough that I'm seriously looking at private point-to-point ethernet solutions that'll scale a bit, since I'm preparing for a larger number of DSL customers who will have the lower-CPU/higher-VM/lower-disk-I/O/higher-net-I/O type profile that this test box does. My 300K dialup userbase has slightly different performance characteristics that tend to be harder on CPU and disk I/O because they're actually reading smaller articles and therefore generating more article transactions with a lower overall bytes-per-article ratio. Now I get to turn off the INN servers soon. They're already refusing readers. Despite the fact that the old INN system wasn't all that slow, people have certainly noticed the transition. VERY zippy. ... JG
Re: news spool area exported from NFS
Author: Kjetil Torgrim Homme
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
18 lines
1456 bytes
1456 bytes
[Brad Knowles] > I have experience with NetApps. Write performance still sucks > rocks. That's inherent in the NFS protocol. They simply are not > well suited for running a traditional USENET news spool, although > they can be made to function passably well with CNFS. You are the only person I know who do _not_ like using NetApps for news, and especially in combination with INN 1.7.2 and traditional spool. Write performance is not an issue, IMO, it is read performance that matters for speedy service to readers. Kjetil T.
Re: news spool area exported from NFS
Author: Greg Andrews
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
29 lines
1987 bytes
1987 bytes
jstewart@alfred.carleton.ca (John A. Stewart) writes: >In <brad-1309991230390001@brad.techos.skynet.be> brad@shub-internet.org (Brad Knowles) writes: > >>In article <7rhmg7$gmh$1@coco.singnet.com.sg>, Wang Haw >><wh@singapura.singnet.com.sg> wrote: > >>> could >>> anyone tells me is there anything wrong using NFS as spool area (which I >>> doubt), > >> I think it depends on how much of a full feed you're handling. >>However, NFS writes suck badly enough that you generally don't want to try >>to use it to handle a "classic" news spool format. > > He said he was using a Netapp Filer so NFS write performance should not >be a problem. > Sure it can be, even with NetApps. If you don't use a large enough write cache, the filer has to flush the cache more often than you like. This can be particularly bad on a news spool if you haven't turned on the no_atime_updates option. -Greg -- ::::::::::::::::::: Greg Andrews gerg@wco.com ::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Re: news spool area exported from NFS
Author: bill davidsen
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
37 lines
2327 bytes
2327 bytes
In article <brad-1309991230390001@brad.techos.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: | I think it depends on how much of a full feed you're handling. | However, NFS writes suck badly enough that you generally don't want to try | to use it to handle a "classic" news spool format. | | NFS might be fine for Cyclical News File Storage (CNFS), but then CNFS | is only supported in INN 2.2 and later, and there are some outstanding | issues right now with reader performance under INN 2.2. Although INN 2.3 | is going to address these issues, it is not yet ready. | | | If you're going to use traditional spool format, I would encourage | avoiding NFS and instead to do all disk writes locally to the machine, | although you could then use that machine as an NFS server to allow the | news reader servers to mount the spool across the network. I totally agree with all this, based on a good deal of experience. However, Classical doesn't work all that wonderfully well even with no NFS write, if you get a fairly high reader load you still get a lot more traffic on the NFS NIC than the reader NIC (assuming you use two networks to do it). I haven't run a serious load test using CNFS with NFS, so I can't make any evaluation of that. The protocol doesn't do writes well enough to handle classic file layout well. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc I thought I had forgotten how to throw a boomerang, but it's all coming back to me...
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Mon, 13 Sep 1999 00:00
Date: Mon, 13 Sep 1999 00:00
16 lines
1462 bytes
1462 bytes
In article <7riq8a$lpc$1@bertrand.ccs.carleton.ca>,
jstewart@alfred.carleton.ca (John A. Stewart) wrote:
> He said he was using a Netapp Filer so NFS write performance should not
> be a problem.
I have experience with NetApps. Write performance still sucks rocks.
That's inherent in the NFS protocol. They simply are not well suited for
running a traditional USENET news spool, although they can be made to
function passably well with CNFS.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Re: news spool area exported from NFS
Author: Russ Allbery
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
23 lines
1910 bytes
1910 bytes
John A Stewart <jstewart@algonquin.carleton.ca> writes: > Only 12GB of this space is allocated to the news system and the rest is > used by the other services running on the machine -- three 8mm tape > drives for remote backups, listserv and a general purpose mail gateway > for our Microsoft Exchange server and other departmental mail servers. > We are able to get by with such a small amount of disk space for news by > severely restricting the size of our news feed. We get the big 8, some > regional hierarchies and alt minus alt.binaries and alt.sex (or anything > crossposted to these groups). Yup, that's the same method whereby I got away with running news feed service on EMC space. It's not using up very much space at all, and only eating one SCSI connection (and we want our real file servers to each have two connections), so while the disk is ungodly expensive and I'd never recommend it to anyone for Usenet, I can grab a little piece of it for essentially free since news is fairly low-impact and the cost is born by the other applications we're using it for. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: news spool area exported from NFS
Author: Joe Greco
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
87 lines
5531 bytes
5531 bytes
In news.software.nntp article <ylso4hwzim.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote:
:Joe Greco <jgreco@ns.sol.net> writes:
:
:> If you want to criticize, criticize this. :-)
:
:> In this business, erring on the side of large scale engineering is the
:> _only_ way to go.
:
:Okay, I'll partially criticize this, or at least throw in another
:perspective.
:
:This is only true, IMO, if you're committing to not only support binaries
:but to support the increasing load of binary traffic all the way up its
:exponential curve. For folks at ISPs, this may well be a business
:requirement at the present time, and if so I wish you the best of luck.
:
:I explicitly am *not* committing to do this at my site, and furthermore
:have no intention of even considering it. I see absolutely no purpose
:served in hauling around 50GB of stolen software, porn, CD images, and
:pirated music; I'm seriously considering refusing to create any more
:binary groups on my server unless they're moderated. The few moderated
:binaries groups seem to be extremely healthy, keep to a reasonable volume,
:and play well with the rest of Usenet.
I certainly agree about the relative value of binaries groups, and I wasn't
aware of the moderated ones (I really don't read them at all), interesting
info. I hope it all goes that way.
:Oddly enough, they also strictly forbid posting of any pictures that
:contain URLs. Hm.
:
:Once you decide that enough is enough and you don't need to store all 50GB
:of crap that people think they want to broadcast everywhere daily, the
:storage problem becomes considerably more tenable. It's not nearly as
:sexy or interesting technically as constructing a news system that can
:handle terabytes of data and saturate 100Mb Ethernet connections, but I
:think it's a lot more useful per byte for the readers.
Of course it is. However, the text rate is increasing too. We were
hanging in the high hundreds-of-thousands of articles per day and less
than a gig of text daily, now we're at 1.2GB/day and over a million
(last I checked, which admittedly was about a month ago). I've gone
from an I/O subsystem on a Seagate Wren to one on a bunch of them, to
a Seagate Hawk, to several, to several 2GB Barracudas, to a dozen 4GB
Barracudas, and now to a really nice massive RAID5 with 18GB Barracudas.
For text. In the last ten years. Gone from a single SCSI-I SCSI bus to
multiple UW SCSI. That's a lot of change in the baseline storage
technology.
Your average NetApp isn't improving at half that rate, and is still going
to wind up obsolete sooner rather than later, unless you spend the bucks
to go massive up front. And when you do that, wouldn't it be smarter to
spend the money on something that'll _scale_? I can build you a nice
NNTP article storage and retrieval engine for $11K(*)with 125GB of space,
enough to hold 50 million articles. And it'll be fast. It'll use less
network bandwidth than a filer, because there's only additional overhead
for NNTP, not NFS. That means you can actually use it from a remote
location and still not worry about your reader hanging if a network goes
away. You can have redundancy, too, since you're not tied to a single
filesystem on one remote server. You also have reusability, since almost
the entire thing (except the RAID controller) is made out of common grade
PC components. So if I'm wrong and it _doesn't_ scale, you can use it
for many other things. If you're wrong and the filer _doesn't_ scale, you
pretty much are stuck looking for a way to use an NFS appliance.
I just don't understand the attraction in adding an expensive custom bit
of hardware that's going to be difficult to replace in event of failure,
requires you to use NFS, limits your connectivity choices, etc. Sure, it
does directory lookups fast and has write back cache. But my Diablo spool
servers don't really do many directory lookups to begin with and have write
back cache on the RAID controller too.
Could someone familiar with filers please quote an equivalent filer, it
needs 9 Barra-class 18GB drives and dual 10/100 network interfaces. I'm
just curious what today's cost on that would be.
(*) ASUS P2B-DS base system, ~$1800, Mylex DAC960SX, ~$2000, 9 x ST118273W,
$6300, Kingston drive array plus drive modules ~$1000.
If you are not concerned about losing "some" data, you can drop the
DAC960SX and one drive, and use my spooldir mod to Diablo to limit
the number of articles you'd lose if you lost a drive. Only really
recommended for redundant environments.
... JG
Re: news spool area exported from NFS
Author: Russ Allbery
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
37 lines
2343 bytes
2343 bytes
Joe Greco <jgreco@ns.sol.net> writes: > If you want to criticize, criticize this. :-) > In this business, erring on the side of large scale engineering is the > _only_ way to go. Okay, I'll partially criticize this, or at least throw in another perspective. This is only true, IMO, if you're committing to not only support binaries but to support the increasing load of binary traffic all the way up its exponential curve. For folks at ISPs, this may well be a business requirement at the present time, and if so I wish you the best of luck. I explicitly am *not* committing to do this at my site, and furthermore have no intention of even considering it. I see absolutely no purpose served in hauling around 50GB of stolen software, porn, CD images, and pirated music; I'm seriously considering refusing to create any more binary groups on my server unless they're moderated. The few moderated binaries groups seem to be extremely healthy, keep to a reasonable volume, and play well with the rest of Usenet. Oddly enough, they also strictly forbid posting of any pictures that contain URLs. Hm. Once you decide that enough is enough and you don't need to store all 50GB of crap that people think they want to broadcast everywhere daily, the storage problem becomes considerably more tenable. It's not nearly as sexy or interesting technically as constructing a news system that can handle terabytes of data and saturate 100Mb Ethernet connections, but I think it's a lot more useful per byte for the readers. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: news spool area exported from NFS
Author: Joe Greco
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
117 lines
5956 bytes
5956 bytes
In news.software.nntp article <2DwD3.10701$N77.804364@typ11.nn.bcandid.com>, cmadams@fly.hiwaay.net (Chris Adams) wrote: :Once upon a time, Joe Greco <jgreco@ns.sol.net> said: :>In news.software.nntp article :><gVtD3.10204$N77.783503@typ11.nn.bcandid.com>, cmadams@fly.hiwaay.net :>(Chris Adams) wrote: :>:Once upon a time, Joe Greco <jgreco@ns.sol.net> said: :>:> If you are not concerned about losing "some" data, you can drop the :>:> DAC960SX and one drive, and use my spooldir mod to Diablo to limit :>:> the number of articles you'd lose if you lost a drive. Only really :>:> recommended for redundant environments. :>: :>:I am setting up a new server to use Diablo. What is this "spooldir mod" :>:you mention? It doesn't seem to be on your patch page. It sounds :>:interesting. :> :>Nothing recent's on the patch page, it's all in my working sources. :-/ : :I thought the patch page looked a little out of date. So's the INN one. Most of that is in INN2* by now... sigh :>The basic idea is to split up :> :>/news/spool/news/D.xxxxxxx :> :>into :> :>/news/spool/news/N.xx/D.xxxxxxxx :> :>where the number of "N.xx" directories is configurable. This means that :>instead of setting up a CCD or RAID that spans all your drives, you can :>set up smaller drives and risk losing less if one dies. Mount each one :>on a N.xx directory, obviously. : :That's what I thought it sounded like. : :>My original reason for doing it is invalid, however :-) (you can learn :>so much by actually experimenting...) I was worried about fsck times on :>a very large partition. I reasoned that increasing parallelism would :>reduce the fsck times. However, simply reducing the inode count (a valid :>thing to do with Diablo) accomplishes the same thing and allows you to use :>a single filesystem, if you want. : :So, what is a good bytes per inode for a spool filesystem? Again, not :having actually _run_ Diablo yet, I don't have a feel for these kinds of :things (but I want to set it up and never have to change it of course!). I've been using very large numbers; 16 cylinder groups and 6144 inodes per cg (yes that results in a df that looks like /dev/da1s3h 93656576 83968464 2195600 97% 977 97325 1% /news/spool/news/N.07 You'll note the immense number of inodes used; these spool servers are fed by transit servers and therefore tend to aggregate the number of required inodes a bit lower. A Diablo box used for transit would need more. Best policy is to experiment a bit. I think I used an inode per meg here. :>My very large news filesystems fsck in 30 seconds (after a forced crash :>that is). : :That's good. How big of a spool do you have and how many inodes do you :have (how many in use)? : :How about the overview filesystem? It sounds like overview creates a :lot of files. Yes, but not as many as a traditional INN system. :>:Any suggestions - is the way I am headed a good idea? I have setup INN :>:before and had it running smooth, but I am new to Diablo. There isn't :>:near as much info on Diablo as there was on INN, so I'm kind of in the :>:dark on the best way to work things. :> :>Well, let me ask this of you. If you lost 1/16 of your articles, would :>you care? :> :>If not, you'd be better off setting up something like my spooldir mod, :>_not_ mirroring the drives, and ending up with 138GB space. : :So, for non-binary groups, that would be something like 100 days of :messages in the spool. Much bigger history file and more overview :information. Can Diablo handle that? As far as I've seen, yes. I'm still growing my article spool though. :>Otherwise, what you're doing is probably OK, but I'd recommend FreeBSD :>instead. Diablo was designed on FreeBSD and works great with it. : :I thought about that, but I'm not near as familiar with FreeBSD (and I'm :a Linux fan :-) ). Also, I didn't find the AMI MegaRAID controller on :the supported hardware list. SCSI-to-SCSI? Or a PC device of some sort? :Another thing I saw in your message: you said you are using RAID 5. :Is the performance okay? I have always steered clear of RAID 5 for :high I/O applications (especially news) because I'd heard that it :couldn't keep up. If RAID 5 can keep up okay, I would have a lot more :space (because right now I am doing RAID 0+1). The overall write volume with a Diablo spool is pretty low. Think of it, you're just doing low volume (~.5MB/sec for full feed) writes, plus metadata updates. Turn off atime updating for additional savings. :How about doing RAID 5 in the hardware on each of the two RAID :controllers and then doing RAID 0 (striping) in software? The reason :I am doing part in software is because I can't create a RAID group that :spans controllers (or at least I can't figure out how). You can do that. Or use the spooldir patch to set up two separate spools (probably a more general solution that gives more flexibility in the event you lose one array). ... JG
Re: news spool area exported from NFS
Author: Joe Greco
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
69 lines
4515 bytes
4515 bytes
In news.software.nntp article <7rkd5k$jt0$1@shell1.ncal.verio.com>, gerg@shell.ncal.verio.com (Greg Andrews) wrote: :brad@shub-internet.org (Brad Knowles) writes: :> I believe that there are other people on this newsgroup (much better :>known than I am) who can speak with a lot more authority on how well :>things like NetApps scale (or don't) to handling ~1TB of news online at :>~50GB/day rates, and IIRC, they have done so in the past. Searches on :>DejaNews should turn up articles in which they have expressed their :>opinion. :> : :Your posts are great, Brad, but you're so myopic. Many admins approach :problems from a perspective that says "this solution worked for a small :site, it'll work for a large one", you err on the side of the opposite :extreme: "it won't work for the most enormous sites on the Net, so it's :not worth considering." Can't you see that different solutions can be :applied to different-sized sites? : :NetApps don't have to scale to handling 1TB of news at 50GB/day rates. :In fact, I don't believe anyone ever suggested they could (or should). :They can work very well for small sites, as long as the potential :shortcomings are exposed so the site admins understand how to use them. : :Not "oh they'll work for any news spool", nor "they're not worth using :for any news spool", but "they can be useful as long as you're not trying :to take a feed larger than XXGB per day". Geez, Greg, relax! Brad took your post and injected some additional supporting info. If you want to criticize, criticize this. :-) In this business, erring on the side of large scale engineering is the _only_ way to go. In the last ~10 years, I've gone from moving news on UUCP links with a Sun 3/60 and about 100MB(?) disk space as my major peering method to today, where I have two dual PII-400's with a gig of RAM, lots (~100GB) of disk space, OC3c connectivity, and terrifying quantities of traffic. And, unlike the 3/60, these just do peering. (Jesus, is newspump really putting out 42 megabits?) People who buy a NetApp and fail to consider what the traffic loads will look like in six months or a year are stupid AND foolish on top of it. Even if it cuts it for right now, will it in two years? The news shows I've seen have all gotten substantially larger in that time, with an average of about 9 months between storage upgrades. That's right, about three upgrades in that two year timeframe. A NetApp might cut it now, for a small site with limited needs. But really, why would a small site buy a big expensive hulk like a NetApp? Why not do something smaller, cheaper, less expensive, easier? Why not engineer something with methods that can scale to a few million customers (or more!), and will grow to meet tomorrow's demands? You can certainly argue that you can use a NetApp for application "x" where x = NNRP via NFS. Of course you can, it's been done. But that news thing grows at a hellish rate, faster than network technology is growing, faster than you can depreciate that NetApp. So you darn well better know what you're going into, and if Brad discourages anyone from doing it, I don't think it's the bad thing you're making it out to be, because it'll just be one more person looking for a better way to do it. Anyways, I don't think it is so bad to discourage the use of NFS. It used to work. So did Cnews. You can argue that both still do, and you will be able to prove your case. In the meantime, I bet you're not using Cnews, and you can bet I'm not using NFS... and we can put this to rest. ;-) ... JG
Re: news spool area exported from NFS
Author: John A. Stewart
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
70 lines
4786 bytes
4786 bytes
In <37de5ead$0$91175@news.execpc.com> jgreco@ns.sol.net (Joe Greco) writes:
>Your average NetApp isn't improving at half that rate, and is still going
>to wind up obsolete sooner rather than later, unless you spend the bucks
>to go massive up front. And when you do that, wouldn't it be smarter to
>spend the money on something that'll _scale_? I can build you a nice
>NNTP article storage and retrieval engine for $11K(*)with 125GB of space,
>enough to hold 50 million articles. And it'll be fast. It'll use less
>network bandwidth than a filer, because there's only additional overhead
>for NNTP, not NFS. That means you can actually use it from a remote
>location and still not worry about your reader hanging if a network goes
>away. You can have redundancy, too, since you're not tied to a single
>filesystem on one remote server. You also have reusability, since almost
>the entire thing (except the RAID controller) is made out of common grade
>PC components. So if I'm wrong and it _doesn't_ scale, you can use it
>for many other things. If you're wrong and the filer _doesn't_ scale, you
>pretty much are stuck looking for a way to use an NFS appliance.
>I just don't understand the attraction in adding an expensive custom bit
>of hardware that's going to be difficult to replace in event of failure,
>requires you to use NFS, limits your connectivity choices, etc. Sure, it
>does directory lookups fast and has write back cache. But my Diablo spool
>servers don't really do many directory lookups to begin with and have write
>back cache on the RAID controller too.
I can see that dedicating a Netapp Filer to a news server wouldn't make a
lot of sense but in my situation I believe a Netapp Filer would be a good
choice.
News service is very popular at our university (15000 students in size) and
we have over 3000 local newsgroups (mostly for courses). The hardware
we are running this on is pretty minimal by todays standards -- a dual
50Mhz Sparc 10 machine with a single fast/wide SCSI bus containing 10
2GB Barracuda drives. Only 12GB of this space is allocated to the news
system and the rest is used by the other services running on the machine --
three 8mm tape drives for remote backups, listserv and a general purpose
mail gateway for our Microsoft Exchange server and other departmental mail
servers. We are able to get by with such a small amount of disk space for
news by severely restricting the size of our news feed. We get the big 8,
some regional hierarchies and alt minus alt.binaries and alt.sex (or
anything crossposted to these groups).
Virtually none of our Unix servers have RAID 1 or RAID 5 capability to
provide insurance against a drive failure. With the exception of a few
places where we are doing RAID 0 striping in software, we are managing
individual disks. If I had a Netapp Filer with say
200GB of space I'd be able to
1) junk most of the existing storage on our servers and replace it with
mounts of RAID 4 protected storage from the Filer.
2) greatly reduce the time we currently spend managing disk space
because the Filer would supply large file systems that can be easily
resized as required.
3) the above can be accomplished without having to add new hardware to
any of the servers or installing/configuring volume management
software.
Since I'd only be using 20% or so of the capacity of the Filer for news it
wouldn't really bother me that it wasn't the most optimal solution for
providing disk space to the news server. What matters is that the
performance, reliability and ease of management of all our Unix servers would
improve.
If you've got a Netapp Filer you want to give away give me a call!
--
John Stewart -- Computing and Communications Services, Carleton University
Internet: jstewart@ccs.carleton.ca 613-520-2600x3707
"Why are so many people trying to get ahead when they already have one?"
Re: news spool area exported from NFS
Author: Joe Greco
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
42 lines
2559 bytes
2559 bytes
In news.software.nntp article <brad-1509990150230001@dialup814.brussels2.skynet.be>, brad@shub-internet.org (Brad Knowles) wrote: :In article <37dd9a63$0$11114@news.execpc.com>, jgreco@ns.sol.net (Joe :Greco) wrote: : :> : I feel pretty confident that this will work, because I'm planning on :> :riding the coat-tails of other, much larger, sites that are administered :> :by news admins that are far more talented and competent than I am. :> :> Who? : : You, Joe. I've already learned a great deal about Diablo from you, :and I hope to continue that trend. Who's the more foolish... the fool or the fool who follows him? :-) ;-) :> I'm still terrified by the dynamics of my test reader box down in Chicago... :> 1200 simultaneous connections, completely wild... : : Wow! 1200 simultaneous connections! I'm *really* impressed! testnews.execpc.com :> Pushes 25-28 megabits out (4000pps), even with clients limited to 8K/sec. : : That's also pretty impressive! : :> The 46% system is undoubtedly partially the complex set of ipfw firewall :> rules that runs on the box (192 rules). : : Hmm. I was afraid of that. I'd really like to get back to doing ipfw :on our news spool server, and although I didn't see any major performance :hits the last time I was playing around with it (and I hope most of my :peers didn't notice much of anything ;-), I wasn't sufficiently :comfortable with it to leave it in production. CPU is cheap. The production machines run at a much lower level of activity; setiathome gets plenty of CPU. This is just my test case to see how various things affect the system. ... JG
Re: news spool area exported from NFS
Author: Kjetil Torgrim Homme
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
20 lines
1441 bytes
1441 bytes
[Joe Greco] > Either way, lots of overhead. And very difficult to do failover. > Use NNTP. Works better, less filling. Diablo rules. I agree, Diablo is the bee's knees. However, in this case Wang Haw already had a NetApp in place to do the work, so it doesn't seem productive to suggest he should ditch it and buy new hardware. The NetApp should do a reasonable job of it. Greg Andrews has suggested some possible configuration problems on the NetApp, I hope they have been useful. Kjetil T.
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
50 lines
3223 bytes
3223 bytes
In article <1rlnaa7fjo.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme
<kjetilho@haey.ifi.uio.no> wrote:
> You are the only person I know who do _not_ like using NetApps for
> news, and especially in combination with INN 1.7.2 and traditional
> spool.
NFS is an exceptionally chatty and overhead-laden protocol, and by
it's very design handles writes very poorly. The fact that it handles
writes poorly means that the writes frequently get in the way of reads.
NetApps may be about as efficient as you can make an NFS server, but
my experience is that NFS is overall just a really bad protocol for a
whole lot of things that people misuse it for.
As I've said before, I can build a better server for less money and
which will perform better, buying my own hardware and integrating it
myself, and running my own servers on it. I could even implement servers
that write to local disks and then serve that information up via NFS.
Dedicated special-purpose servers just don't cut the mustard any more
when it comes to price/performance. They may (or may not) be somewhat
easier to administer (in my experience, not -- because you don't have the
full power of the Unix OS on the server), and they may be easier to
install, but overall they're a relic of the early 1990's and are a
dead-end technology.
I have a lot of issues with NetApps in particular, but none of those
are relevant to this part of this discussion. For the moment, I'm talking
about any dedicated NFS server, whether NetApp, Auspex, or whatever.
> Write performance is not an issue, IMO, it is read performance that
> matters for speedy service to readers.
When writes slow you down enough, reads will start to suffer too.
Directory search problems are a real issue with NetApps as well, and these
problems *can* be solved with alternative OSes on the server running the
NFS daemons.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: news spool area exported from NFS
Author: Kjetil Torgrim Homme
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
22 lines
1702 bytes
1702 bytes
[Joe Greco] > Well, let me ask this of you. If you lost 1/16 of your articles, > would you care? Perhaps. I just lost 95% of my articles, and I didn't care, since I had a backup of the 5% which matters (our local hierarchy). Diablo doesn't offer the capability to store articles in different spools according to newsgroups, directly, I would need to setup a separate small server with appropriate backup routines. Which would be fine, except I don't get the money for a second machine, so we have to make do with INN 2.2 for readers :-) (Hmm. Actually I could probably make the second small server run on the main server, just listening to just another port. Why didn't I think of this solution to Diablo's expire problem when I set it up?) Kjetil T.
Re: news spool area exported from NFS
Author: Joe Greco
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
40 lines
3196 bytes
3196 bytes
In news.software.nntp article <brad-1509990254080001@dialup814.brussels2.skynet.be>, brad@shub-internet.org (Brad Knowles) wrote: :In article <brad-1509990239020001@dialup814.brussels2.skynet.be>, :brad@shub-internet.org (Brad Knowles) wrote: :> RAID-5 properly implemented should never cause the array to go down if :> a drive fails. In fact, with good hardware RAID controllers, you should :> be able to set up hot spare drives, etc... to help ensure that even if a :> drive does die the system will take care of rebuilding itself and getting :> back to full redundancy ASAP. : : BTW, I did some relatively complete performance testing with vinum :(the logical volume manager for FreeBSD, which handles mirroring, :striping, and RAID-5) a while back. I had contributed the results to Greg :Lehey (the author of vinum), but I had never sat down and actually set up :charts for all the numbers. I finally did that today. : : I can tell you that I was *very* surprised to find that vinum beat the :crap out of the DPT SmartRAID IV controller I was comparing against (at :the time, this was the most recent DPT controller for which there was a :FreeBSD driver), even though the hardware card had 64MB of cache. I can tell you from firsthand experience that the DPT blows. Poor write speeds and a definite degradation as you increase parallel requests thru the poor thing. Read performance also tops out at some really ugly numbers. I'm assuming that this is because the card does a lot of stuff in software. I could probably RAID5 faster on a 486 and some generation-old SCSI drives. The SmartRAID V should be better, but I really think I've found a great controller in the Mylex DAC960SX. This is a SCSI-SCSI controller, and therefore works with whatever your preferred host adapter is... you do not need special (potentially buggier) DPT drivers. Unlike the DPT, I was not able to establish any upper limit for the DAC... it kept scaling pretty linearly (at least accounting for some degradation to increased drive activity). I'm sure it has some upper limit, and of course RAID5 still doesn't give you unlimited write speeds, so it was certainly less than writing to raw disks. But it was still many times faster than I needed. ... JG
Re: news spool area exported from NFS
Author: Chris Adams
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
29 lines
2256 bytes
2256 bytes
Once upon a time, Joe Greco <jgreco@ns.sol.net> said: > If you are not concerned about losing "some" data, you can drop the > DAC960SX and one drive, and use my spooldir mod to Diablo to limit > the number of articles you'd lose if you lost a drive. Only really > recommended for redundant environments. I am setting up a new server to use Diablo. What is this "spooldir mod" you mention? It doesn't seem to be on your patch page. It sounds interesting. I am setting up Linux and Diablo on a server that used to be an NT news server. It has a lot of hardware (two dual channel external RAID boxes with AMI MegaRAID controllers). I am setting it up with each RAID box as a single RAID0 array (8 drives x 8.5G = 69G) and then using Linux's software mirroring (this is a quad PPro 200 system so it should have enough CPU) to mirror the two drives (so we don't go down it a drive fails). I am planning on doing text only messages, so I figured that leaves plenty of free space. Any suggestions - is the way I am headed a good idea? I have setup INN before and had it running smooth, but I am new to Diablo. There isn't near as much info on Diablo as there was on INN, so I'm kind of in the dark on the best way to work things. -- Chris Adams <cmadams@hiwaay.net> Systems and Network Administrator - HiWAAY Information Services I don't speak for anybody but myself - that's enough trouble.
Re: news spool area exported from NFS
Author: Jeremy
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
18 lines
1339 bytes
1339 bytes
Joe Greco <jgreco@ns.sol.net> wrote:
> I do not like NetApps for news. Now you can say you know two people
> who don't like them. And I know others, if you're desperate.
>
> It has nothing to do with the NetApp per se and everything to do with
> NFS. Unfortunately, the NetApp speaks NFS so it is inherently crippled
> by association.
I, too, don't like them. And I, too, don't have anything against NetApps
in particular -- NFS in general just sucks.
--
Jeremy | jeremy@exit109.com
"Meowers have proven that meow does indeed equal meow."
--Antaine (news.admin.net-abuse.usenet)
Re: news spool area exported from NFS
Author: Russ Allbery
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
41 lines
2879 bytes
2879 bytes
Miquel van Smoorenburg <miquels@cistron.nl> writes: > Russ Allbery <rra@stanford.edu> wrote: >> I explicitly am *not* committing to do this at my site, and furthermore >> have no intention of even considering it. I see absolutely no purpose >> served in hauling around 50GB of stolen software, porn, CD images, and >> pirated music; I'm seriously considering refusing to create any more >> binary groups on my server unless they're moderated. The few moderated >> binaries groups seem to be extremely healthy, keep to a reasonable >> volume, and play well with the rest of Usenet. > I've been thinking of a way to solve this. Say you have a newsfeeder > that can munge articles on the way out - while feeding them to peers, > you'd replace the actual binaries with URL references. The news server > would double as a web server. That way, you could feed selected peers a > non-binary feed with only references to the actual binaries. Yeah, if you decide you really want to handle binaries, there are a lot of fairly obvious things you can do. That's one of them. Another one is to decode all of the articles automatically, throw away the ones with missing parts or that are corrupt, and dump them all in a local web or ftp server rather than actually making the groups available via NNTP (maybe keeping the text content of the groups). Nearly all of the group readers would rather scan the groups in that form anyway, particularly if you could retain the subject line or even the body text as a description of the message in a fancy directory index. There are even available free software packages that do some of this. If I were working for an ISP where supporting these groups is part of the job, I would have done something like the above a long time ago and off-loaded all of that content to some protocol other than NNTP, at least for local access. NNTP is stunningly inefficient for both storage (due to the encoding) and access (requiring unencoding, patching together of multiparts, and an indexing system designed for discussion threads) of binaries. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: news spool area exported from NFS
Author: Miquel van Smoorenburg
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
45 lines
2885 bytes
2885 bytes
In article <ylso4hwzim.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: >I explicitly am *not* committing to do this at my site, and furthermore >have no intention of even considering it. I see absolutely no purpose >served in hauling around 50GB of stolen software, porn, CD images, and >pirated music; I'm seriously considering refusing to create any more >binary groups on my server unless they're moderated. The few moderated >binaries groups seem to be extremely healthy, keep to a reasonable volume, >and play well with the rest of Usenet. I've been thinking of a way to solve this. Say you have a newsfeeder that can munge articles on the way out - while feeding them to peers, you'd replace the actual binaries with URL references. The news server would double as a web server. That way, you could feed selected peers a non-binary feed with only references to the actual binaries. If the article originated locally, you could leave the builtin webserver open, but put a kind of quota on the article for external access. If the article didn't originate locally, you probably want to give access to your downstreams only if the request originates from a HTTP proxy server, or the downstream news server. The nnrpd daemon on the final reader machine could re-insert the binary if needed, requesting the article through a HTTP proxy server ofcourse. For leaf sites, if the upstream implements this scheme, it would look a lot like a caching news server. Only a HTTP cache is used, of which several open-sourced quality ones are available. For originating sites, it might force them to make the binary available over HTTP because otherwise, the binary won't reach all users and their users might complain. Then we get originating sites that worry about storing illegal content, they will get more responsible, and the entire problem is solved ;) Mike. -- ... somehow I have a feeling the hurting hasn't even begun yet -- Bill, "The Terrible Thunderlizards"
Re: news spool area exported from NFS
Author: Joe Greco
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
62 lines
3581 bytes
3581 bytes
In news.software.nntp article <gVtD3.10204$N77.783503@typ11.nn.bcandid.com>, cmadams@fly.hiwaay.net (Chris Adams) wrote: :Once upon a time, Joe Greco <jgreco@ns.sol.net> said: :> If you are not concerned about losing "some" data, you can drop the :> DAC960SX and one drive, and use my spooldir mod to Diablo to limit :> the number of articles you'd lose if you lost a drive. Only really :> recommended for redundant environments. : :I am setting up a new server to use Diablo. What is this "spooldir mod" :you mention? It doesn't seem to be on your patch page. It sounds :interesting. Nothing recent's on the patch page, it's all in my working sources. :-/ The basic idea is to split up /news/spool/news/D.xxxxxxx into /news/spool/news/N.xx/D.xxxxxxxx where the number of "N.xx" directories is configurable. This means that instead of setting up a CCD or RAID that spans all your drives, you can set up smaller drives and risk losing less if one dies. Mount each one on a N.xx directory, obviously. My original reason for doing it is invalid, however :-) (you can learn so much by actually experimenting...) I was worried about fsck times on a very large partition. I reasoned that increasing parallelism would reduce the fsck times. However, simply reducing the inode count (a valid thing to do with Diablo) accomplishes the same thing and allows you to use a single filesystem, if you want. My very large news filesystems fsck in 30 seconds (after a forced crash that is). :I am setting up Linux and Diablo on a server that used to be an NT news :server. It has a lot of hardware (two dual channel external RAID boxes :with AMI MegaRAID controllers). I am setting it up with each RAID box :as a single RAID0 array (8 drives x 8.5G = 69G) and then using Linux's :software mirroring (this is a quad PPro 200 system so it should have :enough CPU) to mirror the two drives (so we don't go down it a drive :fails). I am planning on doing text only messages, so I figured that :leaves plenty of free space. : :Any suggestions - is the way I am headed a good idea? I have setup INN :before and had it running smooth, but I am new to Diablo. There isn't :near as much info on Diablo as there was on INN, so I'm kind of in the :dark on the best way to work things. Well, let me ask this of you. If you lost 1/16 of your articles, would you care? If not, you'd be better off setting up something like my spooldir mod, _not_ mirroring the drives, and ending up with 138GB space. Otherwise, what you're doing is probably OK, but I'd recommend FreeBSD instead. Diablo was designed on FreeBSD and works great with it. ... JG
Re: news spool area exported from NFS
Author: Russ Allbery
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
25 lines
1673 bytes
1673 bytes
Brad Knowles <brad@shub-internet.org> writes: > cmadams@fly.hiwaay.net (Chris Adams) wrote: >> I am setting it up with each RAID box as a single RAID0 array (8 drives >> x 8.5G = 69G) > You might want to redo this math slightly, otherwise you could be in for > a rude shock. > I get 8 * 8.5 = 68GB raw > Lose 20% due to RAID-5 overhead = 54.4GB left > Lose 10% due to filesystem overhead = 48.96GB left > Lose 10% so that you never optimize for space = 44.064GB left It looks to me like he said RAID 0, not RAID 5. Anyway, if you or he or someone is seriously contemplating using RAID 5 for a news spool, I'd recommend against it. The last time I tried it, the rate of writes to the spool made it roll over and die. RAID 5 isn't particularly good at write-intensive applications. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: news spool area exported from NFS
Author: Russ Allbery
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
35 lines
2419 bytes
2419 bytes
Jaye Mathisen <mrcpu@schizo.cdsnet.net> writes: > I believe I saw somewhere, that if the ISP processed the article, and > made the "combined" parts available, that they could be held liable for > the content as well. Yeah, I know. Here's the part that bugs me: either the object is to maintain a collection of porn for the purposes of one's user base or it's not. If it's not, then what's the point in wasting all the disk space on it? If it is, then why go about it in such a ridiculously half-assed way like Usenet does right now? There are so many obvious things one can do to make the collection better that I keep thinking of new ones every time the subject comes up and I give it five minutes of thought. Not that it's really the fault of anyone here that things are the way they are; it's due to a bunch of really stupid legislative interpretations that may or may not actually hold up in court but in the meantime are worth large amounts of FUD, plus added on to that a bunch of really perfectly legitimate copyright issues without good solutions. But shyeesh. Personally, I fail to see what's wrong with porn provided that all parties are consenting, and I think that maintaining a collection of on-line porn for those adult customers who want to avail themselves of it would be a perfectly reasonable thing for an ISP to do. And we all know that there are mainstream ISPs that are doing precisely that and coming pretty close to flat-out advertising it. All of the dodging around the subject that happens in all the marketing and in the technical approach to doing this just gets on my nerves. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: news spool area exported from NFS
Author: Kjetil Torgrim Homme
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
22 lines
1780 bytes
1780 bytes
[John A. Stewart]
> Since I'd only be using 20% or so of the capacity of the Filer for
> news it wouldn't really bother me that it wasn't the most optimal
> solution for providing disk space to the news server. What
> matters is that the performance, reliability and ease of
> management of all our Unix servers would improve.
You should be careful about mixing services on a NetApp. During
expire on our NetApp[1], the responsiveness really detoriated, and
users with their home directory on it complained. Well, should suit
them right for trying to do work in the middle of the night :-) But we
moved the news spool the other way, to a bunch of old disks, since
news was not a priority. Oh well.
Kjetil T.
[1] A lowly F330 or something, very old hat. It's got a Pentium 90 as
its CPU...
Re: news spool area exported from NFS
Author: Chris Adams
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
91 lines
4719 bytes
4719 bytes
Once upon a time, Joe Greco <jgreco@ns.sol.net> said: >In news.software.nntp article ><gVtD3.10204$N77.783503@typ11.nn.bcandid.com>, cmadams@fly.hiwaay.net >(Chris Adams) wrote: >:Once upon a time, Joe Greco <jgreco@ns.sol.net> said: >:> If you are not concerned about losing "some" data, you can drop the >:> DAC960SX and one drive, and use my spooldir mod to Diablo to limit >:> the number of articles you'd lose if you lost a drive. Only really >:> recommended for redundant environments. >: >:I am setting up a new server to use Diablo. What is this "spooldir mod" >:you mention? It doesn't seem to be on your patch page. It sounds >:interesting. > >Nothing recent's on the patch page, it's all in my working sources. :-/ I thought the patch page looked a little out of date. >The basic idea is to split up > >/news/spool/news/D.xxxxxxx > >into > >/news/spool/news/N.xx/D.xxxxxxxx > >where the number of "N.xx" directories is configurable. This means that >instead of setting up a CCD or RAID that spans all your drives, you can >set up smaller drives and risk losing less if one dies. Mount each one >on a N.xx directory, obviously. That's what I thought it sounded like. >My original reason for doing it is invalid, however :-) (you can learn >so much by actually experimenting...) I was worried about fsck times on >a very large partition. I reasoned that increasing parallelism would >reduce the fsck times. However, simply reducing the inode count (a valid >thing to do with Diablo) accomplishes the same thing and allows you to use >a single filesystem, if you want. So, what is a good bytes per inode for a spool filesystem? Again, not having actually _run_ Diablo yet, I don't have a feel for these kinds of things (but I want to set it up and never have to change it of course!). >My very large news filesystems fsck in 30 seconds (after a forced crash >that is). That's good. How big of a spool do you have and how many inodes do you have (how many in use)? How about the overview filesystem? It sounds like overview creates a lot of files. >:Any suggestions - is the way I am headed a good idea? I have setup INN >:before and had it running smooth, but I am new to Diablo. There isn't >:near as much info on Diablo as there was on INN, so I'm kind of in the >:dark on the best way to work things. > >Well, let me ask this of you. If you lost 1/16 of your articles, would >you care? > >If not, you'd be better off setting up something like my spooldir mod, >_not_ mirroring the drives, and ending up with 138GB space. So, for non-binary groups, that would be something like 100 days of messages in the spool. Much bigger history file and more overview information. Can Diablo handle that? >Otherwise, what you're doing is probably OK, but I'd recommend FreeBSD >instead. Diablo was designed on FreeBSD and works great with it. I thought about that, but I'm not near as familiar with FreeBSD (and I'm a Linux fan :-) ). Also, I didn't find the AMI MegaRAID controller on the supported hardware list. Another thing I saw in your message: you said you are using RAID 5. Is the performance okay? I have always steered clear of RAID 5 for high I/O applications (especially news) because I'd heard that it couldn't keep up. If RAID 5 can keep up okay, I would have a lot more space (because right now I am doing RAID 0+1). How about doing RAID 5 in the hardware on each of the two RAID controllers and then doing RAID 0 (striping) in software? The reason I am doing part in software is because I can't create a RAID group that spans controllers (or at least I can't figure out how). -- Chris Adams <cmadams@hiwaay.net> Systems and Network Administrator - HiWAAY Information Services I don't speak for anybody but myself - that's enough trouble.
Re: news spool area exported from NFS
Author: bill davidsen
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
25 lines
1852 bytes
1852 bytes
In article <37de5ead$0$91175@news.execpc.com>, Joe Greco <jgreco@ns.sol.net> wrote: | Could someone familiar with filers please quote an equivalent filer, it | needs 9 Barra-class 18GB drives and dual 10/100 network interfaces. I'm | just curious what today's cost on that would be. | | (*) ASUS P2B-DS base system, ~$1800, Mylex DAC960SX, ~$2000, 9 x ST118273W, | $6300, Kingston drive array plus drive modules ~$1000. I'm rather taken by the Intel box I just bought, 2xXeon-500, 1G RAM, 6x36G FWLVD, RAID controller, $22k. It makes a nice transit box, reader box for non-binary use, a good transit box (accepts 150 art/sec if needed, sustained for 36 sec). INN-2.3+Linux 2.2.10. I don't recall if FreeBSD has IPchains, you can reduce the firewall overhead a bit by using user chains for certain packets, for instance. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc I thought I had forgotten how to throw a boomerang, but it's all coming back to me...
Re: news spool area exported from NFS
Author: Russ Allbery
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
34 lines
2436 bytes
2436 bytes
Joe Greco <jgreco@ns.sol.net> writes: > Of course it is. However, the text rate is increasing too. We were > hanging in the high hundreds-of-thousands of articles per day and less > than a gig of text daily, now we're at 1.2GB/day and over a million > (last I checked, which admittedly was about a month ago). I've gone > from an I/O subsystem on a Seagate Wren to one on a bunch of them, to a > Seagate Hawk, to several, to several 2GB Barracudas, to a dozen 4GB > Barracudas, and now to a really nice massive RAID5 with 18GB Barracudas. > For text. In the last ten years. Gone from a single SCSI-I SCSI bus to > multiple UW SCSI. That's a lot of change in the baseline storage > technology. Point. > I just don't understand the attraction in adding an expensive custom bit > of hardware that's going to be difficult to replace in event of failure, > requires you to use NFS, limits your connectivity choices, etc. Sure, > it does directory lookups fast and has write back cache. But my Diablo > spool servers don't really do many directory lookups to begin with and > have write back cache on the RAID controller too. Yeah, this is true. And I'm not disagreeing with you that NNTP is the right way to do article transfer, since it was designed specifically for that, and if there are problems with its efficiency we should fix NNTP rather than going to another protocol. I think that makes a lot of sense. (Enough so that I've thought off and on about how hard it would be to support header feeds in INN as well; now that we have an API for both overview and article storage, it's a lot easier to add things like that.) -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: news spool area exported from NFS
Author: Russ Allbery
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
30 lines
2071 bytes
2071 bytes
Missed this the first time around. Brad Knowles <brad@shub-internet.org> writes: > Everything else aside, FreeBSD has an excellent network stack, while > poor network performance is something that Linus acknowledges and > theoretically plans to fix in kernel 2.4, whenever that might ship and > become stable. That's poor network performance *for SMP machines*, due to global locking. SMP is a bit of a waste for news, given that news isn't processor-bound. For uniprocessor machines, Linux and *BSD are both better in some areas and worse in others; I've not seen any detailed argument that either has particularly better performance. Although I have seen a lot of people repeating blindly that BSD is somehow better on the basis of something they heard at some point and don't remember clearly, or due to some blurring of SMP issues into general network performance issues, or on the basis of what Linux looked like back in 1.2. :) The whole Linux vs. BSD networking speed issue got tons of press a few years ago, lots of benchmarks were thrown around on both sides, and the net outcome was that the average user and average application would be hard-pressed to tell any real difference between the two. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
62 lines
3973 bytes
3973 bytes
In article <7rjuef$7p0$1@shell1.ncal.verio.com>, gerg@shell.ncal.verio.com
(Greg Andrews) wrote:
> Write performance does matter. If your write performance allows
> you to write 80GB of new articles per day, then you can't expand
> the volume of your news feed to 81GB per day. If you do, you'll
> fall behind in your feeds.
I can't speak for anyone else, but in my experience, NetApps pretty
much top out at a write speed of about 3Mbit/sec (I would assume for
protocol reasons, although I might be wrong about that). That would
correspond to an input volume of about 30GB/day, which we know is now well
below the total daily volume for an absolutely full feed.
Of course, this is pure 100% writes, and doesn't leave any room for
reads, so actual usable write throughput would be quite a bit lower.
The only way I can think of that you could improve that write volume
would be to logically "stripe" the writes across multiple servers, so that
alt.binaries.pictures.erotica.furry-bunny gets written to a different
server than alt.binaries.pictures.erotica.fuzzy-men.
So long as you're not doing any binaries, or not much in the way of
binaries, I guess NFS writes might be okay. However, when you start
talking about a full binary feed, or keeping them around for a long period
of time, it is my opinion that NFS is a poor solution all around --
regardless of whether you're doing local disk writes to a host that acts
as an NFS server, or a dedicated NFS server such as a NetApp.
This is why our next-generation distributed news system will be based
on Diablo, with dreaderd front-end reader servers that serve up the
history & overview databases from local disk, as well as cache articles on
local disk, and connect to the news spool servers via NNTP to post
articles, as well as to retrieve them by message-id.
I feel pretty confident that this will work, because I'm planning on
riding the coat-tails of other, much larger, sites that are administered
by news admins that are far more talented and competent than I am.
However, I also hope to try to help make it worth their effort to teach me
how to make something like this work at my site.
I believe that there are other people on this newsgroup (much better
known than I am) who can speak with a lot more authority on how well
things like NetApps scale (or don't) to handling ~1TB of news online at
~50GB/day rates, and IIRC, they have done so in the past. Searches on
DejaNews should turn up articles in which they have expressed their
opinion.
However, I won't mention any names. I'll let them speak up for themselves.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: news spool area exported from NFS
Author: Kjetil Torgrim Homme
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
24 lines
1762 bytes
1762 bytes
[bill davidsen] > | > The RAID boxes I have don't have room for spares (they each > | > have 8 drives in them and all 8 are in use in the array). > | > | Isn't this a software/driver issue? > > I would interpret "room" as physical space. Don't see what you > could do to improve that with software ;-) Err, I mean the driver could just define one of the eight disks as a hot spare, it doesn't _have_ to be used for storage. I don't have that much experience with RAID5, but on both the NetApp[1] and Sun StorEdge A1000, the hot spare disk can be any of the disks in the enclosure. I think they both support two hot spares if you are really paranoid, but if you choose to run with just one, or zero, there is no wasted physical space. Kjetil T. [1] Yeah, I know, it's really RAID4.
Re: news spool area exported from NFS
Author: Kjetil Torgrim Homme
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
20 lines
1659 bytes
1659 bytes
[Brad Knowles] > In my case, I'm planning on doing RAID-0+1 for !alt.binaries, > and RAID-5 for alt.binaries.*. I'll have to make use of Joe's > hack to split the news spool across multiple > directories/filesystems, but I think it's worth it. So with Joe's hack you can split the spool according to newsgroups as well? That should definitely be merged into Matt's sources. > The binary content is not coming in that fast to cause RAID-5 > to be an excessive burden because of the poor write speed > (although it'll probably really trash my cache on the controller), I hope your sake it will only be thrashed :-) Kjetil T.
Liability for content (was: Re: news spool area exported from NFS)
Author: Brad Knowles
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
30 lines
2127 bytes
2127 bytes
In article <yl671cpu6p.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
> Jaye Mathisen <mrcpu@schizo.cdsnet.net> writes:
>
> > I believe I saw somewhere, that if the ISP processed the article, and
> > made the "combined" parts available, that they could be held liable for
> > the content as well.
>
> Yeah, I know.
>
> Here's the part that bugs me: either the object is to maintain a
> collection of porn for the purposes of one's user base or it's not.
In Europe, it doesn't matter. You're legally liable for anything that
can be found anywhere on your servers, including being stored in the cache
of your web proxy server.
However, this is a rather old and nasty wound, which I really don't
think we want to re-open right now.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: news spool area exported from NFS
Author: bill davidsen
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
70 lines
4363 bytes
4363 bytes
In article <brad-1509990239020001@dialup814.brussels2.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: | > and then using Linux's | > software mirroring (this is a quad PPro 200 system so it should have | > enough CPU) to mirror the two drives (so we don't go down it a drive | > fails). I am planning on doing text only messages, so I figured that | > leaves plenty of free space. | | RAID-5 properly implemented should never cause the array to go down if | a drive fails. In fact, with good hardware RAID controllers, you should | be able to set up hot spare drives, etc... to help ensure that even if a | drive does die the system will take care of rebuilding itself and getting | back to full redundancy ASAP. Current Linux RAID does this, also. I haven't used anything but RAID-0 for Diablo on Linux, but with INN I have run RAID-0+1 for history and overview and RAID-5 for the CNFS spool. Going mirrored on the history really improves performance when old articles arrive. | In this case, you might instead want to stripe your news across the | two RAID-5 arrays, or you might want to have two separate filesystems, or | perhaps just concatenate them and not stripe (although striping would get | you the biggest performance win). My experience was that mirroring on the non-article stuff was very useful for both transit and reader boxes, which may get a lot of non-cached message-id's. I suspect that would be true with Diablo, but until I set up a new machine for it I won't know. | We've had some issues with Diablo under Linux, but it's entirely | possible that this was caused by a poor installation or by issues related | to the fact that the machine was underpowered for what we were asking it | to do, and not specifically related to actual conflicts between Diablo and | Linux. On a machine with a lot of feeds the number of file descriptors needs to be increased, other than that I haven't had particular problems. As you say, my current systems are underpowered, P-100 is a boat anchor. | Everything else aside, FreeBSD has an excellent network stack, while | poor network performance is something that Linus acknowledges and | theoretically plans to fix in kernel 2.4, whenever that might ship and | become stable. This was true about two stack implementations ago, other than a slight increase in packet latency if the ALWAYS_DEFRAGMENT option is chosen, I really don't see any significant difference in performance. I've converted a few systems from BSD to Linux (cheaper to change than train people in another o/s), and I would not want to claim there is a statistically significant difference, at least at the 3-4 nets, 40Mbit volume level. Unless you have some reference to Linux saying there was poor network performance, I have to think you are remembering the old stack, or reading something into him saying the stack will be improved. Everything will be improved, that's his thing, it doesn't mean that what's out there is 'poor' compared to something else. I don't want to get into an o/s value discussion, I just don't see any reason to think that current Linux is poor relative to anything. It does have a few NIC drivers which rot, but so does BSD ;-) -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc I thought I had forgotten how to throw a boomerang, but it's all coming back to me...
Re: news spool area exported from NFS
Author: Joe Greco
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
35 lines
2472 bytes
2472 bytes
In news.software.nntp article <brad-1509991917490001@brad.techos.skynet.be>, brad@shub-internet.org (Brad Knowles) wrote: :In article <1rg10gyuiw.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme :<kjetilho@haey.ifi.uio.no> wrote: :> So with Joe's hack you can split the spool according to newsgroups as :> well? That should definitely be merged into Matt's sources. : : I believe that this is possible with Joe's hack, but I'll have to wait :for official confirmation from him on that. No, it's not. The method I used was to key off of the D.xxxxxxxx number, which is derived from a variable stored in history. The problem with splitting the spool based on newsgroup is that you'd need to store additional information in the history, namely what newsgroup the article was in (or, at least, a token indicating which subspool it was stored into)... it'd be the only way to get the info, since diablo needs to be able to look up ARTICLE <x@y> and find it on spool. Someone interested in doing this further modification could probably use my work as a starting point: I've already coded up per-spool expiration and things like that, most of which would be extensible almost as-is in the event that one were to add such an additional variable to the history. Of course, then the history file gets more bloated too. A clever person could probably research exactly how Matt has implemented reader mode (non-FIFO) expiration and make a modification that worked closely with that. I'm not that clever, and even if I was, I don't really have a need for it. :-/ ... JG
Re: news spool area exported from NFS
Author: P.A.Osborne
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
33 lines
2224 bytes
2224 bytes
Russ Allbery <rra@stanford.edu> wrote: <snipped some> > Once you decide that enough is enough and you don't need to store all 50GB > of crap that people think they want to broadcast everywhere daily, the > storage problem becomes considerably more tenable. It's not nearly as > sexy or interesting technically as constructing a news system that can > handle terabytes of data and saturate 100Mb Ethernet connections, but I > think it's a lot more useful per byte for the readers. Firstly I would like to say that I am running a small site (in comparisom with the ISPs) for my University, so I can only comment on the small end of the scale, however: Of the groups that we accept (around 6000), our local populace only read around 2000 of those groups and this info we get from things like nnrpd stats. Of the other groups (4000) I am severely tempted to do a bulk remove group and only add groups as students/staff request them, which is what we do for groups that we dont carry. I am not in a position where I can just run off and get another 18GB Sun disk to throw on the machine, but I am in a position where I need to have the server running reliably, quickly and preferably (although some of the students may disagree) not full of porn and warez. Cheers Paul
Re: news spool area exported from NFS
Author: bill davidsen
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
26 lines
1965 bytes
1965 bytes
In article <brad-1509991732010001@brad.techos.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: | In article <7robom$jds$1@newssvr02.news.prodigy.com>, davidsen@tmr.com | (bill davidsen) wrote: | | > Two thoughts on that. First, I can get spikes (36 sec samples) of | > 120-160 arts/sec accepted using RAID-5 CNFS for articles and RAID-0+1 | > for history and overview. So the performance is no that terible. | | In my case, I'm planning on doing RAID-0+1 for !alt.binaries, and | RAID-5 for alt.binaries.*. I'll have to make use of Joe's hack to split | the news spool across multiple directories/filesystems, but I think it's | worth it. I do hope at some time that Matt and JG will merge their stuff, document it as well as the current Diablo stuff, and release a combined and supported (relatively) version. I don't see running Diablo as a main server, but some reader machines would be very useful. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc I thought I had forgotten how to throw a boomerang, but it's all coming back to me...
Re: news spool area exported from NFS
Author: bill davidsen
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
19 lines
1654 bytes
1654 bytes
In article <brad-1509991234510001@brad.techos.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: | Note that all of the testing I had done up to that stage was with pure | striping. I had not tested mirroring, mirroring+striping, or RAID-5. I look forward to your tests. I chose 0+1 for history with Linux based on experience with AIX, because it really helps with reader loads. I have not done any benchmarking of no RAID, 0+1 and 5 on the current machine, and I realize that a Diablo test will probably not map to my INN as more than an indication, but it will sure be an indication. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc I thought I had forgotten how to throw a boomerang, but it's all coming back to me...
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
70 lines
4436 bytes
4436 bytes
In article <brad-1509990239020001@dialup814.brussels2.skynet.be>,
brad@shub-internet.org (Brad Knowles) wrote:
> RAID-5 properly implemented should never cause the array to go down if
> a drive fails. In fact, with good hardware RAID controllers, you should
> be able to set up hot spare drives, etc... to help ensure that even if a
> drive does die the system will take care of rebuilding itself and getting
> back to full redundancy ASAP.
BTW, I did some relatively complete performance testing with vinum
(the logical volume manager for FreeBSD, which handles mirroring,
striping, and RAID-5) a while back. I had contributed the results to Greg
Lehey (the author of vinum), but I had never sat down and actually set up
charts for all the numbers. I finally did that today.
I can tell you that I was *very* surprised to find that vinum beat the
crap out of the DPT SmartRAID IV controller I was comparing against (at
the time, this was the most recent DPT controller for which there was a
FreeBSD driver), even though the hardware card had 64MB of cache.
Well, I wasn't entirely surprised (this is what Greg told me would
happen, because special-purpose RAID controller cards just haven't been
able to keep up with all the speed advances in main processors), but I was
surprised to see just how badly vinum beat the crap out of the SmartRAID
IV.
I've sent GIF versions of the final charts to Greg, but I'll also post
them to my own website tomorrow morning when I get to work. If there's a
great deal of interest, I could consider making the raw data and possibly
even the Excel spreadsheet available privately to interested parties, but
I'd need very strong lobbying to convince me to make this publicly
available. ;-)
I haven't yet tested RAID-5 performance or mixed mirroring/striping
performance, but I hope to do that with a different machine that I now
have available for testing (the previous machine is now in production as
our news peering server, with the SmartRAID IV controller doing pure
striping of four IBM UltraStar 9LZX drives ;-).
I'd really like to get a DPT SmartRAID V controller and see how it
fares against vinum. I suspect that it might slightly outperform vinum,
but I doubt that it would outperform it by much.
In my case, I was already planning on making use of vinum for our new
dreaderd news reader servers that will have local disk for serving
history, overview, and caching for news articles. However, I am now much
less inclined to go with a hardware based solution if I have problems with
vinum. The software-only solution really is *that* much faster....
Anyway, this is all to say that when you're looking at putting a
system together, you might want to do some benchmarking of software-only
mirroring/striping/RAID versus the hardware, you might be pleasantly
surprised to see how well the software performs.
Of course, I would recommend the FreeBSD solution over Linux, but then
that's just my personal bias showing through. ;-)
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: news spool area exported from NFS
Author: bill davidsen
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
33 lines
2265 bytes
2265 bytes
In article <ylhfkxov3q.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | Brad Knowles <brad@shub-internet.org> writes: | | > Everything else aside, FreeBSD has an excellent network stack, while | > poor network performance is something that Linus acknowledges and | > theoretically plans to fix in kernel 2.4, whenever that might ship and | > become stable. | | That's poor network performance *for SMP machines*, due to global locking. | SMP is a bit of a waste for news, given that news isn't processor-bound. | For uniprocessor machines, Linux and *BSD are both better in some areas | and worse in others; I've not seen any detailed argument that either has | particularly better performance. I'm going to run a test in the network lab this weekend, I've got an old dual P-166 machine with two NICs and a recent Linux install. I'll try latency and throughput with 2.2.12 and 2.3.current. But my gut feeling is that this is going to show not "poor" performance, but somewhat less performance. The "global lock" around the kernel was a feature of 2.0, not current kernels. I know that's getting even finer grained in 2.3, but it has been somewhat unstable even for testing. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc I thought I had forgotten how to throw a boomerang, but it's all coming back to me...
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
18 lines
1600 bytes
1600 bytes
In article <rttmp24d1iv60@news.supernews.com>, Jeremy <jeremy@exit109.com>
wrote:
> I, too, don't like them. And I, too, don't have anything against NetApps
> in particular -- NFS in general just sucks.
So, of the three of us NFS-haters, I'm the only one that really hates
NetApp in particular? ;-)
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: news spool area exported from NFS
Author: Stig Sandbeck Mathisen
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
15 lines
1498 bytes
1498 bytes
Russ Allbery <rra@stanford.edu> writes: > That's poor network performance *for SMP machines*, due to global > locking. SMP is a bit of a waste for news, given that news isn't > processor-bound. I don't think this is true anymore. When running cleanfeed alongside cyclone, I see that they are both using the CPU heavily. When running spam filters, another CPU would be a good thing. -- SSM - Stig Sandbeck Mathisen Trust the Computer, the Computer is your Friend
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
77 lines
4677 bytes
4677 bytes
In article <gVtD3.10204$N77.783503@typ11.nn.bcandid.com>,
cmadams@fly.hiwaay.net (Chris Adams) wrote:
> I am setting up Linux and Diablo on a server that used to be an NT news
> server. It has a lot of hardware (two dual channel external RAID boxes
> with AMI MegaRAID controllers).
This card is not listed at
<http://www.freebsd.org/handbook/install.html#INSTALL-HW>, but I
understand that there have been DPT SmartRAID V drivers that have been
contributed to FreeBSD a couple of months ago and it's not on this list
either, so there may well also be AMI MegaRAID drivers and we just don't
know it. Or, the AMI MegaRAID might just be a rebranded controller from
someone else, which might already have support under FreeBSD.
> I am setting it up with each RAID box
> as a single RAID0 array (8 drives x 8.5G = 69G)
You might want to redo this math slightly, otherwise you could be in
for a rude shock.
I get 8 * 8.5 = 68GB raw
Lose 20% due to RAID-5 overhead = 54.4GB left
Lose 10% due to filesystem overhead = 48.96GB left
Lose 10% so that you never optimize for space = 44.064GB left
This would be about enough to store a months worth of non-binary
content, at current rates. I don't know what the growth curves are for
non-binary content as opposed to overall growth, so you might want to do
some calculations based on how long you would expect the machine to be in
production and what the growth over that period might be expected to be.
> and then using Linux's
> software mirroring (this is a quad PPro 200 system so it should have
> enough CPU) to mirror the two drives (so we don't go down it a drive
> fails). I am planning on doing text only messages, so I figured that
> leaves plenty of free space.
RAID-5 properly implemented should never cause the array to go down if
a drive fails. In fact, with good hardware RAID controllers, you should
be able to set up hot spare drives, etc... to help ensure that even if a
drive does die the system will take care of rebuilding itself and getting
back to full redundancy ASAP.
In this case, you might instead want to stripe your news across the
two RAID-5 arrays, or you might want to have two separate filesystems, or
perhaps just concatenate them and not stripe (although striping would get
you the biggest performance win).
> Any suggestions - is the way I am headed a good idea? I have setup INN
> before and had it running smooth, but I am new to Diablo. There isn't
> near as much info on Diablo as there was on INN, so I'm kind of in the
> dark on the best way to work things.
I second Joe's suggestion. Diablo was designed under FreeBSD, and it
works very well under FreeBSD.
We've had some issues with Diablo under Linux, but it's entirely
possible that this was caused by a poor installation or by issues related
to the fact that the machine was underpowered for what we were asking it
to do, and not specifically related to actual conflicts between Diablo and
Linux.
Everything else aside, FreeBSD has an excellent network stack, while
poor network performance is something that Linus acknowledges and
theoretically plans to fix in kernel 2.4, whenever that might ship and
become stable.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: news spool area exported from NFS
Author: Brad Knowles
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
44 lines
2923 bytes
2923 bytes
In article <1raeqo1e3g.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme
<kjetilho@haey.ifi.uio.no> wrote:
> It is recommended to keep them on separate spindles. In your case,
> they will be, most of the time :-)
I've been thinking about this. When you've got something like four
high-speed disks, I'm wondering if it might be better to have /usr/news
and /usr/news/spool (for Diablo) as separate filesystems on the same 4-way
striped volume. At least, this is what I inferred from some of the
performance tuning comments that Matt made at
<http://www.backplane.com/diablo/hard.html>.
Anybody have any testing that they've done that proves or disproves
this hypothesis?
Of course, with Diablo/dreaderd, the spool and overview are pretty
much by definition on separate sets of spindles, since overview and the
history database are served from local disk, while articles are cached on
local disk after being retrieved via NNTP from one or more central spool
server(s).
I guess you could put these on the same set of spindles, for the same
reason that I believe it might be worthwhile to put /usr/news and
/usr/news/spool on the same set of spindles. Again, I'd like to see test
results that show whether or not this is a good or bad idea.
> For reference, the average size of a file on my Diablo feeder's spool
> is 1637 kB, and in the queue area it is 300 kB. I don't have a Diablo
> reader.
As another data point, the average size of a file in our
/usr/news/spool/news directory is 224.170KB (19.909GB spread across 93,127
files), and 38.653KB in /usr/news/dqueue (15.250MB across 404 files).
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: news spool area exported from NFS
Author: Chris Adams
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
108 lines
6480 bytes
6480 bytes
Once upon a time, Brad Knowles <brad@shub-internet.org> said: >In article <gVtD3.10204$N77.783503@typ11.nn.bcandid.com>, >cmadams@fly.hiwaay.net (Chris Adams) wrote: >> I am setting up Linux and Diablo on a server that used to be an NT news >> server. It has a lot of hardware (two dual channel external RAID boxes >> with AMI MegaRAID controllers). > > This card is not listed at ><http://www.freebsd.org/handbook/install.html#INSTALL-HW>, but I >understand that there have been DPT SmartRAID V drivers that have been >contributed to FreeBSD a couple of months ago and it's not on this list >either, so there may well also be AMI MegaRAID drivers and we just don't >know it. Or, the AMI MegaRAID might just be a rebranded controller from >someone else, which might already have support under FreeBSD. The MegaRAID is an AMI design. The cards I have have three channels, a Symbios chip for SCSI busses, and an Intel i960 to control it all and interface to the system. Dell and AMI wrote a drive for Linux not too long ago, so maybe they haven't been convinced to release it under a BSD license as well (yet!). I prefer the GPL, but I think that things like hardware drivers should be available for both Linux and *BSD (I like Linux, but I want to see both succeed over Windows and the other Unixes). >> I am setting it up with each RAID box >> as a single RAID0 array (8 drives x 8.5G = 69G) > > You might want to redo this math slightly, otherwise you could be in >for a rude shock. > > I get 8 * 8.5 = 68GB raw > Lose 20% due to RAID-5 overhead = 54.4GB left > Lose 10% due to filesystem overhead = 48.96GB left > Lose 10% so that you never optimize for space = 44.064GB left RAID 0 = striping = 0% loss due to RAID overhead. The actual size of the array is just over 71 billion bytes. RAID 5 doesn't have 20% overhead, it has 1 drive overhead. So with 8 drives, that's 12.5% overhead. After partitioning it and making filesystems, there are 70 billion bytes, with 5% reserved for root (and filesystem headroom), which leaves 66.8 billion bytes available to be used. Now, I do have to partition that for spool, history, overview, etc. (is it _really_ recommended that overview and spool be on separate partitions, and if so, why?), so that cuts into it. I've calculated it this way, but one thing I need to find out from someone running Diablo (especially if you are only doing non-binaries) is the approximate bytes-to-inode ratio. Joe Greco said that once he cut down on the number of inodes to a reasonable level, the system ran fsck (in case of crash) a _lot_ faster. I've tried running fsck on a 30G news spool (INN article per file spool), and it took a long time. > RAID-5 properly implemented should never cause the array to go down if >a drive fails. In fact, with good hardware RAID controllers, you should >be able to set up hot spare drives, etc... to help ensure that even if a >drive does die the system will take care of rebuilding itself and getting >back to full redundancy ASAP. The RAID boxes I have don't have room for spares (they each have 8 drives in them and all 8 are in use in the array). > In this case, you might instead want to stripe your news across the >two RAID-5 arrays, or you might want to have two separate filesystems, or >perhaps just concatenate them and not stripe (although striping would get >you the biggest performance win). I'm thinking about doing RAID 5 at the hardware level on each RAID chassis (hardware RAID on the AMI card) and then striping the two disks with software RAID under Linux. The thing I'm worried about is that I've always heard RAID 5 is bad for performance, especially for news, because for each write to the RAID, two reads and then two writes are necessary. The AMI cards I have have 32 MB of write-back cache on them, so they should be able to keep up, but I'd be interested to hear from anyone that has actually _tried_ to use RAID 5 with news (especially with Diablo). > We've had some issues with Diablo under Linux, but it's entirely >possible that this was caused by a poor installation or by issues related >to the fact that the machine was underpowered for what we were asking it >to do, and not specifically related to actual conflicts between Diablo and >Linux. I've actually been running INN (1.7.2) on a Linux box for a couple of years now. If you are careful with your hardware (pick well supported hardware and be careful with respect to ESD), I've found Linux runs well for most everything I've tried. > Everything else aside, FreeBSD has an excellent network stack, while >poor network performance is something that Linus acknowledges and >theoretically plans to fix in kernel 2.4, whenever that might ship and >become stable. Umm, I don't think that Linus acknowledges "poor" network performance. There are some specific things (most of the network stack has a single lock in 2.2, so it doesn't scale well with multiple CPUs and multiple NICs) that are being worked on for 2.4 (which is in feature freeze and should be out by the end of the year). For most things, I feel that Linux and FreeBSD are more or less equal. FreeBSD is better at some things, Linux is better at some things, but the difference is rarely very big. They are both very high performing systems. -- Chris Adams <cmadams@hiwaay.net> Systems and Network Administrator - HiWAAY Information Services I don't speak for anybody but myself - that's enough trouble.
Page 1 of 3 • 119 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads