🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by admin Fri, 26 Jun 1998 00:00
INN 2.0 - drive writing
#29378
Author: admin
Date: Fri, 26 Jun 1998 00:00
28 lines
1557 bytes
Question:

Linux system, hypothetical situation,
Say i have 3 4G drives. I wanna make a 6G metacycbuff. For linux, i
understand i can only have 2G cycbuffs. So which would be better performance
wise:

1) use the 'md' driver to make the 3 drives RAID0 under 1 logical device
/dev/md0 and put it under 1 mount point

or

2) mount the 3 drives under 3 mount points and make 1 2G cycbuff on each 4G
drive.


-Cygnus
---------------------------------------------------------------------------
Anthony J. Biacco                           Network Administrator/Engineer
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
          "The best way to predict the future, is to invent it."
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
admin@intergrafix.net                                cygnus@ncohafmuta.com
                      http://cygnus.ncohafmuta.com/
---------------------------------------------------------------------------

Re: INN 2.0 - drive writing
#29367
Author: bill davidsen
Date: Fri, 26 Jun 1998 00:00
35 lines
2132 bytes
In article <6n0j8h$kf2$1@ns2.intergrafix.net>,  <admin@intergrafix.net> wrote:

| Linux system, hypothetical situation,
| Say i have 3 4G drives. I wanna make a 6G metacycbuff. For linux, i
| understand i can only have 2G cycbuffs. So which would be better performance
| wise:
| 
| 1) use the 'md' driver to make the 3 drives RAID0 under 1 logical device
| /dev/md0 and put it under 1 mount point
| 
| or
| 
| 2) mount the 3 drives under 3 mount points and make 1 2G cycbuff on each 4G
| drive.

RAID-0 seems to help the "db" stuff quite a bit, so I would suggest that
the .../db directory be in a striped filesystem on an md device. For
CNFS I see no indicatin that RAID-0 helps in a measurable way. The disk
i/o rate is so low that there's little room to help. So I would make one
partition on each disk, of about 500M per drive, and use a stripe size
of about 64k. Then I would make a 2G partition on each drive and mount
that separately. I mount my cnfs stuff on /cnfs, for no better reason
than keeping the names short so 'df' doesn't wrap my screen.

Now, if you were telling me you had a heavy reader load, I would tell
you to bear in mind that RAID-1 helps with readers.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"Anything worth doing is worth doing to excess."
	-- Fat John (R.I.P.)


Re: INN 2.0 - drive writing
#29383
Author: Miquel van Smoorenburg
Date: Fri, 26 Jun 1998 00:00
30 lines
1652 bytes
In article <6n0j8h$kf2$1@ns2.intergrafix.net>,  <admin@intergrafix.net> wrote:
>Question:
>
>Linux system, hypothetical situation,
>Say i have 3 4G drives. I wanna make a 6G metacycbuff. For linux, i
>understand i can only have 2G cycbuffs. So which would be better performance
>wise:
>
>1) use the 'md' driver to make the 3 drives RAID0 under 1 logical device
>/dev/md0 and put it under 1 mount point
>
>2) mount the 3 drives under 3 mount points and make 1 2G cycbuff on each 4G
>drive.

Even better - get my "rawfs" file system. Then create 2 2GB partitions
on each disk and use them directly. The rawfs filesystem shows the
partitions on a disk as normal files, which INN can mmap() etc.

Effectively, this is the same as raw partition access but buffered
by the buffer/page cache, which gives you the best performance possible.

ftp://ftp.cistron.nl/pub/people/miquels/kernel/rawfs-0.3.tar.gz

Mike.
-- 
 Miquel van Smoorenburg | Our vision is to speed up time,
    miquels@cistron.nl  |   eventually eliminating it.

Re: INN 2.0 - drive writing
#29388
Author: Scott Laird
Date: Fri, 26 Jun 1998 00:00
30 lines
1974 bytes
In article <6n0qqi$15i2$1@newssvr06-int.news.prodigy.com>,
bill davidsen <davidsen@tmr.com> wrote:
>
>RAID-0 seems to help the "db" stuff quite a bit, so I would suggest that
>the .../db directory be in a striped filesystem on an md device. For
>CNFS I see no indicatin that RAID-0 helps in a measurable way. The disk
>i/o rate is so low that there's little room to help. So I would make one
>partition on each disk, of about 500M per drive, and use a stripe size
>of about 64k. Then I would make a 2G partition on each drive and mount
>that separately. I mount my cnfs stuff on /cnfs, for no better reason
>than keeping the names short so 'df' doesn't wrap my screen.

This is the same way we have INN 2.0 configured, and it seems to
perform well.  Stripe the history, but don't bother striping the CNFS
spool.

An added advantage of not striping the spool is that individual drive
failures *shouldn't* cause you to lose your entire spool.  You should
be able to limp along with the majority of your spool intact, even
after losing an entire drive.  Just replace the drive, build a new
CNFS file on the replacement drive, and keep running.  Of course, we
haven't actually *tested* this, and we're currently only a feeder, not
a reader, so lost articles don't matter much to us.  Your milage may
vary.


Scott

Re: INN 2.0 - drive writing
#29394
Author: Dan Swartzendruber
Date: Sat, 27 Jun 1998 00:00
20 lines
1493 bytes
On 26 Jun 1998 21:29:33 +0200, miquels@cistron.nl (Miquel van
Smoorenburg) wrote:

>In article <6n0j8h$kf2$1@ns2.intergrafix.net>,  <admin@intergrafix.net> wrote:
>Even better - get my "rawfs" file system. Then create 2 2GB partitions
>on each disk and use them directly. The rawfs filesystem shows the
>partitions on a disk as normal files, which INN can mmap() etc.
>
>Effectively, this is the same as raw partition access but buffered
>by the buffer/page cache, which gives you the best performance possible.
>
>ftp://ftp.cistron.nl/pub/people/miquels/kernel/rawfs-0.3.tar.gz
>

Too bad you don't have a FreeBSD version :(



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