D'oh! Good spot Max - feeling sheepish that I missed that. Marcelo - add the predicate to the "done" probes as per Max's message, and let's see where that takes us....
Thanks, /jim [EMAIL PROTECTED] wrote: > Hi, > I have looked at the script, and there is no correspondence between > start and done. > So, I am not sure how this script is supposed to work. > I think there should be a predicate in the done probes... > The way the script is written, it assumes that for any start, the done > that fires after it is for the same noi_xid. > > Current script: > > nfsv3:::op-read-start, > nfsv3:::op-write-start > { > start[args[1]->noi_xid] = timestamp; > } > > nfsv3:::op-read-done, > nfsv3:::op-write-done > { > ... > > Changed script: > > nfsv3:::op-read-start, > nfsv3:::op-write-start > { > start[args[1]->noi_xid] = timestamp; > } > > nfsv3:::op-read-done, > nfsv3:::op-write-done > /start[args[1]->noi_xid] != 0/ > { > > That way, you don't have the done probe clause executing > for id's where the start has not fired first. (This still does not > match start/done for a given xid). > But what do I know... > > max > > Jim Mauro wrote: >> Also (I meant to ask) - are you having performance problems, or >> just monitoring with the NFS provider scripts? >> >> Thanks, >> /jim >> >> >> Marcelo Leal wrote: >> >>> Hello Jim, this is not a benchmark. The filenames i did change for >>> privacy... >>> This is a NFS server, yes. >>> >>> # uname -a >>> SunOS test 5.11 snv_89 i86pc i386 i86pc >>> >>> # cat /etc/release >>> Solaris Express Community Edition snv_89 X86 >>> Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. >>> Use is subject to license terms. >>> Assembled 06 May 2008 >>> >> _______________________________________________ >> dtrace-discuss mailing list >> dtrace-discuss@opensolaris.org >> >> > _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org