🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Dave Sat, 24 Aug 1996 00:00
Stripe size for news spool?
#10387
Author: Dave
Date: Sat, 24 Aug 1996 00:00
22 lines
1240 bytes
I'm experimenting with striping my news spool, with the new ccd(4) 
driver for FreeBSD.  I've seen opposing opinions on the optimum 
configuration for a news spool.  I would think that you'd want to 
optimize it for short reads, of roughly the average news article 
size, correct?

What have folks found to be the best stripe size in actual application?  
I'm thinking I'll try 16KB, rather than 2K, because a large part of 
the nnrp traffic is binaries.

Comments/suggestions/anecdotes?

Thanks.


-- 
David Carmean		WB6YZM		DC574		<dlc@silcom.com>
	System/Network Administration, Silicon Beach Communications
Unsolicited commercial e-mail not accepted.  Violators will be LARTed.

Re: Stripe size for news spool?
#10896
Author: Rashid Karimov
Date: Mon, 16 Sep 1996 00:00
38 lines
1986 bytes
Dave (dave@silcom.com) wrote:
: I'm experimenting with striping my news spool, with the new ccd(4) 
: driver for FreeBSD.  I've seen opposing opinions on the optimum 
: configuration for a news spool.  I would think that you'd want to 
: optimize it for short reads, of roughly the average news article 
: size, correct?

: What have folks found to be the best stripe size in actual application?  
: I'm thinking I'll try 16KB, rather than 2K, because a large part of 
: the nnrp traffic is binaries.


	Personally I found that 64 in ccd.conf gives about even read/write
	( about 18 Mb/sec on my CCDed FreeBSD server ) speeds.

	Go with many small'n'fast SCSI HDDs vs few big ones. What's
	really useful: you can use AHAs with 2 SCSI channels per card,
	thus you can eaily get 4 or 6 SCSI channels on regular cheapo
	P(Pro) with 4 PCI slots and have one left for PCI Ethernet or
	whatever you use.

	Don't forget to interleave the HDs in ccd.conf, so you won't
	access 2 or more HDs connected to the channel sequentially.


	Rashid.
--
                             ------------------

               Beyond the horizon of the place we lived when we were young
               In the world of magnets and miracles
               Our thoughts strayed constantly and without boundary
               The ringing of the division bell had begun ...
                        -=PF, The Division Bell=-


Re: Stripe size for news spool?
#11078
Author: Anthony D'Atri
Date: Mon, 23 Sep 1996 00:00
26 lines
1496 bytes
>>	Personally I found that 64 in ccd.conf gives about even read/write
>>	( about 18 Mb/sec on my CCDed FreeBSD server ) speeds.

Measured how?  iozone?  dd?

>My suggestion is to use a stripe size of 1 cylinder group to minimize
>seek overhead.  Seeks, not read/write  bandwidth, are generally the
>limiting factor in a news spool.  I chose a cylinder group because the
>file system tends to group related directories, indodes, and files
>within that range.  Thus a single disk is likely to be able to service
>a request.  This leaves the other disks free to service other requests.

True indeed, but do the pseudo-cylinder-group boundaries necessarily
correspond exactly with the physical boundaries?  Various flavors of newfs
do things like reserve space at the beginning of the partition for a label.









Re: Stripe size for news spool?
#11087
Author: Jerry Aguirre
Date: Mon, 23 Sep 1996 00:00
25 lines
1779 bytes
In article <51k7j3$btv@news.ios.com> rashid@rk.ios.com (Rashid  Karimov) writes:
>
>	Personally I found that 64 in ccd.conf gives about even read/write
>	( about 18 Mb/sec on my CCDed FreeBSD server ) speeds.
>

What did you use to simulate the news traffic load for performance
measurements?  Are you sure that read/write speeds, probably of
a single relately large file, are a relevant measurement of performance?

Given the effectively random accesses of many small files that a busy
news server would place on the disk spool I fail to see how any small
(where I consider 64 as small) stripe size could be an advantage.
There are so few large articles that the system will hardly ever take
advantage of striping at that level.

My suggestion is to use a stripe size of 1 cylinder group to minimize
seek overhead.  Seeks, not read/write  bandwidth, are generally the
limiting factor in a news spool.  I chose a cylinder group because the
file system tends to group related directories, indodes, and files
within that range.  Thus a single disk is likely to be able to service
a request.  This leaves the other disks free to service other requests.

Re: Stripe size for news spool?
#11131
Author: Jerry Aguirre
Date: Wed, 25 Sep 1996 00:00
20 lines
1636 bytes
>>My suggestion is to use a stripe size of 1 cylinder group to minimize
>>seek overhead.  Seeks, not read/write  bandwidth, are generally the
>>limiting factor in a news spool.  I chose a cylinder group because the

In article <527d9i$kuf@olympus.nwnet.net> aad@nwnet.net writes:
>True indeed, but do the pseudo-cylinder-group boundaries necessarily
>correspond exactly with the physical boundaries?  Various flavors of newfs
>do things like reserve space at the beginning of the partition for a label.

Is the concept of a disk "geometry" itself still valid?  Many high capacity
drives vary the number of sectors/track as the circumference varies.

Regardless the cylinder group concept is going to place related items
near each other on the disk.  The layout might think two items were
in the same cylinder when they really were on adjacent cylinders but
it is going to be a short seek instead of having the data scattered all
over the disk.

Re: Stripe size for news spool?
#11217
Author: Anthony D'Atri
Date: Sat, 28 Sep 1996 00:00
19 lines
1497 bytes
>>True indeed, but do the pseudo-cylinder-group boundaries necessarily
>>correspond exactly with the physical boundaries?  Various flavors of newfs
>>do things like reserve space at the beginning of the partition for a label.
>

>Regardless the cylinder group concept is going to place related items
>near each other on the disk.  The layout might think two items were
>in the same cylinder when they really were on adjacent cylinders but
>it is going to be a short seek instead of having the data scattered all
>over the disk.


I know all about zones -- I was talking about *disk* boundaries.  On a
stripe, having the filesystem's and stripe driver's ideas of the pseudo-
cylinder boundaries can result in the filesystem's idea of a single
pseudo-cylinder spanning two disks.

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