Bob,
I also noticed this recently. I
think it may be a simple matter of a printf()-like statement in the code
that handles "mmfsadm vfsstats" using an incorrect conversion
specifier --- one that treats the counter as signed instead of unsigned
and treats the counter as being smaller than it really is.
To help confirm that hypothesis, could
you please run the following commands on the node, at the same time, so
the output can be compared:
# mmfsadm vfsstats
# mmfsadm eventsExporter mmpmon vfss
I believe the code that handles "mmfsadm
eventsExporter mmpmon vfss" uses the correct printf()-like conversion
specifier. So, it should so good numbers where "mmfsadm vfsstats"
shows negative numbers.
Regards, The Spectrum Scale (GPFS) team
Eric Agar
------------------------------------------------------------------------------------------------------------------
If you feel that your question can benefit other users of Spectrum
Scale (GPFS), then please post it to the public IBM developerWroks Forum
at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479.
If your query concerns a potential software error in Spectrum Scale (GPFS)
and you have an IBM software maintenance contract please contact 1-800-237-5511
in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used
for priority messages to the Spectrum Scale (GPFS) team.
From:
"Oesterlin, Robert"
<Robert.Oesterlin@nuance.com>
To:
gpfsug main discussion
list <gpfsug-discuss@spectrumscale.org>
Date:
04/19/2017 07:16 PM
Subject:
[gpfsug-discuss]
mmfsadm dump vfsstats - negative values
Sent by:
gpfsug-discuss-bounces@spectrumscale.org
I assume the counter has wrapped on some
of these - would a PMR fix this? (4.2.1)
[root@cnt-r01r07u15 ~]# mmfsadm vfsstats
vfs statistics currently enabled
started at: Fri Jan 27 16:22:02.702 2017
duration: 7091405.800 sec
name
calls time per call
total time
-------------------- -------- --------------
--------------
access
8472691 0.006672 56529.863993
close
1460175509 0.000034 49854.695358
create
2101110 0.073797 155055.263775
fsync
20 0.001214
0.024288
getattr
859449161 0.000118 101183.699413
link
2175473 0.000287
625.343799
lockctl
17326 0.000302
5.229828
lookup
200369809 0.005999 1201980.046683
map_lloff
220850355 0.000039 8561.791963
mkdir
817894 0.265793 217390.095681
mknod
3 0.000474
0.001422
open
1460169409 0.000092 134811.724068
read
-412143552 0.001023 3971403.879911
write
164739329 0.000829 136616.948900
mmapRead
17108252 0.000623 10665.877349
readdir
142261835 0.000049 6999.159121
readlink
485335656 0.000004 2111.627292
readpage
-648839570 0.000004 14346.195128
remove
4239806 0.022000 93277.124289
rename
350671 0.055135 19334.226490
rmdir
342019 0.008000
2736.037074
setattr
3709237 0.004573 16963.899331
symlink
160610 0.053061 8522.185175
unmap
-365476297 0.000000 1735.669373
setxattr
119 0.000009
0.001042
getxattr
-218316996 0.000154 628416.355002
removexattr
15 0.000003
0.000042
statfs
2624067 0.000082
214.306646
fastOpen
1456944934 0.000000 0.000000
fastClose
1515612004 0.000000 0.000000
fastLookup
77981387 0.000000 0.000000
fastRead
-922882405 0.000000
0.000000
fastWrite
102606402 0.000000 0.000000
revalidate
899677 0.000000
0.000000
aio write sync 21331080
0.000061 1309.773528
Bob Oesterlin
Sr Principal Storage Engineer, Nuance
507-269-0413
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss