statistics on smb3 mount
Steve French
smfrench at gmail.com
Tue Jul 31 21:17:59 UTC 2018
On Tue, Jul 31, 2018 at 3:42 PM Volker Lendecke <Volker.Lendecke at sernet.de>
wrote:
> On Tue, Jul 31, 2018 at 03:21:02PM -0500, Steve French via samba-technical
> wrote:
>
> > There are other statistics that can be dumped in Windows redirector, but
> > those seem to be the most visible (those available via "net statistics
> > workstation"). Any other suggested statistics?
>
> Response times. I know they are more difficult to track, but a little
> logarithmic histogram might be doable.
>
>
Probably doable. What do you think of the output of iostat (here is
default iostat output)?
$ iostat /dev/nvme0n1
Linux 4.18.0-041800rc7-generic (smf-Thinkpad-P51) 07/31/2018
_x86_64_ (8 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
11.74 0.19 5.31 0.05 0.00 82.71
Device tps kB_read/s kB_wrtn/s kB_read kB_wrtn
nvme0n1 5.69 59.45 45.30 4187172 3190324
Presumably nfsstats are not any more helpful - here is sample client stats
output from nfsstat
$ nfsstat -c
Client rpc stats:
calls retrans authrefrsh
522 0 522
Client nfs v4:
null read write commit
open
1 0% 480 91% 1 0% 0 0%
1 0%
open_conf open_noat open_dgrd close
setattr
0 0% 1 0% 0 0% 2 0%
0 0%
fsinfo renew setclntid confirm
lock
3 0% 0 0% 0 0% 0 0%
0 0%
lockt locku access getattr
lookup
0 0% 0 0% 2 0% 12 2%
2 0%
lookup_root remove rename link
symlink
1 0% 0 0% 0 0% 0 0%
0 0%
create pathconf statfs readlink
readdir
0 0% 2 0% 2 0% 0 0%
2 0%
server_caps delegreturn getacl setacl
fs_locations
5 0% 0 0% 0 0% 0 0%
0 0%
rel_lkowner secinfo fsid_present exchange_id
create_session
0 0% 0 0% 0 0% 2 0%
1 0%
destroy_session sequence get_lease_time reclaim_comp
layoutget
0 0% 0 0% 0 0% 1 0%
0 0%
getdevinfo layoutcommit layoutreturn secinfo_no
test_stateid
0 0% 0 0% 0 0% 1 0%
0 0%
free_stateid getdevicelist bind_conn_to_ses destroy_clientid
seek
0 0% 0 0% 0 0% 0 0%
0 0%
allocate deallocate layoutstats clone
0 0% 0 0% 0 0% 0 0%
--
Thanks,
Steve
More information about the samba-technical
mailing list