"Hactar" <(E-Mail Removed)> wrote in message
news:c5p17h$nqo$(E-Mail Removed)...
> In article <(E-Mail Removed)>,
> Joshua Baker-LePain <(E-Mail Removed)> wrote:
> > In article <c5mm5m$mde$(E-Mail Removed)>, Hactar wrote:
> > > In article <(E-Mail Removed)>,
> > > Joshua Baker-LePain <(E-Mail Removed)> wrote:
> > >>
> > >> Try (on the client) 'tar cO /nfs/mountpoint | cat > /dev/null'.
> > >> That way only one disk (the on the server) is in the equation.
> > >
> > > I think that'll attempt to write to the tape drive (besides the UUOC).
Do
> > > you mean
> > >
> > > tar cf /dev/null /nfs/mountpoint
> >
> > No. The 'O' option of tar tells it to put the output on stdout. The
> > pipe then takes stdout and cats it to /dev/null.
>
> Ah, of course. I had misread the oh as a zero. Bad choice of font, I
guess.
>
> > The reason not to do 'tar cf /dev/null' is that when tar sees that
/dev/null
> > is the output, it doesn't bother actually reading the bits off the disk
> > (since it knows you're just throwing them out anyway). All it does is
> > stat all the files it *would* have read if you were doing a "real" tar.
> > This is useful, e.g., if you want to test your exclusion list or get
> > a size estimate (this is how amanda uses tar to estimate backup sizes).
> > It's *not* useful if you want to actually test read speed from the disk
> > (or mount point).
>
> Then wouldn't it be simpler just to do
>
> cat file > /dev/null
>
> ?
>
> --
> -eben (E-Mail Removed)m home.tampabay.rr.com/hactar
>
> Every normal man must be tempted at times to spit upon his hands,
> hoist the black flag, and begin slitting throats. -- H.L. Mencken
I would just run Iozone on the NFS client. Then one could measure
read and write performance. Also, if you use the -c flag, and you are
on NFS V3, you'll get the close() included in the measurment. If you
use a file size (-s ###) that is smaller than the NFS V3 client cache,
then
you'll be measuring the client side cache performance. If you use a file
size that is bigger than the amount of RAM in the client, then you'll
be measuring the network and the server's I/O subsystem performance.
If you use a file size that is larger than the amount of RAM in both
the client and the server, then you be measuring the I/O subsystem
on the server. (if its slower than the network)
See:
http://www.iozone.org
Have fun,
Mangled&Munged