Thread View: news.software.nntp
5 messages
5 total messages
Started by Anthony D'Atri
Wed, 06 Dec 1995 00:00
Assorting INN components across multiple disks
Author: Anthony D'Atri
Date: Wed, 06 Dec 1995 00:00
Date: Wed, 06 Dec 1995 00:00
43 lines
2939 bytes
2939 bytes
I'm in the process of setting up a BSDI machine to be used for newsreading via NNTP. I've got a pair of 7200 rpm disks for the spool, and I'd like to solicit opinions on the layout of the other components -- the OS, NEWSLIB, the NOV tree, and swap. I'd originally planned the following: sd0 (1G) sd1 (1G) sd2 (1G) sd3 (4G) sd4 (4G) / /home(NEWSLIB) /usr/spool/news /usr/spool/news2 128m swap 128m swap /usr /overview /var Now I see that the 1G disks I have available are 5400 rpm Seagate hawks. I also have a pair of 2G Barracudas that I could conceivably toss in, but I've been wondering how I might assort things -- I don't think I need >1G for any of the above partionings, but if I put 2G disks in for, say, sd0 and sd2, I'd get faster swap and overview access, but also probably waste a good bit of space. It's tempting to go with a four-disk configuration where I'd use a 2G disk for the OS, and put either NEWSLIB or the NOV data on there as well. I might also see the idea of moving the second swap area to the NEWSLIB disk and making that a 2G, again with lots of wasted space. Or, I could put both NEWSLIB and the NOV data on one 7200rpm 2G disk with or without some swap space. Basically, I'm after some ideas on the tradeoffs for each component -- does the increased write/read speed of a 7200rpm disk make much difference for paging, NEWSLIB, or NOV data? Would putting multiple of them onto a single spindle end up biting me because of seeks between the two partitions (assuming that they'd be seperate in the cases of the filesystems)? I get the feeling that the NOV data is going to be more seek intensive than NEWSLIB since it would seem to involved far more open()/close() operations, where NEWSLIB accesses would be less frequent given blocking, operation sizes, and caching. One idea would be to put /, half the swap, /usr, and NEWSLIB on one disk, and /var (logfiles) & the rest of the swap on another. Ideally I'd go with the top layout and use 1G 7200 rpm disks, but I don't have any of them readily available, while I do have a pile of 5400rpm 1G disks, a couple of 3600-5400 2G disks, and potentially up to two 7200 2G disks.
Re: Assorting INN components across multiple disks
Author: Phil Blanchfield
Date: Thu, 07 Dec 1995 00:00
Date: Thu, 07 Dec 1995 00:00
89 lines
5127 bytes
5127 bytes
In article <4a5h8q$v7@olympus.nwnet.net>, Anthony D'Atri <aad@nwnet.net> wrote:
>
>I'm in the process of setting up a BSDI machine to be used for newsreading
>via NNTP. I've got a pair of 7200 rpm disks for the spool, and I'd like to
>solicit opinions on the layout of the other components -- the OS, NEWSLIB,
>the NOV tree, and swap. I'd originally planned the following:
>
>sd0 (1G) sd1 (1G) sd2 (1G) sd3 (4G) sd4 (4G)
>
>/ /home(NEWSLIB) /usr/spool/news /usr/spool/news2
>128m swap 128m swap
>/usr /overview
>/var
I have a similar setup here on a SPARC 10/41 (96MB ram) SUNOS 4.1.4 system
dedicated to news service (INN 1.4unoff2). I have 5 drives altogether:
Filesystem DIsk-type (rpm) Mounted on
/dev/sd0a hawk (5400) /
/dev/sd0h hawk (5400) /usr/share/local (newslib)
/dev/sd1a hawk (5400) /usr
/dev/sd1h hawk (5400) /var (NOV & logs)
/dev/sd2a barracuda (7200) /var/spool/news (main spool)
/dev/sd3a barracuda (7200) /var/spool/news.1 (alt spool)
/dev/sd4a hawk (5400) /var/spool/news.2 (alt.binaries spool)
swap swap /tmp
Drives sd0 and sd1 are 1GB drives and each have 3 partitions (a,b,h).
Swap is interleaved on sd0b and sd1b for a total of 168MB. The other
drives are all 2GB single partition drives.
The system receives about 120,000-140,000 articles per day and sends
about the same number. During the day there are 30-40 nnrpd's running,
inn and innxmit are always shipping articles in & out.
With this setup the loading on the drives is reasonably balanced:
# iostat -D sd0 sd1 sd2 sd3 sd4
sd0 sd1 sd2 sd3 sd4
rps wps util rps wps util rps wps util rps wps util rps wps util
1 2 4.9 6 5 16.9 5 8 15.9 4 5 13.6 1 1 4.9
It would be better though if I could get sd0 to take some of the load
from sd1. Previously I had NOV on sd0 with NEWSLIB but that appeared to
be worse but I don't remember the iostat numbers (maybe I'll try this again).
>Now I see that the 1G disks I have available are 5400 rpm Seagate hawks.
>I also have a pair of 2G Barracudas that I could conceivably toss in,
>but I've been wondering how I might assort things -- I don't think I
>need >1G for any of the above partionings, but if I put 2G disks in for,
>say, sd0 and sd2, I'd get faster swap and overview access, but also probably
>waste a good bit of space. It's tempting to go with a four-disk configuration
>where I'd use a 2G disk for the OS, and put either NEWSLIB or the NOV data
>on there as well. I might also see the idea of moving the second swap area
>to the NEWSLIB disk and making that a 2G, again with lots of wasted space.
>Or, I could put both NEWSLIB and the NOV data on one 7200rpm 2G disk with or
>without some swap space.
I think that as long as you have enough ram to prevent swap outs the speed
of the swap partitions (5400 vs 7200) doesn't matter that much. If you
think that you will be swapping a lot then it would be better to put a
swap partition on all drives and slide another SCSI controller in too if
you have it.
>Basically, I'm after some ideas on the tradeoffs for each component -- does
>the increased write/read speed of a 7200rpm disk make much difference for
>paging, NEWSLIB, or NOV data? Would putting multiple of them onto a single
>spindle end up biting me because of seeks between the two partitions (assuming
>that they'd be seperate in the cases of the filesystems)? I get the feeling
>that the NOV data is going to be more seek intensive than NEWSLIB since it
>would seem to involved far more open()/close() operations, where NEWSLIB
>accesses would be less frequent given blocking, operation sizes, and caching.
Yes, I think NOV beats harder on the disk than NEWSLIB. I had to choose
between putting NOV with NEWSLIB or NEWSLOG. I thought that NEWSLIB would
be busier than NEWSLOG because inn, innxmit, and the nnrpd's would
all be randomly reading/writing from/to NEWSLIB but syslog and inn would
only be appending to files in NEWSLOG.
I Hope this helps.
Cheers.
--
Phil Blanchfield
The Communications Research Centre 3701 Carling Avenue, Ottawa Ontario CANADA
Internet: Phil.Blanchfield@CRC.DOC.CA Tel: (613) 998-2761 Fax: (613) 998-9648
Re: Assorting INN components across multiple disks
Author: bill davidsen
Date: Thu, 07 Dec 1995 00:00
Date: Thu, 07 Dec 1995 00:00
22 lines
1726 bytes
1726 bytes
In article <4a5h8q$v7@olympus.nwnet.net>, Anthony D'Atri <aad@nwnet.net> wrote: | | I'm in the process of setting up a BSDI machine to be used for newsreading | via NNTP. I've got a pair of 7200 rpm disks for the spool, and I'd like to | solicit opinions on the layout of the other components -- the OS, NEWSLIB, | the NOV tree, and swap. In my opinion the files other than articles and NOV get relatively low usage, and the secret to performance seems to be spreading head motion and enough memory. If you don't have enough memory the fast disks should be used for swap to benefit from the faster transfer rate. I have a system disk, a drive for logs and history, and all the rest are for articles and NOV. Currently I have 8x2H striped over two controllers, and the sys/log/swap on the third. For servers on journaled file systems (read as: AIX) the journal file is on a solid state disk, which buys 2-3x faster expire. Works for me. If you have more drives I would spread the articles out.
Re: Assorting INN components across multiple disks
Author: bill davidsen
Date: Fri, 08 Dec 1995 00:00
Date: Fri, 08 Dec 1995 00:00
41 lines
2675 bytes
2675 bytes
In article <4aa0st$3oi@olympus.nwnet.net>, Anthony D'Atri <aad@nwnet.net> wrote: | 128M of physical memory, which I hope is plenty. I think I'll just go | with the 5400rpm disks for other than NOV data. Figure ~1MB/reader. Got enough? | >I have a system disk, a drive for logs and history, and all the | >rest are for articles and NOV. Currently I have 8x2H striped over | >two controllers, and the sys/log/swap on the third. | | BSDI doesn't do striping, though, and I'm not sure that a standalone RAID box | would help enough to justify their very high cost. I asked here once before | about them, but nobody had anything to say. I've heard claims that they | actually *degrade* write performance -- and that host-based striping schemes | can chew up a big percentage of the CPU. The symlink approach to spanning | filesystems seems pretty ugly, though. How long do you keep articles? I was | aiming for a week. I'm told there are striping SCSI controllers available for <$500, although I haven't tried one, since all the systems I run can do it in software. Doesn't seem to have much CPU impact. I get a full feed, and that's about 1GB/day to keep (16k+ groups). | >If you have more drives I would spread the articles out. | | I guess I'll see how things go with the two 4G drives. I might be able to | snag another one or two if I can at least casually demonstrate that it'll help. | One of the difficulties is figuring out how to split up the hierarchies to | roughly balance them. If you can't stripe you will not gain nearly as much. The idea is to spread head motion, not storage usage. Use hard mounts on the points you need, not symlinking. I guess the answer is that running a small number of readers and a few feeds is easy, when you start getting more than a few hundred active readers tuning the disk becomes *very* important.
Re: Assorting INN components across multiple disks
Author: Anthony D'Atri
Date: Fri, 08 Dec 1995 00:00
Date: Fri, 08 Dec 1995 00:00
29 lines
2117 bytes
2117 bytes
>In my opinion the files other than articles and NOV get relatively >low usage, and the secret to performance seems to be spreading head >motion and enough memory. If you don't have enough memory the fast >disks should be used for swap to benefit from the faster transfer >rate. 128M of physical memory, which I hope is plenty. I think I'll just go with the 5400rpm disks for other than NOV data. >I have a system disk, a drive for logs and history, and all the >rest are for articles and NOV. Currently I have 8x2H striped over >two controllers, and the sys/log/swap on the third. BSDI doesn't do striping, though, and I'm not sure that a standalone RAID box would help enough to justify their very high cost. I asked here once before about them, but nobody had anything to say. I've heard claims that they actually *degrade* write performance -- and that host-based striping schemes can chew up a big percentage of the CPU. The symlink approach to spanning filesystems seems pretty ugly, though. How long do you keep articles? I was aiming for a week. >If you have more drives I would spread the articles out. I guess I'll see how things go with the two 4G drives. I might be able to snag another one or two if I can at least casually demonstrate that it'll help. One of the difficulties is figuring out how to split up the hierarchies to roughly balance them.
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