Thread View: news.software.nntp
20 messages
20 total messages
Started by Dale Ghent
Thu, 08 May 1997 00:00
FreeBSD's ccd for striping
Author: Dale Ghent
Date: Thu, 08 May 1997 00:00
Date: Thu, 08 May 1997 00:00
10 lines
777 bytes
777 bytes
I know this is more of a FBSD question, but since it relates to my news server here goes... What's the general consensus on ccd? Does it do a good job striping? Is it stable enough for a production machine? Any war stories? :) Thanks Dale G.
Re: FreeBSD's ccd for striping
Author: risner
Date: Thu, 08 May 1997 00:00
Date: Thu, 08 May 1997 00:00
32 lines
1751 bytes
1751 bytes
Dale Ghent <daleg-hatesspam@maximum.net> wrote: > I know this is more of a FBSD question, but since it relates to my news > server here goes... What's the general consensus on ccd? Does it do a > good job striping? Is it stable enough for a production machine? Any war > stories? :) ccd came from NetBSD, so it is not exactly new software... As far as stability, I have been using it since it was integrated (like July 96?) and have not had any "production" problems... Until somewhere around 2.2.1 release, a dumpfs would panic the machine. But I didn't care much since, who needs to dump cylinder group information? Anyway, we use it. It is rock solid stable. Use 65536 block stripe set for news. Create "e" or "a" partitions in the mother disks and make them a multiple of the stripe set size (65536) and use these to create the ccd. Also, if possible make all disk the same number of blocks... Speed: very good... watching "systat -vmstat" shows as high as 5800 blks/s on each disk during a "bonnie" run... It runs so well, I have a 15 to 17 incoming and outgoing feed site with ccd and innd is idle from 40% to 60% of the time... idle, and not sleeping on I/O... Risner
Re: FreeBSD's ccd for striping
Author: Daniel Kosack
Date: Thu, 08 May 1997 00:00
Date: Thu, 08 May 1997 00:00
16 lines
1100 bytes
1100 bytes
Dale Ghent (daleg-hatesspam@maximum.net) wrote: : I know this is more of a FBSD question, but since it relates to my news : server here goes... What's the general consensus on ccd? Does it do a : good job striping? Is it stable enough for a production machine? Any war : stories? :) If you trapse through the FreeBSD isp mailing list archives, you will find notice of it being done and done successfully. The ccd driver was ported from NetBSD, which would suggest it works even better there. -- Dan Kosack kosack@fred.net
Re: FreeBSD's ccd for striping
Author: Matt Dillon
Date: Thu, 08 May 1997 00:00
Date: Thu, 08 May 1997 00:00
96 lines
3548 bytes
3548 bytes
:In article <5krv61$736$1@stargate.stdio.com>, <risner@stdio.com> wrote:
:>Dale Ghent <daleg-hatesspam@maximum.net> wrote:
:>> I know this is more of a FBSD question, but since it relates to my news
:>> server here goes... What's the general consensus on ccd? Does it do a
:>> good job striping? Is it stable enough for a production machine? Any war
:>> stories? :)
:>
:>ccd came from NetBSD, so it is not exactly new software...
:>
:>As far as stability, I have been using it since it was integrated (like
:>July 96?) and have not had any "production" problems...
:>Until somewhere around 2.2.1 release, a dumpfs would panic the machine.
:>But I didn't care much since, who needs to dump cylinder group information?
:>
:>Anyway, we use it. It is rock solid stable. Use 65536 block stripe set for
:>news. Create "e" or "a" partitions in the mother disks and make them
:>a multiple of the stripe set size (65536) and use these to create the ccd.
:>Also, if possible make all disk the same number of blocks...
We use it under FreeBSD too. I've never used dumpfs, so I can't comment
on that, but it's been rock solid for us too. We use a stripe of 8192
blocks. Our news machine tends to run around 100 SCSI transactions/sec
on each of the three drives (two of which are CCD'd together), 24 hours
a day.
news1:/news# disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: sd0s1
label:
flags:
bytes/sector: 512
sectors/track: 1
tracks/cylinder: 1
sectors/cylinder: 1
cylinders: 8496960
sectors/unit: 8496960
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 8496960 0 unused 0 0 # (Cyl. 0 - 8496959)
d: 8496944 16 4.2BSD 0 0 0 # (Cyl. 16 - 8496959)
...
same thing for sd2, and then:
news1:/news# cat /etc/ccd.conf
ccd0 8192 none /dev/sd1d /dev/sd2d
news1:/news#
news1:/news# disklabel ccd0
# /dev/rccd0c:
type: CCD
disk: ccd
label: default label
flags:
bytes/sector: 512
sectors/track: 2048
tracks/cylinder: 1
sectors/cylinder: 2048
cylinders: 8296
sectors/unit: 16990208
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
3 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 16990208 0 4.2BSD 0 0 0 # (Cyl. 0 - 8295)
:>Speed: very good...
:>watching "systat -vmstat" shows as high as 5800 blks/s on each disk
:>during a "bonnie" run...
:>
:>It runs so well, I have a 15 to 17 incoming and outgoing feed site
:>with ccd and innd is idle from 40% to 60% of the time...
:>idle, and not sleeping on I/O...
:>
:>Risner
-Matt
Re: FreeBSD's ccd for striping
Author: Doug Ingraham
Date: Fri, 09 May 1997 00:00
Date: Fri, 09 May 1997 00:00
47 lines
2812 bytes
2812 bytes
Dale Ghent (daleg-hatesspam@maximum.net) wrote: : I know this is more of a FBSD question, but since it relates to my news : server here goes... What's the general consensus on ccd? Does it do a : good job striping? Is it stable enough for a production machine? Any war : stories? :) : : Thanks : Dale G. I have been using it for several months with articles on a pair of baracudas. I had the opportunity to play with the drives for several days before I placed them in service and tried a number of interleave factors using bonnie as the test bench. I found that for some of the tests 32 was better and for other tests 64 was better. I did try smaller and larger numbers but performance was impaired in some aspect with other interleave factors. I have read on a number of occasions people using interleaves of 65536 and wondered how they came up with these numbers. I am going to be adding 2 more drives (16GB total) to the ccd array so if it would help to change this now would be the time. I do run my overview on its own drive and I have history on its own drive. This machine supports 2 inbound full feeds and we have only a few hundred customers that actually read news so the number of simultaneous readers is actually rather small 10-20 at most. The machine is used only for news and is a P-90 with 96MB of ram. Load average sits around 0.3 or a little less except during portions of news.daily. Overall I have been very pleased with the performance. Bonnie reported average read and write speeds of 5-7 megabytes per second to the ccd drive array. The optimum interleave would seem to be dependent on the number of heads, the size of the reads/write blocks, and the size of the cache on the drives. Also the size of a cylinder. And with all modern drives the cylinder size varies with the head position. More sectors per cylinder on the outside tracks and less on the inside. Overall a rather complicated thing. It is probably not possible to come up with an optimum number. -- Doug Ingraham There are two kinds of people in the world. Rapid City, SD Those who put everything in two categories USA and those who don't.
Re: FreeBSD's ccd for striping
Author: Matt Dillon
Date: Fri, 09 May 1997 00:00
Date: Fri, 09 May 1997 00:00
40 lines
2358 bytes
2358 bytes
:In article <5kvndi$61f$1@news.rapidnet.com>,
:Doug Ingraham <dpi@rapidnet.com> wrote:
:>Dale Ghent (daleg-hatesspam@maximum.net) wrote:
:>: I know this is more of a FBSD question, but since it relates to my news
:>: server here goes... What's the general consensus on ccd? Does it do a
:>: good job striping? Is it stable enough for a production machine? Any war
:>: stories? :)
:>:
:>: Thanks
:>: Dale G.
:>
:>I have been using it for several months with articles on a pair of
:>baracudas. I had the opportunity to play with the drives for several
:>days before I placed them in service and tried a number of interleave
:>factors using bonnie as the test bench. I found that for some of the
:>tests 32 was better and for other tests 64 was better. I did try smaller
:>and larger numbers but performance was impaired in some aspect with
:>other interleave factors. I have read on a number of occasions people
:>using interleaves of 65536 and wondered how they came up with these
:>numbers. I am going to be adding 2 more drives (16GB total) to the
:>ccd array so if it would help to change this now would be the time.
Generally speaking, if you need high performance on a small number
of large files, you use smallish interleaves (16 or 32 sectors usually).
If you need high performance on a large number of small files,
you want to use a large interleave (8192 sectors or greater) in order
to reduce the number of discrete SCSI transactions required to access
each file.
News systems generally hold lots of smallish files accessed in
parallel, so a larger interleave is better.
-Matt
:>Doug Ingraham There are two kinds of people in the world.
Re: FreeBSD's ccd for striping
Author: Marc Slemko
Date: Tue, 13 May 1997 00:00
Date: Tue, 13 May 1997 00:00
26 lines
1904 bytes
1904 bytes
In <5la4fp$dbq$1@info.cs.uofs.edu> bill@cs.uofs.edu (Bill Gunshannon) writes: >In article <5l9kcf$moa$1@earth.execpc.com>, jgreco@ns.sol.net (Joe Greco) writes: >|> >|> Using a stripe size of 65536 is a number chosen large enough that in the >|> average case, both the final directory lookup and the file itself are >|> likely to be on that one drive. In other words, it tends to optimize >|> the effect hinted at above. >If you choose a stripe size so large that it forces all the disk activity >to be on the one drive anyway, why stripe the disk in the first place?? >I thought the whole purpose of striping was to spread the i/o out over >multiple drives/controllers in order to make it more efficient. We assume that you have more than one article and more than one directory. The point is that you don't care about spreading the IO for _one_ article over multiple drives; in fact, you want the IO for one article to be on one drive. You care about spreading the IO so that 10 articles are distributed across drives. As with most disk IO, the bottleneck is seeks. You want to minimize the seeks. If you spread one article over two disks, you have around twice the number of seeks.
Re: FreeBSD's ccd for striping
Author: Bill Gunshannon
Date: Tue, 13 May 1997 00:00
Date: Tue, 13 May 1997 00:00
22 lines
1570 bytes
1570 bytes
In article <5l9kcf$moa$1@earth.execpc.com>, jgreco@ns.sol.net (Joe Greco) writes: |> |> Using a stripe size of 65536 is a number chosen large enough that in the |> average case, both the final directory lookup and the file itself are |> likely to be on that one drive. In other words, it tends to optimize |> the effect hinted at above. If you choose a stripe size so large that it forces all the disk activity to be on the one drive anyway, why stripe the disk in the first place?? I thought the whole purpose of striping was to spread the i/o out over multiple drives/controllers in order to make it more efficient. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.uofs.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h>
Re: FreeBSD's ccd for striping
Author: Forrest J. Cavalier III
Date: Wed, 14 May 1997 00:00
Date: Wed, 14 May 1997 00:00
55 lines
3206 bytes
3206 bytes
In article <5lbq4h$emp$1@scanner.worldgate.com>, marcs@znep.com wrote...
>
>In <86k9l21v3w.fsf@blah.erols.com> coneill@blah.erols.com writes:
>
>>Marc Slemko <marcs@znep.com> writes:
>
>>> We assume that you have more than one article and more than one
>>> directory. The point is that you don't care about spreading the
>>> IO for _one_ article over multiple drives; in fact, you want the
>>> IO for one article to be on one drive. You care about spreading
>>> the IO so that 10 articles are distributed across drives.
>>>
>>> As with most disk IO, the bottleneck is seeks. You want to minimize
>>> the seeks. If you spread one article over two disks, you have
>>> around twice the number of seeks.
>
>>However, for 90% of out there, we're doing to do multiple seeks
>>for most articles that are actually retrieved, even if they're
>>stored contigously on disk. The reason for this is that most
>>articles that are read are, on average bigger than the average
>>article size. (For example, our average article size is ~16k).
>>The reason that this is a problem is that most dialup customers
>>out there can only push about 3k/s or so and their TCP window
>>size is usually between 4-8k. So at the minimum, you're going
>>to block on writing to the socket at least twice while writing
>>to the socket. This pretty much guarantees that you're going
>>to have to wait on the end user and the disk is going to go
>>on an service other requests, causing you do another seek
>>next time the nnrpd wakes back up, probably about 1/2 to 1 second
>>later.
>
>But most Unixes will do a readahead and cache it, so a bigger chunk
>of the article should still be cached when the client is ready to
>take it. This will not always come into play, but I think it will
>bias the results a good bit.
>
[snip]
Just my two cents worth....
The QIO routines that are used by nnrpd (and innd, for that matter)
by default read in the article files 8192 bytes at a time.
Forrest Cavalier, Mib Software
Searchable hypertext docs on Usenet, INN, etc.
http://www.mibsoftware.com/userkt/forprov.htm
And it is a nit-picking point, but it is not *average* article size
that matters, it is the most commonly requested article size: the
"mode", not the "mean." (I haven't done it but you could possibly
fiddle with the QIO_BUFFER defined in qio.h if you were in
a tweaking/twiddling mood.)
Re: FreeBSD's ccd for striping
Author: Joe Greco
Date: Wed, 14 May 1997 00:00
Date: Wed, 14 May 1997 00:00
27 lines
1920 bytes
1920 bytes
In news.software.nntp article <5la4fp$dbq$1@info.cs.uofs.edu>, bill@cs.uofs.edu (Bill Gunshannon) wrote: :In article <5l9kcf$moa$1@earth.execpc.com>, jgreco@ns.sol.net (Joe Greco) writes: :|> Using a stripe size of 65536 is a number chosen large enough that in the :|> average case, both the final directory lookup and the file itself are :|> likely to be on that one drive. In other words, it tends to optimize :|> the effect hinted at above. : :If you choose a stripe size so large that it forces all the disk activity :to be on the one drive anyway, why stripe the disk in the first place?? :I thought the whole purpose of striping was to spread the i/o out over :multiple drives/controllers in order to make it more efficient. Because it takes two drives just as long to seek to a spot on a disk as it does one drive... (think about that). So you can't really substantially speed up a single access by using striping(*). But you COULD take that second drive and be using it to do a DIFFERENT access... and news servers have lots of different requests to be filled at any given moment. ... JG * You can, if you intend to read large files, but that's not what we're discussing here.
Re: FreeBSD's ccd for striping
Author: Joe Greco
Date: Wed, 14 May 1997 00:00
Date: Wed, 14 May 1997 00:00
77 lines
4341 bytes
4341 bytes
In news.software.nntp article <5lcd9t$i12$2@news1.epix.net>, mibsoft@epix.net (Forrest J. Cavalier III) wrote:
:In article <5lbq4h$emp$1@scanner.worldgate.com>, marcs@znep.com wrote...
:>
:>In <86k9l21v3w.fsf@blah.erols.com> coneill@blah.erols.com writes:
:>
:>>Marc Slemko <marcs@znep.com> writes:
:>
:>>> We assume that you have more than one article and more than one
:>>> directory. The point is that you don't care about spreading the
:>>> IO for _one_ article over multiple drives; in fact, you want the
:>>> IO for one article to be on one drive. You care about spreading
:>>> the IO so that 10 articles are distributed across drives.
:>>>
:>>> As with most disk IO, the bottleneck is seeks. You want to minimize
:>>> the seeks. If you spread one article over two disks, you have
:>>> around twice the number of seeks.
:>
:>>However, for 90% of out there, we're doing to do multiple seeks
:>>for most articles that are actually retrieved, even if they're
:>>stored contigously on disk. The reason for this is that most
:>>articles that are read are, on average bigger than the average
:>>article size. (For example, our average article size is ~16k).
:>>The reason that this is a problem is that most dialup customers
:>>out there can only push about 3k/s or so and their TCP window
:>>size is usually between 4-8k. So at the minimum, you're going
:>>to block on writing to the socket at least twice while writing
:>>to the socket. This pretty much guarantees that you're going
:>>to have to wait on the end user and the disk is going to go
:>>on an service other requests, causing you do another seek
:>>next time the nnrpd wakes back up, probably about 1/2 to 1 second
:>>later.
:>
:>But most Unixes will do a readahead and cache it, so a bigger chunk
:>of the article should still be cached when the client is ready to
:>take it. This will not always come into play, but I think it will
:>bias the results a good bit.
:>
:[snip]
:Just my two cents worth....
:
:The QIO routines that are used by nnrpd (and innd, for that matter)
:by default read in the article files 8192 bytes at a time.
Which could, of course, be increased to 32K or 64K... :-)
I was going to respond to Mr. O'Neill's message and indicate that his
reasoning is insufficient and incorrect, at least for the obvious
and common scenario I have in mind...
Let's assume that you have
/news/alt/some/group/1234
Well, on most machines, both /news and /news/alt damn well better be in
cache. Let's also grant that /news/alt/some is as well, but at this
level, it's likely to be up to chance to a degree. Well,
/news/alt/some/group is NOT likely to be in cache, nor is the article
itself... which means that we must move disk heads to both read the
directory AND open the article.
The fact that FFS tries to optimize to place files in the same cylinder
group as the directory becomes a driving reason to set the stripe size
to be {a multiple of,} the cylinder group size. It means that a single
mechanism will be busy to fill the request, and if it has to do a seek
to retrieve the article text after having looked up the dirent, there
is a great locality to the reference and the heads will be there quickly.
Leaving the other drive(s) entirely free to be doing other things.
THAT is the compelling reason to do as I've described. The problem that
Mr. O'Neill has described is not an argument against what I am suggesting,
it is an argument to fix the buffer size so that we reduce the number of
sillyseeks. :-) (Sorry Clayton, no disrespect meant at all, of course)
... JG
Re: FreeBSD's ccd for striping
Author: coneill
Date: Wed, 14 May 1997 00:00
Date: Wed, 14 May 1997 00:00
29 lines
2132 bytes
2132 bytes
Marc Slemko <marcs@znep.com> writes: > We assume that you have more than one article and more than one > directory. The point is that you don't care about spreading the > IO for _one_ article over multiple drives; in fact, you want the > IO for one article to be on one drive. You care about spreading > the IO so that 10 articles are distributed across drives. > > As with most disk IO, the bottleneck is seeks. You want to minimize > the seeks. If you spread one article over two disks, you have > around twice the number of seeks. However, for 90% of out there, we're doing to do multiple seeks for most articles that are actually retrieved, even if they're stored contigously on disk. The reason for this is that most articles that are read are, on average bigger than the average article size. (For example, our average article size is ~16k). The reason that this is a problem is that most dialup customers out there can only push about 3k/s or so and their TCP window size is usually between 4-8k. So at the minimum, you're going to block on writing to the socket at least twice while writing to the socket. This pretty much guarantees that you're going to have to wait on the end user and the disk is going to go on an service other requests, causing you do another seek next time the nnrpd wakes back up, probably about 1/2 to 1 second later.
Re: FreeBSD's ccd for striping
Author: Marc Slemko
Date: Wed, 14 May 1997 00:00
Date: Wed, 14 May 1997 00:00
52 lines
3211 bytes
3211 bytes
In <86k9l21v3w.fsf@blah.erols.com> coneill@blah.erols.com writes: >Marc Slemko <marcs@znep.com> writes: >> We assume that you have more than one article and more than one >> directory. The point is that you don't care about spreading the >> IO for _one_ article over multiple drives; in fact, you want the >> IO for one article to be on one drive. You care about spreading >> the IO so that 10 articles are distributed across drives. >> >> As with most disk IO, the bottleneck is seeks. You want to minimize >> the seeks. If you spread one article over two disks, you have >> around twice the number of seeks. >However, for 90% of out there, we're doing to do multiple seeks >for most articles that are actually retrieved, even if they're >stored contigously on disk. The reason for this is that most >articles that are read are, on average bigger than the average >article size. (For example, our average article size is ~16k). >The reason that this is a problem is that most dialup customers >out there can only push about 3k/s or so and their TCP window >size is usually between 4-8k. So at the minimum, you're going >to block on writing to the socket at least twice while writing >to the socket. This pretty much guarantees that you're going >to have to wait on the end user and the disk is going to go >on an service other requests, causing you do another seek >next time the nnrpd wakes back up, probably about 1/2 to 1 second >later. But most Unixes will do a readahead and cache it, so a bigger chunk of the article should still be cached when the client is ready to take it. This will not always come into play, but I think it will bias the results a good bit. You also need to differentiate between newsreading clients and newsfeeds. If you model it using a simplistic random fetching of blocks, then both large and small interleave factors behave in a similar way. If you add in the fact that some of the IO will be quick sequential reads of the whole article, the larger interleave factor seems to offer the advantage. Loose testing in an INN environment seems to support this conclusion, but it is true that my comment oversimplified, and it is still being oversimplified. For example, even if the program did want to read the entire article at once, there is no guarentee that it will get to do so before another process competing for the same disk steals it away.
Re: FreeBSD's ccd for striping
Author: coneill
Date: Thu, 15 May 1997 00:00
Date: Thu, 15 May 1997 00:00
47 lines
3095 bytes
3095 bytes
jgreco@ns.sol.net (Joe Greco) writes:
> Which could, of course, be increased to 32K or 64K... :-)
Or removed altogether. The version of nnrpd that I've been running in
production for 1-2 months just mmap's the article and does a write of
the article, letting the OS handle the entire issue. (Yes, the articles
are in wireformat). BTW, I was mistaken. I just checked and our average
article request was 59.6k for yesterday.
> I was going to respond to Mr. O'Neill's message and indicate that his
> reasoning is insufficient and incorrect, at least for the obvious
> and common scenario I have in mind...
>
> Let's assume that you have
>
> /news/alt/some/group/1234
>
> Well, on most machines, both /news and /news/alt damn well better be in
> cache. Let's also grant that /news/alt/some is as well, but at this
> level, it's likely to be up to chance to a degree. Well,
> /news/alt/some/group is NOT likely to be in cache, nor is the article
> itself... which means that we must move disk heads to both read the
> directory AND open the article.
I assume that you mean the page cache, not the namei cache? Last time I
most of the free OS's had pretty anemic namei caches.
> > The fact that FFS tries to optimize to place files in the same cylinder
> group as the directory becomes a driving reason to set the stripe size
> to be {a multiple of,} the cylinder group size. It means that a single
> mechanism will be busy to fill the request, and if it has to do a seek
> to retrieve the article text after having looked up the dirent, there
> is a great locality to the reference and the heads will be there quickly.
> Leaving the other drive(s) entirely free to be doing other things.
>
> THAT is the compelling reason to do as I've described. The problem that
> Mr. O'Neill has described is not an argument against what I am suggesting,
> it is an argument to fix the buffer size so that we reduce the number of
> sillyseeks. :-) (Sorry Clayton, no disrespect meant at all, of course)
I think you pretty much summarized the issue. (FWIW, I run with a 4mb stripe
size with the drive newfs'ed with the drive geometry faked out so that cyl
groups are 4mb also.) My point was really to point out that, because of
large articles and slow clients, we're all probably doing a lot more seeks
than the previous model suggested.
Re: FreeBSD's ccd for striping
Author: coneill
Date: Thu, 15 May 1997 00:00
Date: Thu, 15 May 1997 00:00
13 lines
1388 bytes
1388 bytes
mibsoft@epix.net (Forrest J. Cavalier III) writes: > And it is a nit-picking point, but it is not *average* article size > that matters, it is the most commonly requested article size: the > "mode", not the "mean." (I haven't done it but you could possibly > fiddle with the QIO_BUFFER defined in qio.h if you were in > a tweaking/twiddling mood.) My mistake. This is what I intended; our average article size is no where near 16k. As I said in my response to Joe, the 16k number is also wrong, our average article request is about 60k.
Re: FreeBSD's ccd for striping
Author: Joe Greco
Date: Mon, 19 May 1997 00:00
Date: Mon, 19 May 1997 00:00
53 lines
3345 bytes
3345 bytes
In news.software.nntp article <86iv0l1een.fsf@blah.erols.com>, coneill@blah.erols.com wrote: :jgreco@ns.sol.net (Joe Greco) writes: :> Which could, of course, be increased to 32K or 64K... :-) :Or removed altogether. The version of nnrpd that I've been running in :production for 1-2 months just mmap's the article and does a write of :the article, letting the OS handle the entire issue. (Yes, the articles :are in wireformat). BTW, I was mistaken. I just checked and our average :article request was 59.6k for yesterday. Yes, of course, this is preferable if you're storing things in wire format... you may recall that I was one of the folks who strongly advocated adding this sort of functionality to innfeed as well. :> Well, on most machines, both /news and /news/alt damn well better be in :> cache. Let's also grant that /news/alt/some is as well, but at this :> level, it's likely to be up to chance to a degree. Well, :> /news/alt/some/group is NOT likely to be in cache, nor is the article :> itself... which means that we must move disk heads to both read the :> directory AND open the article. : :I assume that you mean the page cache, not the namei cache? Last time I :most of the free OS's had pretty anemic namei caches. Regardless of that fact, you're still going to win more due to locality of reference because you will not have two drives seeking to very nearly the same spot. As for the size of a namei cache... well, if someone runs ANY OS (free or otherwise) outta the box without bothering to tune the key parameters, they're probably not going to be running striped filesystems anyways. :-) My namei cache has a 94% hit rate... I guess that's not spectacular, but the machine is handling a tenth of its rated load. Most reader class machines I see average around 80%, and if you're in need of a few less seeks per second, that should be pretty easy to increase (I just doubled the cache on a box that was running about 75% and now it's about 90%). :I think you pretty much summarized the issue. (FWIW, I run with a 4mb stripe :size with the drive newfs'ed with the drive geometry faked out so that cyl :groups are 4mb also.) My point was really to point out that, because of :large articles and slow clients, we're all probably doing a lot more seeks :than the previous model suggested. If that's true, it's more of a sad statement about poor OS design than anything else. I guess I don't (want to?) believe that, and if its true, then we need to do something to fix it. Lots of memory is a Good Thing... lots of memory to cache is a Very Good Thing. ... JG
Re: FreeBSD's ccd for striping
Author: Stefan Monnier
Date: Mon, 19 May 1997 00:00
Date: Mon, 19 May 1997 00:00
17 lines
1395 bytes
1395 bytes
Marc Slemko <marcs@znep.com> writes:
> We assume that you have more than one article and more than one
> directory. The point is that you don't care about spreading the
> IO for _one_ article over multiple drives; in fact, you want the
> IO for one article to be on one drive. You care about spreading
> the IO so that 10 articles are distributed across drives.
Am I the only one to think that what you just said mostly means that you want
concatenation rather than striping.
I guess it highly depends on the filesystem, tho (whereas coarse-striping gets
rid of that dependency, or close enough).
Stefan
Re: FreeBSD's ccd for striping
Author: Jerry Aguirre
Date: Tue, 20 May 1997 00:00
Date: Tue, 20 May 1997 00:00
27 lines
1952 bytes
1952 bytes
In article <5lvi4fjbsc.fsf@tequila.systemsz.cs.yale.edu>, Stefan Monnier <monnier+/news/news/software/nntp@tequila.cs.yale.edu> wrote: >Marc Slemko <marcs@znep.com> writes: >> We assume that you have more than one article and more than one >> directory. The point is that you don't care about spreading the >> IO for _one_ article over multiple drives; in fact, you want the >> IO for one article to be on one drive. You care about spreading >> the IO so that 10 articles are distributed across drives. > >Am I the only one to think that what you just said mostly means that you want >concatenation rather than striping. But contatenation, while perhaps better than small stripes, does not evenly distribute the load. The UFS file system, and I presume others, tends to build the filesystem from the beginning of the partition. Thus if one has filled a file system to 90% and that file system consisted of 10 disks, then the last disk will be nearly empty. I have tried a news system using concatenation. The first disk was always several time more busy than the last. This prevents one from making full use of the disk thruput. A stripe size of several cylinders is large enough to isolate accesses but small enough to evenly distribute the load.
Re: FreeBSD's ccd for striping
Author: bill davidsen
Date: Thu, 22 May 1997 00:00
Date: Thu, 22 May 1997 00:00
16 lines
1396 bytes
1396 bytes
In article <86hgg51ea1.fsf@blah.erols.com>, <coneill@blah.erols.com> wrote: | My mistake. This is what I intended; our average article size is no | where near 16k. As I said in my response to Joe, the 16k number is | also wrong, our average article request is about 60k. How do you track article requests? I can't imagine anyone logging every request unless their server was very lightly loaded and had a huge log f/s to hold it. -- -bill davidsen (davidsen@tmr.com) "As a software development model, Anarchy does not scale well." -Dave Welch
Re: FreeBSD's ccd for striping
Author: Jeff Garzik
Date: Thu, 22 May 1997 00:00
Date: Thu, 22 May 1997 00:00
15 lines
1108 bytes
1108 bytes
bill davidsen wrote: > How do you track article requests? I can't imagine anyone logging > every request unless their server was very lightly loaded and had a > huge log f/s to hold it. nnrpd logs each article request by default. It seems to me it would be simple to extend that logging to include article size transferred. -- Jeff Garzik News Administrator, Spinne, Inc. http://www.spinne.com/usenet/
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