🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9323

Re: FreeBSD 2.1.5, INN 1.4unoff4, and mmap()

#9323
From: Andrew A. Vasilyev
Date: Mon, 15 Jul 1996 00:00
42 lines
2553 bytes
Joe Greco (jgreco@brasil.moneng.mei.com) wrote:
> Why would you want to do this on a news server, anyways?

  1. Stripping is good :)
  2. Stripping is good not only for increasing the space but
     for reducing load on 1 spindel, or, in other words,
     increasing the performance of the whole system.
  3. There is a way of writing the metadevice drivers in such
     a way that performance is proportional to the number of drives
     (for so called RAID level 0) - not "Tot_speed = N * Disk_speed",
     but x*N, x -> 1.0 :) (ODS as an example).
  4. FreeBSD metadevice (concatenated device) does not satisfy (3) -
     but I hope it would.
  5. That is why I use concatenated devices, and that is why I've
     written to *.freebsd :)

> Use a _large_ stripe size to increase available concurrency of accesses.

  ??? To increase the _concurrency_ one should have the stripe size
  -> 1 cyl. for large files (to W/R the file simultaneously to/from
  many spindels), or ~S for small file size when writing/reading multiple
  files a time.

> You don't care about how FAST you can retrieve your 1K or 2K Usenet articles
> off of the disk.  You will not derive a benefit from striping from
> bandwidth.  You care about how MANY you can get off your disks in as short a
> period as possible.  If you have four drives, you would ideally like to be
> able to saturate the device and have each drive doing a complete article
> fetch without involving other drives.

  So the stripe size should be ~2K - the mean size of USENET article
  (not alt.binaries :)).

> I use a stripe size of 65536.  And it really works well.

  Well, I've got the best results for 64K and 128K - but I've
  measured large sequential read, not little files.
_______
	ANDY

Technical Details
Message-ID: <4se8tq$sgf@news.demos.su>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <mandrews.837437077@bob.wittenberg.edu> <4sdk50$9cp@news.demos.su> <4sdndm$27k@brasil.moneng.mei.com>

Show Full Headers
Complete Article Headers
Message-ID: <4se8tq$sgf@news.demos.su>
Subject: Re: FreeBSD 2.1.5, INN 1.4unoff4, and mmap()
Date: Mon, 15 Jul 1996 00:00:00 +0000
From: andy@sun-fox.demos.su (Andrew A. Vasilyev)
References: <mandrews.837437077@bob.wittenberg.edu> <4sdk50$9cp@news.demos.su> <4sdndm$27k@brasil.moneng.mei.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 168422794
Distribution: world
Followup-to: news.software.nntp,comp.unix.bsd.freebsd.misc
Organization: Demos Online Service
Newsgroups: news.software.nntp,comp.unix.bsd.freebsd.misc