Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Fast File System?
@ 1994-05-19 19:20 System Janitor
  1994-05-19 20:33 ` Brian 'Doc' O'Neill
  1994-05-19 22:53 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  0 siblings, 2 replies; 5+ messages in thread
From: System Janitor @ 1994-05-19 19:20 UTC (permalink / raw)


I looked all around in my full doc set, but couldn't find the answer,
so I thought I'd ask here...

Is the file system on OSF/1 derived from the Berkeley Fast File System,
or, more to the point, do I have to worry about disk fragmentation or
not?

-Mike


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fast File System?
  1994-05-19 19:20 Fast File System? System Janitor
@ 1994-05-19 20:33 ` Brian 'Doc' O'Neill
  1994-05-20  7:40   ` Burkhard Neidecker-Lutz
  1994-05-19 22:53 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1 sibling, 1 reply; 5+ messages in thread
From: Brian 'Doc' O'Neill @ 1994-05-19 20:33 UTC (permalink / raw)


In article <hubcap.769375214@hubcap>, hubcap@hubcap.clemson.edu (System Janitor) writes:
|> I looked all around in my full doc set, but couldn't find the answer,
|> so I thought I'd ask here...
|> 
|> Is the file system on OSF/1 derived from the Berkeley Fast File System,
|> or, more to the point, do I have to worry about disk fragmentation or
|> not?
|> 
|> -Mike

The default UFS file system is indeed the Berkeley Fast File System. OSF/1
also supports the Advanced File System (AdvFS) which is a log-based file
system which is faster at crash recovery, but can have fragmentation.

My question: Does AdvFS perform faster than UFS for local traffic? NFS?

===========================================================================
Brian O'Neill - Systems Manager, Computer Science         oneill@cs.uml.edu
University of Massachusetts at Lowell       Moderator, comp.binaries.ibm.pc
(508) 934-3645			 Co-Moderator, comp.archives.msdos.announce
"My God man...we've become a tourist attraction..." - Londo, Babylon-5


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fast File System?
  1994-05-19 19:20 Fast File System? System Janitor
  1994-05-19 20:33 ` Brian 'Doc' O'Neill
@ 1994-05-19 22:53 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1 sibling, 0 replies; 5+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-05-19 22:53 UTC (permalink / raw)



In article <hubcap.769375214@hubcap>, hubcap@hubcap.clemson.edu (System Janitor) writes:
>
>Is the file system on OSF/1 derived from the Berkeley Fast File System,
>or, more to the point, do I have to worry about disk fragmentation or
>not?

UFS is a BSD Fast File System.  The Advanced File System isn't.

Whether you have to worry about fragmentation or at least
poor organization is a different matter.

>
>-Mike
>

--
Alan Rollow				alan@nabeth.cxo.dec.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fast File System?
  1994-05-19 20:33 ` Brian 'Doc' O'Neill
@ 1994-05-20  7:40   ` Burkhard Neidecker-Lutz
  1994-06-01 17:05     ` Case Larsen
  0 siblings, 1 reply; 5+ messages in thread
From: Burkhard Neidecker-Lutz @ 1994-05-20  7:40 UTC (permalink / raw)


In article <2rgif1$7du@ulowell.uml.edu> oneill@cs.uml.edu (Brian 'Doc' O'Neill) writes:
>
>My question: Does AdvFS perform faster than UFS for local traffic? NFS?
>

AdvFS is much faster for metadata operations (creation and deletion of
files). AdvFS can be slightly slower for some normal operations, but
mostly it's a wash. AdvFS can be much faster for large files when
it's builtin striping facilities are used.

AdvFS is not so much a speed enhancement (mostly because both UFS and
AdvFS are both driving I/O at platter speeds) but a functionality
enhancement.

		Burkhard Neidecker-Lutz

Distributed Multimedia Group, CEC Karlsruhe 
Advanced Technology Group, Digital Equipment Corporation
neideck@nestvx.enet.dec.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fast File System?
  1994-05-20  7:40   ` Burkhard Neidecker-Lutz
@ 1994-06-01 17:05     ` Case Larsen
  0 siblings, 0 replies; 5+ messages in thread
From: Case Larsen @ 1994-06-01 17:05 UTC (permalink / raw)


In article <2rhphmINNhqe@usenet.pa.dec.com>,
Burkhard Neidecker-Lutz <neideck@nestvx.enet.dec.com> wrote:
>>My question: Does AdvFS perform faster than UFS for local traffic? NFS?
>>
>
>AdvFS is much faster for metadata operations (creation and deletion of
>files). AdvFS can be slightly slower for some normal operations, but
>mostly it's a wash. AdvFS can be much faster for large files when
>it's builtin striping facilities are used.


Could you run this on AdvFS and tell me what output you get?  I'm going
to release this and a bunch of figures to comp.benchmarks soon.  I'd
be interested to see how AdvFS fits in.

Do:
cc -O creattest.c -o creattest
./creattest 0 8000
./creattest 1024 8000
./creattest 2048 8000
./creattest 4096 8000
./creattest 8192 8000
./creattest 16384 8000
./creattest 65536 8000
./creattest 131072 8000



creattest.c:

#ifndef lint
static char vcid[] = "$Id: creattest.c,v 1.1 1994/05/18 09:14:47 clarsen\
 Exp clarsen $";
/*
 * $Log: creattest.c,v $
 * Revision 1.1  1994/05/18  09:14:47  clarsen
 * Initial revision
 *
 */
#endif /* lint */

#include <sys/types.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/stat.h>

#define N 1000
#define BUFLEN 8192

main(argc,argv)
     int argc;
     char *argv[];
{
    int i;
    struct timeval start, end;
    char *buf;
    int size = atoi(argv[1]);
    int n_files = atoi(argv[2]);

    if (size>0) {
	buf = malloc(BUFLEN);
    }
    system ("mkdir creat");
    gettimeofday (&start,NULL);
    for (i = 0; i < n_files; i++) {
	char a[36];
	struct stat stb;
	int fd, n;
	
	sprintf (a,"creat/%d",i);
	fd = open(a,O_RDWR|O_CREAT,0644);
	/* Slow on linux.  NOOP on other machines */
/*	fstat(fd,&stb);*/
	if (size > 0) {
	    for (n = size; n >0; n-=BUFLEN) {
		write(fd, buf,n > BUFLEN? BUFLEN : n);
	    }
	}
	close(fd);
    }
    gettimeofday(&end,NULL);
    system ("rm -rf creat");
    {
	double t;
	t = (end.tv_sec-start.tv_sec)+(end.tv_usec-start.tv_usec)/1000000.0;
	printf ("%d byte/files:%d files:%f files/second:%f seconds\n",
		size,n_files,n_files/t,t);
    }
    exit(0);
}


							-Case Larsen
							ctlarsen@lbl.gov



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1994-06-01 17:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-19 19:20 Fast File System? System Janitor
1994-05-19 20:33 ` Brian 'Doc' O'Neill
1994-05-20  7:40   ` Burkhard Neidecker-Lutz
1994-06-01 17:05     ` Case Larsen
1994-05-19 22:53 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox