Thread View: news.software.nntp
8 messages
8 total messages
Started by Elizabeth Zaenger
Fri, 17 Sep 1999 00:00
New server construction
Author: Elizabeth Zaenger
Date: Fri, 17 Sep 1999 00:00
Date: Fri, 17 Sep 1999 00:00
33 lines
2117 bytes
2117 bytes
I'm in the process of making a new news server, which will ultimately be a
transfer only machine (working in tandem with our current transfer/read
machine). I've got a Dell Xeon with 1G of memory, and 4 36G IBM ultrastar
disks on an Ultra-2 SCSI bus. Within reason ("reason" here being defined as
free software, and hardware that is known to be working well at other sites
with this free software), I can do anything I want with this machine.
I've currently got it loaded with FreeBSD, and INN 2.2.1. My thoughts were
running towards CNFS (real files, not raw disk), and maybe hanging another
disk off the SCSI Wide bus to handle the operating system and maybe the news
software, reserving all the Ultra 2 disks for the spool, history, active,
overview and outgoing areas.
We handle a full feed, including binaries, and currently I have 27G of spool
on a hardware raid controller. We have about 30 full or (mostly) partial
feeds going both ways Current machine is running INN 1.7.2 on Solaris.
What would you do if this was your machine? Would you stay with this plan,
or go a different way? How would you actually lay out the disks, would you
split the spool area across all 4 of the Ultrastars? Would you separate out
the outgoing, overview, history & active?
And how much swap space should be allocated for this machine? I was thinking
2G, but someone else here said only .5G since it's I/O intensive.
--
Elizabeth Zaenger, Unix Support
Departmental Computing Organization
University of Michigan, Electrical Engineering and Computer Science Dept.
Re: New server construction
Author: Brad Knowles
Date: Fri, 17 Sep 1999 00:00
Date: Fri, 17 Sep 1999 00:00
68 lines
3917 bytes
3917 bytes
In article <wat3dwdpmir.fsf@che.eecs.umich.edu>, Elizabeth Zaenger
<liz@che.eecs.umich.edu> wrote:
> I'm in the process of making a new news server, which will ultimately be a
> transfer only machine (working in tandem with our current transfer/read
> machine). I've got a Dell Xeon with 1G of memory, and 4 36G IBM ultrastar
> disks on an Ultra-2 SCSI bus. Within reason ("reason" here being defined as
> free software, and hardware that is known to be working well at other sites
> with this free software), I can do anything I want with this machine.
>
> I've currently got it loaded with FreeBSD, and INN 2.2.1.
[ ... deletia ... ]
> What would you do if this was your machine? Would you stay with this plan,
> or go a different way? How would you actually lay out the disks, would you
> split the spool area across all 4 of the Ultrastars? Would you separate out
> the outgoing, overview, history & active?
There are some people who are running INN 2.2 (and presumably 2.2.1)
just fine on FreeBSD, but there are others that I believe are continuing
to have no end of problems getting it to compile and run on FreeBSD.
Frankly, I don't know what the problem is, or whose fault it is.
I do know that I feel that INN at least feels like it has a higher
administrative load to me, and that it's harder to keep running well.
There are certainly sites running INN and doing extremely well as
transit-only nodes (i.e., in the Freenix Top Ten), but it's my feeling
that it takes a lot more tweaking of the configuration in order to get
performance up to those levels.
Myself, I prefer Diablo. I believe that it has a lower administrative
overhead (especially as a transit-only machine), although it will tend to
be somewhat slower than a well-tuned INN configuration, and it's unlikely
that you'll ever seriously endanger any of the Top Ten with a Diablo
server (Joe Greco is now in the Top Ten, but then he's Joe Greco).
Myself, I'll take the slower but easier to administer Diablo server
over INN. Of course, I realize that this choice is not for everyone.
If you were to go with Diablo, I would start with the recommended
hardware configuration information that Matt Dillon has up at
<http://www.backplane.com/diablo/hard.html>, and then follow that up with
additional configuration details that have recently been posted in this
newsgroup by Joe Greco.
I can tell you the way we have our news transit server set up, but I
am by no means confident that this is anywhere remotely close to an
optimal configuration, and there's even a chance that I might decide to
scrap our configuration and rebuild the machine, so that it's more along
the lines of what Joe has.
Personally, I feel that Diablo has other advantages over INN at this
time, but they would not appear to be relevant to your particular
configuration.
--
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: New server construction
Author: Russ Allbery
Date: Fri, 17 Sep 1999 00:00
Date: Fri, 17 Sep 1999 00:00
39 lines
2251 bytes
2251 bytes
Elizabeth Zaenger <liz@che.eecs.umich.edu> writes: > We handle a full feed, including binaries, and currently I have 27G of > spool on a hardware raid controller. We have about 30 full or (mostly) > partial feeds going both ways Current machine is running INN 1.7.2 on > Solaris. 27GB of space won't hold a truly *full* feed for a whole day, but you may not actually be carrying a *full* feed (which involves lots of CD images and similar forms of crap) and I'd personally encourage you not to try particularly hard. > What would you do if this was your machine? Would you stay with this > plan, or go a different way? How would you actually lay out the disks, > would you split the spool area across all 4 of the Ultrastars? Would > you separate out the outgoing, overview, history & active? Dedicating a disk to history is rather a waste of space, but you don't want that disk to be particularly heavily loaded since the history write rate is quite high. I'd put less write-intensive cycbuffs on the same disk (hierarchies with less traffic that you want a fairly long retention time on, for example). Do you care about losing some news if you lose a disk? (ie, are you planning on using RAID?) > And how much swap space should be allocated for this machine? I was > thinking 2G, but someone else here said only .5G since it's I/O > intensive. You shouldn't need more than 500MB of swap, if that, for INN, at least in my experience. My server is doing just fine with 512MB of memory and 512MB of swap, and you have 1GB of memory. Lots of readers may change that picture, I suppose. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: New server construction
Author: Russ Allbery
Date: Mon, 20 Sep 1999 00:00
Date: Mon, 20 Sep 1999 00:00
27 lines
1758 bytes
1758 bytes
Elizabeth Zaenger <liz@eecs.umich.edu> writes: > Currently, the history and active partitions are on the same drive. The > active area has space for history to rebuild itself. I was thinking of > doing about the same thing, but it seems like CNFS is made to be written > across lots of disks...and I really only have 4 to use for spool. CNFS is extremely fast even if you don't have lots of disks. In fact, given that INN is currently single-threaded, having lots of disks isn't necessarily much of an advantage. > Thanks for your replies--I'm currently bringing up a second xeon with > NT, so I can try out NNTPrelay. Can't really believe I'm doing it, > tho...8^) NNTPrelay is about the only software program that I'd seriously consider doing that for. Basically, NNTPrelay is way faster than INN (and just about everything else except Cyclone, for that matter) but doesn't have as many interesting options currently (or at least that's my impression). But it makes you deal with NT, which isn't high on my list of desired skills. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: New server construction
Author: Elizabeth Zaenger
Date: Mon, 20 Sep 1999 00:00
Date: Mon, 20 Sep 1999 00:00
63 lines
3339 bytes
3339 bytes
Russ Allbery <rra@stanford.edu> writes: > Elizabeth Zaenger <liz@che.eecs.umich.edu> writes: > > > 27GB of space won't hold a truly *full* feed for a whole day, but you may > not actually be carrying a *full* feed (which involves lots of CD images > and similar forms of crap) and I'd personally encourage you not to try > particularly hard. Yeah, you're right, we actually don't carry "all' the binaries, and expire some of the more obnoxious ones a couple of times a day...(they all get punted pretty quickly right now). > > What would you do if this was your machine? Would you stay with this > > plan, or go a different way? How would you actually lay out the disks, > > would you split the spool area across all 4 of the Ultrastars? Would > > you separate out the outgoing, overview, history & active? > > Dedicating a disk to history is rather a waste of space, but you don't > want that disk to be particularly heavily loaded since the history write > rate is quite high. I'd put less write-intensive cycbuffs on the same > disk (hierarchies with less traffic that you want a fairly long retention > time on, for example). Currently, the history and active partitions are on the same drive. The active area has space for history to rebuild itself. I was thinking of doing about the same thing, but it seems like CNFS is made to be written across lots of disks...and I really only have 4 to use for spool. > Do you care about losing some news if you lose a disk? (ie, are you > planning on using RAID?) I looked at the RAID hardware that was supported by FreeBSD, and my choice was RAID on the wide-scsi, or Ultra 2 scsi with no raid. My local hardware expert (who also happens to be my boss, and is footing the bill for this machine 8^) said it was probably a toss up between the two, so I decide to go the cheap route. The "backup" will be my current machine, which I am planning to keep as a transit reader machine, with the Xeon as a transit only machine, until the old machine bites the dust. > You shouldn't need more than 500MB of swap, if that, for INN, at least in > my experience. My server is doing just fine with 512MB of memory and > 512MB of swap, and you have 1GB of memory. Lots of readers may change > that picture, I suppose. With luck, the readers will stay on the other machine--I'm hoping to get about a year out of that scheme... Thanks for your replies--I'm currently bringing up a second xeon with NT, so I can try out NNTPrelay. Can't really believe I'm doing it, tho...8^) --- Elizabeth Zaenger, Unix Support Departmental Computing Organization University of Michigan, Electrical Engineering and Computer Science Dept.
Re: New server construction
Author: bill davidsen
Date: Thu, 23 Sep 1999 00:00
Date: Thu, 23 Sep 1999 00:00
50 lines
3183 bytes
3183 bytes
In article <wat3dwdpmir.fsf@che.eecs.umich.edu>, Elizabeth Zaenger <liz@che.eecs.umich.edu> wrote: | I've currently got it loaded with FreeBSD, and INN 2.2.1. My thoughts were | running towards CNFS (real files, not raw disk), and maybe hanging another | disk off the SCSI Wide bus to handle the operating system and maybe the news | software, reserving all the Ultra 2 disks for the spool, history, active, | overview and outgoing areas. | | We handle a full feed, including binaries, and currently I have 27G of spool | on a hardware raid controller. We have about 30 full or (mostly) partial | feeds going both ways Current machine is running INN 1.7.2 on Solaris. | | What would you do if this was your machine? Would you stay with this plan, | or go a different way? How would you actually lay out the disks, would you | split the spool area across all 4 of the Ultrastars? Would you separate out | the outgoing, overview, history & active? What I did with a similar setup was to use RAID-0+1 for history and overview, across all drives, and then RAID-5 for the CNFS. If you can stand the drop in reliability I would not use RAID for the spool at all, due to performance hits. Obviously RAID-1 would be nice if cost is no object. Using that setup, and doing it with Linux software RAID because I had controller problems, I saw peaks of 120-150 art/sec during backlog catchup when I first started it. It's never had a backlog since then ;-) I have no reason to think that BSD would be much different, mirroring history really helps lookups, and it's small enough to not eat your disk space. Someone, maybe Brad??, posted some excellent stats on BSD software RAID, showing it to be far faster than hardware RAID using a common controller. I know it's non-intuitive to have hardware RAID and not use it, but there it is, and you have way more CPU than you will ever need. | And how much swap space should be allocated for this machine? I was thinking | 2G, but someone else here said only .5G since it's I/O intensive. Next to none, just enough so unused stuff can be pushed out, say 100-500MB. If your actualy working news gets swapping you're dead, your performance will vanish. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always let them go on the rides before eating all the junk food and candy.
Re: New server construction
Author: Brad Knowles
Date: Thu, 23 Sep 1999 00:00
Date: Thu, 23 Sep 1999 00:00
47 lines
3022 bytes
3022 bytes
In article <7sd2st$qp6$1@newssvr02.news.prodigy.com>, davidsen@tmr.com
(bill davidsen) wrote:
> Using that setup, and doing it with Linux software RAID because I had
> controller problems, I saw peaks of 120-150 art/sec during backlog
> catchup when I first started it. It's never had a backlog since then ;-)
By 120-150 articles per second, you mean 120-150 history database
lookups per second, right? I mean, with 1.1 million articles per day on a
full feed, you should average something like actually receiving about
12-13 articles per second.
On my FreeBSD 3.2-RELEASE server with an mfs filesystem for history
(1GB RAM is *nice* ;-), I'm averaging 321.269 history lookups per second
today (23131413 check+ihave up to 9:00 PM), and receiving 23.579 articles
per second (1697755 accepted+rejected, up to 9:00 PM), but then I'm having
a major meltdown with one of my peers right now, and he wants me to leave
the pipe open as we debug this problem.
Jeez, louise -- this is really whacking my stats *all* to hell.
> Someone, maybe Brad??, posted some excellent stats on BSD
> software RAID, showing it to be far faster than hardware RAID using a
> common controller.
I have some stuff underneath <http://www.shub-internet.org/brad/FreeBSD/>.
I've done low-level device benchmarking with Greg Lehey's rawio on
both software striping (using Greg's vinum, which ships with 3.3-RELEASE)
and hardware (using DPT's ancient SmartRAID IV controller, which is
currently the most recent DPT controller supported under FreeBSD).
I've also started doing some higher level filesystem/OS benchmarking
with a tool called "postmark" that Network Appliance has developed, but
I've only started putting the stats together, and haven't really had a
chance to properly test it out on suitable higher-end equipment with vinum
or proper hardware RAID controllers, etc....
--
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: New server construction
Author: bill davidsen
Date: Thu, 23 Sep 1999 00:00
Date: Thu, 23 Sep 1999 00:00
32 lines
2239 bytes
2239 bytes
In article <brad-2309992146260001@calvin.techos.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: | In article <7sd2st$qp6$1@newssvr02.news.prodigy.com>, davidsen@tmr.com | (bill davidsen) wrote: | | > Using that setup, and doing it with Linux software RAID because I had | > controller problems, I saw peaks of 120-150 art/sec during backlog | > catchup when I first started it. It's never had a backlog since then ;-) | | By 120-150 articles per second, you mean 120-150 history database | lookups per second, right? I mean, with 1.1 million articles per day on a | full feed, you should average something like actually receiving about | 12-13 articles per second. No, I mean that I was adding 120-150 art/sec to the history file while the backlog in innfeed queues on the feed were reduced. No, I don't get that much sustained over a day, more like 10-12, but I measure over 36 sec samples, and there were several minutes where every sample was at least 120 art/sec. I'm sure that wouldn't sustain even if there were enough backlog to drive it, but with a GB of RAM the disk i/o was cached for a good while, allowing some high rates. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
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