Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Advfs performance numbers
@ 1995-04-24  4:00 Tony Jones
  1995-04-25  4:00 ` Saul Tannenbaum
  0 siblings, 1 reply; 2+ messages in thread
From: Tony Jones @ 1995-04-24  4:00 UTC (permalink / raw)


I've been reading with interest the discussion on advfs stability.

I have a question on performance.

Either running db tests or home grown C tests of advfs/ufs, I have noticed
the following behaviour.

		advfs	ufs
wall clock	lower	
system time		lower
# phys I/O	lower	

Single random decent (fill file system with data blocks intersperced with
directory creation and then a read verify):
	ufs:   elapsed 1758.216667  user 159.69456   system 76.417872
	advfs: elapsed 1450.300000  user 151.566944  system 101.845600
[Similar results for multiple concurrent executions of same test]

MUMPS database perf test (the db is the only file in the file system) in 
csh time format:
	ufs:   196.81u 16.47s 6:27 55% 0+47k 2280+1io 0pf+0w
	advfs: 197.39u 19.32s 6:00 60% 0+47k 8+0io    2pf+0w
	
I'm assuming better read caching (and perhaps coalescing) is producing the
lower wallclock and physical request statistics for advfs, but I was surprised
to see the system time increase so significantly.

Also, are there any gotchas to running a database (running with fsync() of
course) on an advfs filesystem ?

thanks in advance

tony
--
Tony Jones (tony@sunquest.com)
UNIX Technical Resource Group
Sunquest Information Systems



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

* Re: Advfs performance numbers
  1995-04-24  4:00 Advfs performance numbers Tony Jones
@ 1995-04-25  4:00 ` Saul Tannenbaum
  0 siblings, 0 replies; 2+ messages in thread
From: Saul Tannenbaum @ 1995-04-25  4:00 UTC (permalink / raw)


In article <3nhbpn$3m1@odin.sunquest.com>, Tony Jones (tony@sunquest.com) wrote:
> I've been reading with interest the discussion on advfs stability.

> I have a question on performance.

One of my complaints with advfs is the almost complete lack of documentation
with respect to performance and tuning.

There is an undocumented utility to produce advfs statistics:

	usage: advfsstat [options] [stats-type] domain

	usage: advfsstat [options] -f 0 | 1 | 2 domain fileset

	options:
	        -i sec          repeat display every 'sec' seconds
	        -c count        repeat display 'count' times
	        -R              display ratios (use with -b, -p, -r)

	stats-type:
	        -b              buffer cache statistics
	        -f 0            all fileset vnop statistics
	        -f 1            all fileset lookup statistics
	        -f 2            common fileset vnop statistics
	        -l 0            basic lock statistics
	        -l 1            lock statistics
	        -l 2            detailed lock statistics
	        -n              namei cache statistics
	        -p              buffer cache pin statistics
	        -r              buffer cache ref statistics
	        -v 0            volume read/write statistics
	        -v 1            detailed volume statistics
	        -v 2            volume I/O queue statistics
	        -B r            BMT Record read statistics
	        -B w            BMT Record write/update statistics

What it all means, and how to effect it, is an exercise apparently left
to the systems administrator.

	- Saul
-- 
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |
                Communications Services    |



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

end of thread, other threads:[~1995-04-25  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-24  4:00 Advfs performance numbers Tony Jones
1995-04-25  4:00 ` Saul Tannenbaum

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