🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Ed Clarke Tue, 11 Jan 2000 00:00
FreeBSD spool partition on 2.2 or 2.3 with cycbuffs?
#43174
Author: Ed Clarke
Date: Tue, 11 Jan 2000 00:00
13 lines
1330 bytes
I have a FreeBSD box that is presently running inn 2.2 poorly because
I'm not sure how to set things up properly.  Does anybody out there
have a simple checklist of the steps to go through to get the spool
partitions/slices set up properly?

Under Linux I'd just fdisk a bunch of 2GB partitions and use the rawfs
module.  Is there a way to get the same functionality under FreeBSD?
Do I even have the 2GB boundary problem?  This is a dedicated reader
machine that's fed from one satellite receiver system.

Would I be better off with Linux rather than FreeBSD?

Re: FreeBSD spool partition on 2.2 or 2.3 with cycbuffs?
#43262
Author: Ed Clarke
Date: Thu, 13 Jan 2000 00:00
25 lines
2168 bytes
On 13 Jan 2000 01:25:38 GMT, Oliver Fromme <olli@FreeBSE.ORG> wrote:
>I don't think so.  If you have poor performance, it is probably
>caused by a mistake in your configuration.  Do you use CNFS?
>What exactly do you call "running poorly"?  It is a known
>problem in INN 2.2 that reader performance is "sub-optimal"
>when using CNFS, because of the overview handling.  This is
>supposed to be fixed in the upcoming INN 2.3.

Ok, "running poorly" means that it's just installed with the default
FreeBSD install, NO customizations at all, right from the FreeBSD
CDROM install.  I would like to put multiple 2GB cycbuffs on each 
spool drive (mix of 4.5GB and 9GB SCSI fast/wide drives) and get 
the maximum performance out of them.  Would it be better to use a 
raw partition for each buffer or is it acceptable to use cycbuff 
files on a FreeBSD file system?  I don't want to get into file 
fragmentation problems.

I know 2.3 is going to be "better", but I have no problems with 2.2.1
right now (on my own Linux system).  This may be the wrong group to be 
asking these questions in;  although the only application code on the 
machine will be INN, the questions are all about FreeBSD.  Can anyone 
recommend a better FreeBSD oriented group?  This seems to be getting
away from the subject of news.software.nntp ...

Re: FreeBSD spool partition on 2.2 or 2.3 with cycbuffs?
#43268
Author: Oliver Fromme
Date: Thu, 13 Jan 2000 00:00
56 lines
2982 bytes
Since nobody else has answered, I try to pick up at least
some of this...

Ed Clarke <clarke@acheron.cilia.org> wrote (11 Jan 2000 03:06:12 GMT):
 > I have a FreeBSD box that is presently running inn 2.2 poorly because
 > I'm not sure how to set things up properly.  Does anybody out there
 > have a simple checklist of the steps to go through to get the spool
 > partitions/slices set up properly?
 > 
 > Under Linux I'd just fdisk a bunch of 2GB partitions and use the rawfs
 > module.  Is there a way to get the same functionality under FreeBSD?
 > Do I even have the 2GB boundary problem?  This is a dedicated reader
 > machine that's fed from one satellite receiver system.

FreeBSD does not have (and never had) a 2 Gb filesize limit.
Files can be several Tbyte in size.

There are rumours that the first RedHat DVDs were produced on
FreeBSD, because Linux wasn't able to handle the large DVD
image files (which were > 2Gbyte).  :-)
(No flames, please -- I cannot confirm this, and it was just
a rumour.  It might be completely wrong.)

 > Would I be better off with Linux rather than FreeBSD?

I don't think so.  If you have poor performance, it is probably
caused by a mistake in your configuration.  Do you use CNFS?
What exactly do you call "running poorly"?  It is a known
problem in INN 2.2 that reader performance is "sub-optimal"
when using CNFS, because of the overview handling.  This is
supposed to be fixed in the upcoming INN 2.3.

Regards
   Oliver

PS:  Experimenting on a FreeBSD 3.4 box:

olli@dorifer:~> touch foobar
olli@dorifer:~> ls -l foobar
-rw-r--r--  1 olli  olli  0 Jan 13 02:18 foobar
olli@dorifer:~> truncate `echo 2 \^ 43 - 1 | bc` foobar
olli@dorifer:~> ls -l foobar
-rw-r--r--  1 olli  olli  8796093022207 Jan 13 02:20 foobar

That's the maximum, 2^43 results in "truncate: File too large".
And yes, those large files also work when they actually contain
data.  :-)

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)

"In jedem St�ck Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)

Re: FreeBSD spool partition on 2.2 or 2.3 with cycbuffs?
#43303
Author: Thomas Tonino
Date: Thu, 13 Jan 2000 00:00
25 lines
1877 bytes
Ed Clarke wrote:

>I would like to put multiple 2GB cycbuffs on each
> spool drive (mix of 4.5GB and 9GB SCSI fast/wide drives) and get
> the maximum performance out of them.  Would it be better to use a
> raw partition for each buffer or is it acceptable to use cycbuff
> files on a FreeBSD file system?  I don't want to get into file
> fragmentation problems.

I had excellent results with raw partitions on a Solaris machine.
Results so excellent (taking in a full feed, serving 100 megabits/sec to
readers with the 12 10Krpm disks only 7% busy) that I don't feel you are
missing a lot by placing the cycbuffs in files.

Fragmentation will not be a problem - the buffers are, once created, on
the disk in the place they were created.

Now the overview and history were much busier. Those are the ones to
give attention. Make sure your uniover files for popular groups don't
get too big.


Thomas

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