Thread View: news.software.nntp
10 messages
10 total messages
Started by Dave Barr
Tue, 29 Jul 1997 00:00
Re: 1.5.1 vs. 1.4: Performance
Author: Dave Barr
Date: Tue, 29 Jul 1997 00:00
Date: Tue, 29 Jul 1997 00:00
26 lines
1472 bytes
1472 bytes
In article <5rj696$k9q@news-central.tiac.net>, Martin Hannigan <hannigan@tiac.net> wrote: >I'm running INN 1.4() on an SGI Challenge/L over 48GB of disk >utilizing xlv (mirrored/striped). > >Um. Performance blows. My first impression is look at what filesystem you're using. Most filesystems written in the last 5 years tend to suck when used against a news spool (they're optimized for bulk transferrs and large files, not lots of teeny files). Some suck immediately, some suck after weeks/months as metadata info gets fragmented. I'd run some file creat()/unlink() bechmarks against your current system and something using a more standard filesystem such as UFS. If you want to be on the edge, you could move to something like CNFS. --Dave -- http://www.cis.ohio-state.edu/~barr/ barr@cis.ohio-state.edu
Re: 1.5.1 vs. 1.4: Performance [using SGI's XFS]
Author: Heiko Schlichting
Date: Tue, 29 Jul 1997 00:00
Date: Tue, 29 Jul 1997 00:00
33 lines
1975 bytes
1975 bytes
barr@stumble.cis.ohio-state.edu (Dave Barr) writes:
>Martin Hannigan <hannigan@tiac.net> wrote:
>>I'm running INN 1.4() on an SGI Challenge/L over 48GB of disk
>>utilizing xlv (mirrored/striped).
>>
>>Um. Performance blows.
>
>My first impression is look at what filesystem you're using. Most
>filesystems written in the last 5 years tend to suck when used against
>a news spool (they're optimized for bulk transferrs and large files,
>not lots of teeny files).
I assume that Martin uses SGI's XFS filesystem on top of XLV. Although
written recently, XFS behaves very well as news spool. Using an
external log-volumeelement on a different harddisk increases the
performance in a significant way. If striping (*) and appropiate options
for mkfs (**) are used, XFS is a good choise for a newsserver. Using
seperate partitions for article spool, overview, logfiles, history+active,
out.going on different disk is also a good choise.
Heiko
(*) e.g. "-stripe -stripe_unit 8"
(*) e.g. "-b size=2k -d agcount=16 -i size=256,maxpct=0,align=1"
I disagree with Robert Keller's INN on IRIX page
(http://members.home.net/rck/software/inn.html)
that recommends a larger inode size for newsspool because it wastes
a lot of disk space and there is absolut no performance increase.
Re: 1.5.1 vs. 1.4: Performance
Author: Mike O'Connor
Date: Wed, 30 Jul 1997 00:00
Date: Wed, 30 Jul 1997 00:00
31 lines
1872 bytes
1872 bytes
In article <5rkrnjINNejl@stumble.cis.ohio-state.edu>, Dave Barr <barr@stumble.cis.ohio-state.edu> wrote: :In article <5rj696$k9q@news-central.tiac.net>, :Martin Hannigan <hannigan@tiac.net> wrote: :>I'm running INN 1.4() on an SGI Challenge/L over 48GB of disk :>utilizing xlv (mirrored/striped). :> :>Um. Performance blows. : :My first impression is look at what filesystem you're using. Most :filesystems written in the last 5 years tend to suck when used against :a news spool (they're optimized for bulk transferrs and large files, :not lots of teeny files). Some suck immediately, some suck after :weeks/months as metadata info gets fragmented. I dunno about that. I think that xfs for IRIX and ext2fs for Linux are nicer across the board. I certainly see better performance with xfs vs. efs, and I've run news servers on both. :I'd run some file creat()/unlink() bechmarks against your current :system and something using a more standard filesystem such as UFS. http://members.home.net/rck/software/inn.html has some good tips. -- Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481
Re: 1.5.1 vs. 1.4: Performance
Author: Heiko W.Rupp
Date: Wed, 30 Jul 1997 00:00
Date: Wed, 30 Jul 1997 00:00
13 lines
934 bytes
934 bytes
Dave Barr wrote:
|If you want to be on the edge, you could move to something like
|CNFS.
Sorry to ask - what is CNFS and for what plattforms?
--
Heiko W.Rupp hwr@pilhuhn.de
INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
It is also posted regularly to news.software.{b,nntp} and news.answers.
Re: 1.5.1 vs. 1.4: Performance [using SGI's XFS]
Author: Heiko Schlichting
Date: Thu, 31 Jul 1997 00:00
Date: Thu, 31 Jul 1997 00:00
29 lines
1839 bytes
1839 bytes
srb@cuci.nl (Stephen R. van den Berg) writes:
>I was wondering, if you can choose between striping and concatenating
>partitions into filesystems, what would be best for performance
>in an INN environment?
I never tried INN with concatenating.
>I mean, when you're striping, both heads tend to seek to the same spot
>(shortly after each other).
No. To avoid this I used "-stripe -stripe_unit 8":
-stripe_unit stripe_unit_size
specifies the number of blocks to write to one
disk before writing to the next disk in a stripe
set. stripe_unit_size is expressed in 512-byte
blocks. -stripe_unit is only meaningful when used
in conjunction with -stripe. The default stripe
unit size, if this flag is not set, is one track.
With "-stripe_unit 8" our newsserver should use next disk every 4096 Bytes.
This is a little bit more then the average article size. So in most cases
article1 is written to disk1, article2 to disk2, ..., articleN to diskN
at the same time.
Heiko
Re: 1.5.1 vs. 1.4: Performance [using SGI's XFS]
Author: Stephen R. van den Berg
Date: Thu, 31 Jul 1997 00:00
Date: Thu, 31 Jul 1997 00:00
31 lines
2046 bytes
2046 bytes
Heiko Schlichting <heiko@cis.fu-berlin.de> wrote:
>barr@stumble.cis.ohio-state.edu (Dave Barr) writes:
>>Martin Hannigan <hannigan@tiac.net> wrote:
>>>I'm running INN 1.4() on an SGI Challenge/L over 48GB of disk
>>>utilizing xlv (mirrored/striped).
>performance in a significant way. If striping (*) and appropiate options
>for mkfs (**) are used, XFS is a good choise for a newsserver. Using
I was wondering, if you can choose between striping and concatenating
partitions into filesystems, what would be best for performance
in an INN environment?
I mean, when you're striping, both heads tend to seek to the same spot
(shortly after each other). The bottleneck usually isn't throughput, it's
seektime, and you're effectively giving away performance by striping,
because all heads have to seek to nearly the same spot.
If, OTOH, you were to simply concatenate partitions into one big
partition/filesystem, then the filesystem should (more or less) scatter
the files and directories across the disk, and you end up with more
independent seeks on the different disks. I.e. the benefit from the
concurrent seeks to different spots should be more apparent.
--
Sincerely, srb@cuci.nl
Stephen R. van den Berg (AKA BuGless).
To boldly program, where *no* man has programmed before!
Re: 1.5.1 vs. 1.4: Performance
Author: Dave Barr
Date: Thu, 31 Jul 1997 00:00
Date: Thu, 31 Jul 1997 00:00
22 lines
1505 bytes
1505 bytes
In article <970730233419.AA790@dojo.mi.org>, Mike O'Connor <mjo@dojo.mi.org> wrote: >In article <5rkrnjINNejl@stumble.cis.ohio-state.edu>, >Dave Barr <barr@stumble.cis.ohio-state.edu> wrote: >:Most filesystems written in the last 5 years tend to suck when used against >:a news spool (they're optimized for bulk transferrs and large files, > >I dunno about that. I think that xfs for IRIX and ext2fs for Linux >are nicer across the board. I certainly see better performance with >xfs vs. efs, and I've run news servers on both. Yes, when I wrote "most", at least Linux's ext2 was in my mind's exception list. I've heard mixed reports about xfs, but admittedly I haven't touched an SGI in years. --Dave -- http://www.cis.ohio-state.edu/~barr/ barr@cis.ohio-state.edu
Re: 1.5.1 vs. 1.4: Performance [using SGI's XFS]
Author: aos
Date: Thu, 31 Jul 1997 00:00
Date: Thu, 31 Jul 1997 00:00
39 lines
2644 bytes
2644 bytes
Stephen R. van den Berg <srb@cuci.nl> wrote:
> I mean, when you're striping, both heads tend to seek to the same spot
> (shortly after each other). The bottleneck usually isn't throughput, it's
> seektime, and you're effectively giving away performance by striping,
> because all heads have to seek to nearly the same spot.
The idea of striping isn't designed to work within one drive mechanism.
You're supposed to stripe multiple drives (and preferably over multiple
controllers as well). That way you gets heads on *different* drives going
to different places. In theory, if you have all sequential access, you'll
run through all the drives in order, so the first drive will be more than
free by the time a request gets back to it.
Of course, in a real-world situation, reads and writes aren't sequential,
but the concept still holds true.
I've got 8 4GB FW-SCSI3 drives on two controllers (really one dual channel
controller), striped RAID0. Even under constant load, the service time on
the array rarely goes over 10ms.
> If, OTOH, you were to simply concatenate partitions into one big
> partition/filesystem, then the filesystem should (more or less) scatter
> the files and directories across the disk, and you end up with more
> independent seeks on the different disks. I.e. the benefit from the
> concurrent seeks to different spots should be more apparent.
Nope. If you concatenate, you end up with a single file being on multiple
cynlinders on one drive mechanism. Therefore a request for that file is
going to make that ONE mech doing a lot of seeking. If instead we stripe
the file across eight mechs, each one does a LITTLE work, and is ready for
the next requst in a very small amount of time.
--
Andrew Smith -- Sysadmin, Insync Internet Services | "Whatever you do, take
PGP: 2A 50 AE 6D 51 53 18 77 F7 6C E9 2E E9 E1 59 2C | care of your shoes."
(finger -l aos@insync.net for full key) | - Tom Marhsall
Re: 1.5.1 vs. 1.4: Performance [using SGI's XFS]
Author: Alexis Rosen
Date: Fri, 01 Aug 1997 00:00
Date: Fri, 01 Aug 1997 00:00
72 lines
4752 bytes
4752 bytes
In <5rqgr6$rd1$1@synthemesc.insync.net> aos@insync.net writes: >Stephen R. van den Berg <srb@cuci.nl> wrote: >> I mean, when you're striping, both heads tend to seek to the same spot >> (shortly after each other). The bottleneck usually isn't throughput, it's >> seektime, and you're effectively giving away performance by striping, >> because all heads have to seek to nearly the same spot. >The idea of striping isn't designed to work within one drive mechanism. >You're supposed to stripe multiple drives (and preferably over multiple >controllers as well). That way you gets heads on *different* drives going >to different places. In theory, if you have all sequential access, you'll >run through all the drives in order, so the first drive will be more than >free by the time a request gets back to it. I don't understand how this is relevant to Stephan's statement. He's talking about multiple disks. >> If, OTOH, you were to simply concatenate partitions into one big >> partition/filesystem, then the filesystem should (more or less) scatter >> the files and directories across the disk, and you end up with more >> independent seeks on the different disks. I.e. the benefit from the >> concurrent seeks to different spots should be more apparent. >Nope. If you concatenate, you end up with a single file being on multiple >cynlinders on one drive mechanism. Therefore a request for that file is >going to make that ONE mech doing a lot of seeking. If instead we stripe >the file across eight mechs, each one does a LITTLE work, and is ready for >the next requst in a very small amount of time. This is wrong. On a news filesystem, most articles are small and will be read out of one cylinder (in fact, out of one block, although that is changing with all the extra headers, MIME crap, etc.). Therefore, assuming normal block size and fs layout policy, one seek will be enough to read the file, after a seek to an inode that is probably close by. This is best done by *one* head since the total disk time taken by one head doing a random seek and then another seek that will likely be either in track cache or a short track-to-track seek is less than the total time taken by two drives each seeking once randomly. Calculation gets a little tougher for files that are several blocks long but the principle remains the same. Of course, for *long* files (typical 500K binary part, say), small stripes give you a throughput advantage *for that one file* since two (or more) heads are reading the file simultaneously. But there's no production news system on earth that's only reading one file at once. You net throughput across all activities will still go down in this case, using small stripes, for one of the same reasons it does with small files- if it's all on one drive, you get mostly track-to-track seeks through the file. But the loss is smaller per-file in this case, especially with really big files (> a few MB, say- of which news has few in the spool). Nevertheless, catenation isn't the best solution either. That's because you may find that your filesystem lays out your disk usage unevenly between the two disks. Some fses may even prefer what they think are "outer" tracks of your catenated drive, which is a clear lose. The best solution is wide stripes. .5-1MB seems to be the best. This big and you don't get multiple heads seeking a single article, typically- and when they do, you'd likely have had long seeks on a single drive anyway so you don't lose much (or at all). On the other hand, fs layout policies won't tend to load one disk more than another. Larger stripes will perform equally well for small files but will lose substantially on really big files (though you may not care about them in a spool). Larger stripes may also be harder for the OS (or HW RAID controller) to buffer well. I posted another article on this topic a day or two ago, which might be worth reading if you haven't yet. /a
Re: 1.5.1 vs. 1.4: Performance [using SGI's XFS]
Author: Heiko W.Rupp
Date: Fri, 01 Aug 1997 00:00
Date: Fri, 01 Aug 1997 00:00
15 lines
1217 bytes
1217 bytes
Stephen R. van den Berg wrote:
|If, OTOH, you were to simply concatenate partitions into one big
|partition/filesystem, then the filesystem should (more or less) scatter
|the files and directories across the disk, and you end up with more
THis is only true if the partition is full. Else the first disk will
get (much) more load than the last one.
--
Heiko W.Rupp hwr@pilhuhn.de
INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
It is also posted regularly to news.software.{b,nntp} and news.answers.
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