🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23193

Re: Loss of Disk Perf. w/ DiskSuite after adding drives

#23193
From: SysAdmin
Date: Wed, 12 Nov 1997 00:00
66 lines
3682 bytes
Dominic Malvo wrote:



>         Sigh, I'm going to go ahead and wipe the spool on the next scheduled
> downtime and start afresh.  I tuned some kernel parameters which
> helped some but not enough.


>         Thanks everyone for responding,
>            Dominic

> dpmalvo@ionet.net (Dominic Malvo) wrote:


> >       I had a spool of around 16 gigs (4 * 4gb) with an average load of
> >about 1.3.  After adding 3 more 4gb drives to the md and using growfs,
> >my load now averages about twice what it was, and tends to soar to
> >around 5 and 6 at times.  I'm using 2 scsi controllers ( one with 4
> >spool drives and the other with 3 spool and the overview drive)  for
> >the spool, and another scsi controller has the drive with the history
> >file.  My avg. artwrite before adding these drives was around 90...
> >now its up to 125 ms.  I'm considering moving the overview drive to a
> >different controller and trying tunefs and see if that will make a
> >difference.  The machine this is running on is an Ultra-1, 167mhz
> >Ultrasparc, with Solaris 2.5.1 and 384 mb of ram.  I'm using
> >innd-1.7.insync and innfeed.  I'm receiving around 5 gigs a day with 4
> >sites that I trade feeds with and roughly 40 concurrent users at a
> >time.  Would having the overview and history drive on the same
> >controller perhaps be too many io requests for one controller?  I am
> >VERY open to any suggestions that any of you have :)


I know I'm jumping in a bit late here but since I haven't really seen
anyone nail the problem on the head I thought maybe my comments would be
welcome.

If you think about how the metadevice is created in the first place then
the reported result explicable.  Online disk suite stripes drives by
taking the first drive you give it and numbering the sectors.  It
numbers sectors on the first disk until it has filled the first stripe
(you gave it a stripe size argument) and then jumps to the next disk and
continues.  When that stripe is full it skips again and continues on
that way until all sectors on all drives are numbered (here's the reason
for using only equal sized drives or wasting space on the largest
ones).  This means that your N disks have their sectors numbered in
discontinuous groups.  Now, when you add another disk with growfs, it
certainly can't go back and renumber all the exisiting sectors in the
existing stripes.  That would be file system suicide.  So it tacks all
the new sectors onto the end of the striped ones.  I'm not sure if it is
smart enough to stripe two or more new disks or if each disk is simply
appended but whichever happens, the new sectors will not be accessed as
efficiently as the existing ones.  This is why growfs on striped
metadevices is not recommended.  

-- 


###########################################
##                                       ##
## Reply to user fg at domain portal.com ##
##                                       ##
###########################################

Technical Details
Message-ID: <3469659C.2BD@ObviouslyBogus.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
References: <642i6e$6ar$1@ionews.ionet.net> <64a80d$keh$1@ionews.ionet.net>

Show Full Headers
Complete Article Headers
Message-ID: <3469659C.2BD@ObviouslyBogus.com>
Subject: Re: Loss of Disk Perf. w/ DiskSuite after adding drives
Date: Wed, 12 Nov 1997 00:00:00 +0000
From: SysAdmin <SysAdmin@ObviouslyBogus.com>
References: <642i6e$6ar$1@ionews.ionet.net> <64a80d$keh$1@ionews.ionet.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-mail
X-Deja-AN: 288834518
Distribution: inet
Organization: Portal, Home of Infranet: don't got it? Get it!
Newsgroups: news.software.nntp