🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Brian Young Mon, 13 Jan 1997 00:00
fastfs
#13984
Author: Brian Young
Date: Mon, 13 Jan 1997 00:00
19 lines
1141 bytes
I saw fastfs on David Barr's INN page, and I downloaded it, but I have
some questions:

First, does anybody have any good or bad experence with fastfs?

Second, I can't get it to compile on my BSDI 2.0 machine.  It says it
can't find mnttab.h, which is probably not suprising since BSDI
doesn't use mnttab, it uses fstab.   Or am I really off my rocker
here?  Anyway, if anybody has the binary, or a patched source, please
let me know.

byoung@oru.edu                 		The path of least resistance is 
Brian Young                    		what makes both rivers and men 
Internet Systems Administrator		crooked.  	
Oral Roberts University    			-Thomas Jefferson
  

Re: fastfs
#14000
Author: Avi Freedman
Date: Mon, 13 Jan 1997 00:00
26 lines
1439 bytes
USENET news (news@news.cam.ac.uk) wrote:

: [Cc'd to Dave Barr for info, so the link can be clarified on his web server]
: 
: In article <32d99adf.19145122@news>, Brian Young <byoung@oru.edu> wrote:
: >I saw fastfs on David Barr's INN page, and I downloaded it, but I have
: >some questions:
: >
: >First, does anybody have any good or bad experence with fastfs?
: 
: Yes. Using it for its intended purpose (speeding up restoring dumps of large
: filesystems, or similar) where it doesn't matter that a system crash or
: messy shutdown may wreck the filesystem, I found it speeded up a 4GB news
: spool restore from 18 hours (the previous time the drive broke, a few weeks
: earlier...) to around 8 hours.

Using a prestoserve board (if you can find one on the used market) is the
'safe' way to do this...

:                                 John Line

Avi


Re: fastfs
#14007
Author: USENET news
Date: Mon, 13 Jan 1997 00:00
88 lines
4837 bytes
[Cc'd to Dave Barr for info, so the link can be clarified on his web server]

In article <32d99adf.19145122@news>, Brian Young <byoung@oru.edu> wrote:
>I saw fastfs on David Barr's INN page, and I downloaded it, but I have
>some questions:
>
>First, does anybody have any good or bad experence with fastfs?

Yes. Using it for its intended purpose (speeding up restoring dumps of large
filesystems, or similar) where it doesn't matter that a system crash or
messy shutdown may wreck the filesystem, I found it speeded up a 4GB news
spool restore from 18 hours (the previous time the drive broke, a few weeks
earlier...) to around 8 hours.

>Second, I can't get it to compile on my BSDI 2.0 machine.  It says it
>can't find mnttab.h, which is probably not suprising since BSDI
>doesn't use mnttab, it uses fstab.   Or am I really off my rocker
>here?  Anyway, if anybody has the binary, or a patched source, please
>let me know.

It's only intended for Sun (SunOS 4 or Solaris 2) systems, using undocumented
facilities to enable asynchronous updating of filesystem metadata. Doing
that carries with it the risk of serious filesystem corruption in the event
of a messy shutdown, but in the case of restoring a whole filesystem that is
unimportant when you could do the restore several times with fastfs in the
time it would take to do one restore the normal way (with all the
directory/inode updates being written to disc individually rather than left
in memory for saving when convenient).

Unfortunately in the context of Dave Barr's web server neither point is made
clear! In the context of the "FAQ: Sun Computer Administration Frequently
Asked Questions" article in comp.unix.solaris, the place I've normally seen
the program mentioned, it's a lot clearer! The link description does say
"Use with care.", but I would definitely not advise using it e.g. to speed
up expire, since recovering from losing the entire partition is likely to be
a lot more of a problem than slow expiry!

Even if mnttab.h were found, I would be surprised if it worked at all
on any non-Sun systems (unless, in fact, the undocumented ioctl is not
entirely Sun-specific). Some systems have equivalent facilities provided in
other ways, possibly even implemented so as to be safe in the event of
crashes. I vaguely recall reading that asynchronous metadata updates
are a standard facility in BSDI, but I could be wrong about that, so you
may already have the facility available on your system.

For completeness, here's what the Sun admin FAQ says about it - this
is from a fairly old copy - can't find a current one - but ithis section
probably hasn't changed.

===== from Sun admin's FAQ in comp.unix.solaris (April 1996 version)
106)    How can you I speed up filesystem restores and/or copies?

        In all versions of SunOS 4.1.2 and later (including Solaris2.x)
        you can use special filesystem level ioctl. A program written
        by Caspar Dik that uses this ioctl can be downloaded as

        ftp.ece.uc.edu:/pub/sun-faq/Source/fastfs.c

        Please remember that using this program will in many
        cases cause fsck to be completely unable to fix your disk in
        the case of unexpected system shutdown.  Yes, it goes faster -
        at a very significant risk of losing the entire filesystem.

        When is using this appropriate?
        When:

        1) You're creating a new filesystem via a copy from somewhere else.
        2) You're removing all the files from a partition.
        3) You're updating a partition with files from elsewhere, and the
                entire contents are restorable.

        Remember, this doesn't make IO go any faster, it just allows metadata
        to be written asynchronously.  If you are creating a 100 M file, this
        won't help much.  If, on the other hand, you are writing 100000 1k
        files, this will help enormously.

        Remember to restore the safe mode before shutting the system down!

        Think of this as a large chainsaw; it can be useful but has significant
        chance of unintended side effects when used by the inexperienced.

        Last Updated:  April 14, 1995.
