🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Mark Wedel Fri, 25 Jul 1997 00:00
Overview on seperate disk: Still good idea?
#19667
Author: Mark Wedel
Date: Fri, 25 Jul 1997 00:00
61 lines
3468 bytes

 I know that most all documentation on other documentation out there says
to put the overview data on a seperate disk/spindle from rest of spool.
However, looking at my server (20 spool disks + 2 overview + 1 history +
1 log), I notice that the overview disks are much busier than the spool
disks.

 Now, the main advantages I can see to having overview on seperate areas
is twofold: 1) writes/reads on disks will not be affected by article writes/
reads 2) fewer entries in directories, so it will just be faster to find
the overview inode.

 Now with striping, point 1 would seem to not follow if the number of disks
you have go above a certain amount.  Striped data partitions would mean
that there is a good chance that a read/write to overview might be on a
different disk than the article data.

 Point 2 is a little harder to address.  In general, the overview would
be near the top of the partition since as the group gets an article, it
would feed the information to overchan, which should create the overview
database near the front of the directory.  I imagine this could be
guaranteed by having innd just create the overview file before it writes
the article (would only need to be done when we need to create the article
directory leading up to it, so it shouldn't be too costly.)  What I am not
sure about is if expireover actually unlinks the file, which might cause it
to move to a different area in the directory.

 Point 2 also has the problem that group directories might not be
optimally placed (might be several thousan articles in the directory and
a subgroup is created.)  However, this is a problem in current news
storage.  Whatever utilities are out there to move directories around solve
this problem.

 However, I also see some advantages to storing overview with articles.
When receiving a new article, you will be storing it in the same location
of the overview data, so that path should already be in system cache.  Same
would go for reading articles.  In some sense, you are collapsing two 
news directory trees into one, which should help directory caching some.

 Does this reasoning make sense?  Would it just be better to take
the disks, make a larged striped underlying vdisk, and take 10% of that
for overview, and the rest for spool but keep them seperate partitions?
All that keeps is the sparse directory tree for overview, since you are
sharing spindles with article storage.

 Granted, if you have a small number of disks, keeping them on seperate
disks probably makes sense.  But I know in my current case, the overview
disks are running 5-10 times more traffic than the spool disks.  Actually,
the history disks is running about the same as the overview.  I wonder if
it might then be a good idea to stripe them all together, and take out
differing hunks for the various filesystems.

 Thoughts?

-- 

-- Mark Wedel
mark@pyramid.com

Re: Overview on seperate disk: Still good idea?
#19656
Author: Curt Welch
Date: Fri, 25 Jul 1997 00:00
36 lines
2089 bytes
mark@stealth.eng.pyramid.com (Mark Wedel) wrote:
>  I know that most all documentation on other documentation out there says
> to put the overview data on a seperate disk/spindle from rest of spool.
> However, looking at my server (20 spool disks + 2 overview + 1 history +
> 1 log), I notice that the overview disks are much busier than the spool
> disks.

If you aren't using some type of RAID parity protection, then it
makes some sense to keep the over.view on different disks.  That
way, if any of those disks die, you don't loose your whole news
spool.  If you build a 22 disk spool+overview array, then you
have slightly increased the chance of loosing everything.  But
since you have so many spool disks and so fiew overview, you
problably wouldn't be hurting much by compining them together.

If all those disks are mirrored, then there's really no reason
not to combine the 22 disks into one large array that's shared
for spool and over.view.  This way, your I/O will be spread over
all the disks evenly.  Don't create separte partitions for spool
and overview, just put them all in one large partition.  That
gives you a little better disk usage because they share the
same common free space.

I wouldn't put articles and overview back in the same heirarchy
however.  Keep them separate to prevent the large dir lookup
problems.

You could also solve your problem by just adding more disks to the
over.view array -- or replacing the 2 you have for 4 or 8 smaller
ones.

Curt Welch
http://CurtWelch.Com/

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