Article View: news.software.nntp
Article #17638Re: FreeBSD's ccd for striping
From: 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
Technical Details
Message-ID:
<5ks1v7$bn7$1@flea.best.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<33714AAE.41C67EA6@maximum.net> <5krv61$736$1@stargate.stdio.com>Show Full Headers
Complete Article Headers
Message-ID: <5ks1v7$bn7$1@flea.best.net> Subject: Re: FreeBSD's ccd for striping Date: Thu, 08 May 1997 00:00:00 +0000 From: dillon@flea.best.net (Matt Dillon) References: <33714AAE.41C67EA6@maximum.net> <5krv61$736$1@stargate.stdio.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 240163483 Distribution: inet Organization: BEST Internet Communications, Inc. Newsgroups: news.software.nntp