=====

                                John Line

Re: fastfs
#14009
Author: Chrisy Luke
Date: Mon, 13 Jan 1997 00:00
17 lines
1196 bytes
On Mon, 13 Jan 1997 02:52:00 GMT, byoung@oru.edu (Brian Young) wrote:

>Second, I can't get it to compile on my BSDI 2.0 machine.

BSDi doesn't support the mechansims that fastfs employs. All it does
it sets a certain flag to stop stuff being written on the 30-second
sync call, or was that something else....

Chris.

== chrisy@easynet.net, chrisy@flirble.org.uk, chrisy@etsiig.uniovi.es
== Newsmaster and Senior Systems Developer for Easynet Group Plc.
== Someone once said A Flirble is like Christmas. Only more so. With
== less of the fuzzy bits and more of the haze.      They were wrong.

Re: fastfs
#14039
Author: Brian Young
Date: Tue, 14 Jan 1997 00:00
29 lines
1517 bytes
On Mon, 13 Jan 1997 10:44:53 GMT, chrisy@easynet.net (Chrisy Luke)
wrote:

>On Mon, 13 Jan 1997 02:52:00 GMT, byoung@oru.edu (Brian Young) wrote:
>
>>Second, I can't get it to compile on my BSDI 2.0 machine.
>
>BSDi doesn't support the mechansims that fastfs employs. All it does
>it sets a certain flag to stop stuff being written on the 30-second
>sync call, or was that something else....
>
>Chris.
>
>== chrisy@easynet.net, chrisy@flirble.org.uk, chrisy@etsiig.uniovi.es
>== Newsmaster and Senior Systems Developer for Easynet Group Plc.
>== Someone once said A Flirble is like Christmas. Only more so. With
>== less of the fuzzy bits and more of the haze.      They were wrong.


Well, I guess it was a happy thought.

byoung@oru.edu                 		The path of least resistance is 
Brian Young                    		what makes both rivers and men 
Internet Systems Administrator		crooked.  	
Oral Roberts University    			-Thomas Jefferson
  

Re: fastfs
#14135
Author: Brian Young
Date: Fri, 17 Jan 1997 00:00
41 lines
1859 bytes
On 17 Jan 1997 04:54:12 -0500, news@hub.org (Ki.Net/Trends.ca News
Admin) wrote:

>byoung@oru.edu (Brian Young) writes:
>
>>On Mon, 13 Jan 1997 10:44:53 GMT, chrisy@easynet.net (Chrisy Luke)
>>wrote:
>
>>>On Mon, 13 Jan 1997 02:52:00 GMT, byoung@oru.edu (Brian Young) wrote:
>>>
>>>>Second, I can't get it to compile on my BSDI 2.0 machine.
>>>
>>>BSDi doesn't support the mechansims that fastfs employs. All it does
>>>it sets a certain flag to stop stuff being written on the 30-second
>>>sync call, or was that something else....
>>>
>>>Chris.
>>>
>>>== chrisy@easynet.net, chrisy@flirble.org.uk, chrisy@etsiig.uniovi.es
>>>== Newsmaster and Senior Systems Developer for Easynet Group Plc.
>>>== Someone once said A Flirble is like Christmas. Only more so. With
>>>== less of the fuzzy bits and more of the haze.      They were wrong.
>
>
>>Well, I guess it was a happy thought.
>
>
>	Equivalent under the *BSD systems would be something like:
>
>	mount -u -o async <spool>
>
thanks, I will try it out.

byoung@oru.edu                 		The path of least resistance is 
Brian Young                    		what makes both rivers and men 
Internet Systems Administrator		crooked.  	
Oral Roberts University    			-Thomas Jefferson
  

