[gpfsug-discuss] mmfsadm dump vfsstats - negative values
IBM Spectrum Scale
scale at us.ibm.com
Thu Apr 20 02:03:16 BST 2017
Thanks Bob.
Yes, it looks good for the hypothesis.
ZIMon gets its VFSS stats from the mmpmon code that we just exercised with
"mmfsadm eventsExporter mmpmon vfss"; so the ZIMon stats are also probably
correct.
Having said that, I agree with you that the "mmfsadm vfsstats" problem is
a bug that should be fixed.
If you would like to open a PMR so an APAR gets generated, it might help
speed the routing of the PMR if you include in the PMR text our email
exchange, and highlight Eric Agar is the GPFS developer with whom you've
already discussed this issue. You could also mention that I believe I
have no need for a gpfs snap. Having an APAR will help ensure the fix
makes it into a PTF for the release you are using.
If you do not want to open a PMR, I still intend to fix the problem in the
development stream.
Thanks again.
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 at nuance.com>
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Cc: IBM Spectrum Scale/Poughkeepsie/IBM at IBMUS
Date: 04/19/2017 08:21 PM
Subject: Re: [gpfsug-discuss] mmfsadm dump vfsstats - negative
values
Hi Eric
Looks like your assumption is correct - no negative values from “mmfsadm
eventsExporter mmpmon vfss”. I don’t normally view these via “mmfsadm”, I
use the zimon stats. But, It’s a bug that should be fixed.
What’s the best way to get this fixed?
root at cnt-r01r07u15 ~]# mmfsadm eventsExporter mmpmon vfss
_response_ begin mmpmon vfss
_mmpmon::vfss_ _n_ 10.30.100.193 _nn_ cnt-r01r07u15 _rc_ 0 _t_ 1492647309
_tu_ 311964 _access_ 8472897 56529.874886 _close_ 1460223848 49854.938090
_create_ 2101927 155055.515041 _fclear_ 0 0.000000 _fsync_ 20 0.024288
_fsync_range_ 0 0.000000 _ftrunc_ 0 0.000000 _getattr_ 859626332
101183.720281 _link_ 2175473 625.343799 _lockctl_ 17326 5.229828 _lookup_
200378610 1201985.264220 _map_lloff_ 220854519 8561.860515 _mkdir_ 817943
217390.170859 _mknod_ 3 0.001422 _open_ 1460217712 134812.649162 _read_
3883163461 3971457.463527 _write_ 186078410 137927.496812 _mmapRead_
17108947 10665.929860 _mmapWrite_ 0 0.000000 _aioRead_ 0 0.000000
_aioWrite_ 0 0.000000 _readdir_ 142262897 6999.189450 _readlink_ 485337171
2111.634286 _readpage_ 3646233600 14346.331414 _remove_ 4241324
93277.463798 _rename_ 350679 19334.235924 _rmdir_ 342042 2736.048976
_setacl_ 0 0.000000 _setattr_ 3709289 16963.901179 _symlink_ 161336
8522.670079 _unmap_ 3929805828 1735.740690 _writepage_ 0 0.000000
_tsfattr_ 0 0.000000 _tsfsattr_ 0 0.000000 _flock_ 0 0.000000 _setxattr_
119 0.001042 _getxattr_ 4077218348 628418.213008 _listxattr_ 0 0.000000
_removexattr_ 15 0.000042 _encode_fh_ 0 0.000000 _decode_fh_ 0 0.000000
_get_dentry_ 0 0.000000 _get_parent_ 0 0.000000 _mount_ 0 0.000000
_statfs_ 2625497 214.309671 _sync_ 0 0.000000 _vget_ 0 0.000000
_response_ end
Bob Oesterlin
Sr Principal Storage Engineer, Nuance
507-269-0413
From: <gpfsug-discuss-bounces at spectrumscale.org> on behalf of IBM Spectrum
Scale <scale at us.ibm.com>
Reply-To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Date: Wednesday, April 19, 2017 at 7:10 PM
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Cc: "gpfsug-discuss-bounces at spectrumscale.org"
<gpfsug-discuss-bounces at spectrumscale.org>
Subject: [EXTERNAL] Re: [gpfsug-discuss] mmfsadm dump vfsstats - negative
values
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 at nuance.com>
To: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Date: 04/19/2017 07:16 PM
Subject: [gpfsug-discuss] mmfsadm dump vfsstats - negative values
Sent by: gpfsug-discuss-bounces at spectrumscale.org
I assume the counter has wrapped on some of these - would a PMR fix this?
(4.2.1)
[root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20170419/34c5a2ad/attachment-0002.htm>
More information about the gpfsug-discuss
mailing list