Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 1995 10:21:41 -0500 (EST)
From:      Peter Berger <peterb@telerama.lm.com>
To:        William Wong <wwong@wiley.csusb.edu>
Cc:        questions@freebsd.org
Subject:   Re: Inodes for news server
Message-ID:  <Pine.BSI.3.91.951203101547.14225A-100000@ivory.lm.com>
In-Reply-To: <199512030823.AAA18081@wiley.csusb.edu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, 3 Dec 1995, William Wong [asking about Usenet configuration] wrote:

> Would like to know how best to configure the partitions for best performance.
> Example:
> 
>   Would it be best to have / and swap on one drive and /usr on another *or*
>   / and /usr on one drive and swap on another *or* etc. ...?

There ar four conceptual parts to a News system:

1) Operating system.  /, /usr, /var, etc.
2) The history database. 
3) The actual news spool.
4) Swap partitions.

Basically, your best optimizations come from splitting in this order:

1) split the history database from the news spool.
2) split the news spool from itself (ie, put "alt" on one disk and 
everything else somewhere else)
3) split the news spool (and history) from the swap partition.
4) split the operating system off.

(3 is memory dependent...if you have less than 48 meg of core memory it 
might become more inmportant).

The history database sitting on it's own disk is a major win, 
because it gets accessed once for each article that arrives, and every 
time expire runs.  It doesn't need two gigs though -- a 500 meg disk is 
more than adequate to hold two copies of a pretty big history file (and 
nothing else!)

Be sure you read the INN FAQ -carefully!- before splitting things up.  
INN seriously assumes you're on one big disk, and there are lots of nasty 
little flags you need to give to news.daily, expire, fastrm, and the like 
to make things work correctly.

Good luck!
 
> > Use 4 2 gig drives.  The more you split your spool, the less time you 
> > spend waiting for the devices to finish writing.  I speak from hard-won 
> > experience.  Heck, if you can swing it, split those drives across two 
> > SCSI controllers.
> > 
> > Of course, this makes the configuration end of things even more of a pain 
> > in the ass, but that's the price you pay.
> > 
> > Peter
> > 
> > On Fri, 1 Dec 1995, Craig Shrimpton wrote:
> > 
> > > Greetings,
> > > 
> > > I'm building a news server and would like some advice.  Is it better to use
> > > 2 4 GIG drives or 4 2 GIG drives?  Basically, I need to know if the
> > > performance difference is worth paying an extra $1000.00 for the 2 GIGGERS.
> > > 
> > > Also, when I mkfs, what is the proper inode count for a news drive?
> > > 
> > > Thanks,
> > > 
> > > Craig
> > > 
> > > ===================================================================
> > > Shrimpton Consulting                         Orbit Systems
> > > Craig Shrimpton                              Email:  craigs@os.com
> > > 17 Monroe Avenue                             Phone:  (508) 753-8776
> > > Worcester, MA 01602                          http://www.os.com/
> > > 
> > 
> > "The law locks up both man and woman / Who steals the goose from off the common,
> > But lets the greater felon loose / Who steals the common from the goose." -anon
> > -------------------------------------------------------------------------------
> >       Peter Berger - peterb@telerama.lm.com - http://www.lm.com/~peterb
> > 
> > 
> > 
> 
> 
> -- 
> William T. Wong
> Network Analyst, Assistant
> Cal State University, San Bernardino
>   Phone:   (909) 880-7281
>   email:   wwong@wiley.csusb.edu
> 

"The law locks up both man and woman / Who steals the goose from off the common,
But lets the greater felon loose / Who steals the common from the goose." -anon
-------------------------------------------------------------------------------
      Peter Berger - peterb@telerama.lm.com - http://www.lm.com/~peterb




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.951203101547.14225A-100000>