Re: fastfs
#14145
Author: Ki.Net/Trends.ca News Admin
Date: Fri, 17 Jan 1997 00:00
31 lines
1485 bytes
byoung@oru.edu (Brian Young) writes:

>On Mon, 13 Jan 1997 10:44:53 GMT, chrisy@easynet.net (Chrisy Luke)
>wrote:

>>On Mon, 13 Jan 1997 02:52:00 GMT, byoung@oru.edu (Brian Young) wrote:
>>
>>>Second, I can't get it to compile on my BSDI 2.0 machine.
>>
>>BSDi doesn't support the mechansims that fastfs employs. All it does
>>it sets a certain flag to stop stuff being written on the 30-second
>>sync call, or was that something else....
>>
>>Chris.
>>
>>== chrisy@easynet.net, chrisy@flirble.org.uk, chrisy@etsiig.uniovi.es
>>== Newsmaster and Senior Systems Developer for Easynet Group Plc.
>>== Someone once said A Flirble is like Christmas. Only more so. With
>>== less of the fuzzy bits and more of the haze.      They were wrong.


>Well, I guess it was a happy thought.


	Equivalent under the *BSD systems would be something like:

	mount -u -o async <spool>


Re: fastfs
#14153
Author: David Heath
Date: Fri, 17 Jan 1997 00:00
30 lines
1687 bytes
USENET news wrote:


...

> but I would definitely not advise using it e.g. to speed
> up expire, since recovering from losing the entire partition 
> is likely to be
> a lot more of a problem than slow expiry!
> 

For many sites, I think the above is overstated. For example,
how many sites back up their news partitions? I would guess that
many don't since the articles are just going to get expired 
anyway. Of course, this does not hold for sites that use news
for local discussion boards or for ISP's with paying Usenet
customers.

As an example, I run news on an ancient Sun 4/280. I use fastfs
on the news spool partition 24/7 to speed up article creation
as well as removal. Without fastfs, I don't know if that 
machine could keep up with a full feed. I have been using it
for over a year with no problems, but I am comfortable with 
the fact that if the partition becomes corrupted, I can just 
newfs it and it will be repopulated in a couple of days.

-dave heath

Re: fastfs
#14190
Author: Gary Palmer
Date: Sat, 18 Jan 1997 00:00
22 lines
1339 bytes
In article <5bni84$r0f$1@hub.org>,
	news@hub.org (Ki.Net/Trends.ca News Admin) writes:

> 	Equivalent under the *BSD systems would be something like:

> 	mount -u -o async <spool>

Note that in 4.4BSD, without modifying the kernel code, async doesn't
actually do all that much. Modifications have been made to some of the
`free' 4.4 derrivatives (FreeBSD for sure) which allow async operation
actually do something. Another thing that has been done is to turn off
ATIME updates (-o noatime) ... why do you need to know the last time a
file was accessed? You don't on a news spool (or a busy ftp server),
and it can cut down the disk access overhead.

Yours

Gary


Re: fastfs
#15070
Author: Ernst Boetsch
Date: Sat, 15 Feb 1997 00:00
40 lines
2135 bytes
gpalmer@webspan.net (Gary Palmer) writes:

> In article <5bni84$r0f$1@hub.org>,
> 	news@hub.org (Ki.Net/Trends.ca News Admin) writes:

> > 	Equivalent under the *BSD systems would be something like:

> > 	mount -u -o async <spool>

> Note that in 4.4BSD, without modifying the kernel code, async doesn't
> actually do all that much. Modifications have been made to some of the
> `free' 4.4 derrivatives (FreeBSD for sure) which allow async operation
> actually do something. Another thing that has been done is to turn off
> ATIME updates (-o noatime) ... why do you need to know the last time a
> file was accessed? You don't on a news spool (or a busy ftp server),
> and it can cut down the disk access overhead.

Is it possible to turn off ATIME updates on Solaris 2.5.1 for Sparc
(SunOS 5.5.1)?
I did not found a mount option.  Maybe an undocumented one?
Maybe a tool like `fastfs'?

If it is not available for Solaris 2.5.1, will it be in Solaris 2.6?

Thanks in advance.


Sincerely
    Ernst Boetsch

-- 
******************************************************************
Ernst N. Boetsch                    |  Leibniz-Rechenzentrum
                                    |     der Bayerischen Akademie
E-Mail: boetsch@lrz.de              |     der Wissenschaften
Phone:  +49 89 289-28780 (/-28784)  |  Barer Strasse 21
Fax:    +49 89 2809460              |  D-80333 Muenchen, Germany

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