<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:12pt" ><div dir="ltr" >Scale 4.2.3 was end of service as of September 30, 2020.  As for waiters the mmdiag --waiters command only shows waiters on the node upon which the command is executed.  You should use the command, mmlsnode -N waiters -L, to see all the waiters in the cluster, which may be more revealing as to the source of your problem.</div>
<div dir="ltr" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" ><br><font size="2" face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" ><span style="font-size:1.143em;" >Fred<br>__________________________________________________<br>Fred Stock | IBM Pittsburgh Lab | 720-430-8821<br>stockf@us.ibm.com</span></font></div></div></div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: "Czauz, Kamil" <Kamil.Czauz@Squarepoint-Capital.com><br>Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>Cc:<br>Subject: [EXTERNAL] Re: [gpfsug-discuss] Poor client performance with high cpu usage of mmfsd process<br>Date: Fri, Nov 13, 2020 8:32 AM<br> <br>Hi Uwe -<br><br>Regarding your previous message - waiters were coming / going with just 1-2 waiters when I ran the mmdiag command, with very low wait times (<0.01s).<br><br>We are running version 4.2.3<br><br>I did another capture today while the client is functioning normally and this was the header result:<br><br>Overwrite trace parameters:<br>buffer size: 134217728<br>64 kernel trace streams, indices 0-63 (selected by low bits of processor ID)<br>128 daemon trace streams, indices 64-191 (selected by low bits of thread ID)<br>Interval for calibrating clock rate was 25.996957 seconds and 67592121252 cycles<br>Measured cycle count update rate to be 2600001271 per second <---- using this value<br>OS reported cycle count update rate as 2599999000 per second<br>Trace milestones:<br>kernel trace enabled Fri Nov 13 08:20:01.800558000 2020 (TOD 1605273601.800558, cycles 20807897445779444)<br>daemon trace enabled Fri Nov 13 08:20:01.910017000 2020 (TOD 1605273601.910017, cycles 20807897730372442)<br>all streams included Fri Nov 13 08:20:26.423085049 2020 (TOD 1605273626.423085, cycles 20807961464381068) <---- useful part of trace extends from here<br>trace quiesced Fri Nov 13 08:20:27.797515000 2020 (TOD 1605273627.000797, cycles 20807965037900696) <---- to here<br>Approximate number of times the trace buffer was filled: 14.631<br><br>Still a very small capture (1.3s), but the trsum.awk output was not filled with lookup commands / large lookup times. Can you help debug what those long lookup operations mean?<br><br>Unfinished operations:<br><br>27967 ***************** pagein ************** 1.362382116<br>27967 ***************** readpage ************** 1.362381516<br>139130 1.362448448 ********* Unfinished IO: buffer/disk 3002F670000 20:107498951168^\archive_data_16<br>104686 1.362022068 ********* Unfinished IO: buffer/disk 50011878000 1:47169618944^\archive_data_1<br>0 0.000000000 ********* Unfinished IO: buffer/disk 5003CEB8000 4:23073390592^\FFFFFFFE<br>0 0.000000000 ********* Unfinished IO: buffer/disk 5003CEB8000 4:23073390592^\FFFFFFFF<br>0 0.000000000 ********* Unfinished IO: buffer/disk 2000EE78000 5:47631127040^\FFFFFFFE<br>341710 1.362423815 ********* Unfinished IO: buffer/disk 20022218000 19:107498951680^\archive_data_15<br>0 0.000000000 ********* Unfinished IO: buffer/disk 2000EE78000 5:47631127040^\FFFFFFFF<br>0 0.000000000 ********* Unfinished IO: buffer/disk 2000006B000 18:3452986648^\FFFFFFFE<br>0 0.000000000 ********* Unfinished IO: buffer/disk 2000006B000 18:3452986648^\00000000FFFFFFFF<br>0 0.000000000 ********* Unfinished IO: buffer/disk 2000006B000 18:3452986648^\FFFFFFFF<br>139150 1.361122006 ********* Unfinished IO: buffer/disk 50012018000 2:47169622016^\archive_data_2<br>0 0.000000000 ********* Unfinished IO: buffer/disk 5003CEB8000 4:23073390592^\00000000FFFFFFFF<br>95782 1.361112791 ********* Unfinished IO: buffer/disk 40016300000 20:107498950656^\archive_data_16<br>0 0.000000000 ********* Unfinished IO: buffer/disk 2000EE78000 5:47631127040^\00000000FFFFFFFF<br>271076 1.361579585 ********* Unfinished IO: buffer/disk 20023DB8000 4:47169606656^\archive_data_4<br>341676 1.362018599 ********* Unfinished IO: buffer/disk 40038140000 5:47169614336^\archive_data_5<br>139150 1.361131599 MSG FSnd: nsdMsgReadExt msg_id 2930654492 Sduration 13292.382 + us<br>341676 1.362027104 MSG FSnd: nsdMsgReadExt msg_id 2930654495 Sduration 12396.877 + us<br>95782 1.361124739 MSG FSnd: nsdMsgReadExt msg_id 2930654491 Sduration 13299.242 + us<br>271076 1.361587653 MSG FSnd: nsdMsgReadExt msg_id 2930654493 Sduration 12836.328 + us<br>92182 0.000000000 MSG FSnd: msg_id 0 Sduration 0.000 + us<br>341710 1.362429643 MSG FSnd: nsdMsgReadExt msg_id 2930654497 Sduration 11994.338 + us<br>341662 0.000000000 MSG FSnd: msg_id 0 Sduration 0.000 + us<br>139130 1.362458376 MSG FSnd: nsdMsgReadExt msg_id 2930654498 Sduration 11965.605 + us<br>104686 1.362028772 MSG FSnd: nsdMsgReadExt msg_id 2930654496 Sduration 12395.209 + us<br>412373 0.775676657 MSG FRep: nsdMsgReadExt msg_id 304915249 Rduration 598747.324 us Rlen 262144 Hduration 598752.112 + us<br>341770 0.589739579 MSG FRep: nsdMsgReadExt msg_id 338079050 Rduration 784684.402 us Rlen 4 Hduration 784692.651 + us<br>143315 0.536252844 MSG FRep: nsdMsgReadExt msg_id 631945522 Rduration 838171.137 us Rlen 233472 Hduration 838174.299 + us<br>341878 0.134331812 MSG FRep: nsdMsgReadExt msg_id 338079023 Rduration 1240092.169 us Rlen 262144 Hduration 1240094.403 + us<br>175478 0.587353287 MSG FRep: nsdMsgReadExt msg_id 338079047 Rduration 787070.694 us Rlen 262144 Hduration 787073.990 + us<br>139558 0.633517347 MSG FRep: nsdMsgReadExt msg_id 631945538 Rduration 740906.634 us Rlen 102400 Hduration 740910.172 + us<br>143308 0.958832110 MSG FRep: nsdMsgReadExt msg_id 631945542 Rduration 415591.871 us Rlen 262144 Hduration 415597.056 + us<br><br><br>Elapsed trace time: 1.374423981 seconds<br>Elapsed trace time from first VFS call to last: 1.374423980<br>Time idle between VFS calls: 0.001603738 seconds<br><br>Operations stats: total time(s) count avg-usecs wait-time(s) avg-usecs<br>readpage 1.151660085 1874 614.546<br>rdwr 0.431456904 581 742.611<br>read_inode2 0.001180648 934 1.264<br>follow_link 0.000029502 7 4.215<br>getattr 0.000048413 9 5.379<br>revalidate 0.000007080 67 0.106<br>pagein 1.149699537 1877 612.520<br>create 0.007664829 9 851.648<br>open 0.001032657 19 54.350<br>unlink 0.002563726 14 183.123<br>delete_inode 0.000764598 826 0.926<br>lookup 0.312847947 953 328.277<br>setattr 0.020651226 824 25.062<br>permission 0.000015018 1 15.018<br>rename 0.000529023 4 132.256<br>release 0.001613800 22 73.355<br>getxattr 0.000030494 6 5.082<br>mmap 0.000054767 1 54.767<br>llseek 0.000001130 4 0.283<br>readdir 0.000033947 2 16.973<br>removexattr 0.002119736 820 2.585<br><br>User thread stats: GPFS-time(sec) Appl-time GPFS-% Appl-% Ops<br>42625 0.000000138 0.000031017 0.44% 99.56% 3<br>42378 0.000586959 0.011596801 4.82% 95.18% 32<br>42627 0.000000272 0.000013421 1.99% 98.01% 2<br>42641 0.003284590 0.012593594 20.69% 79.31% 35<br>42628 0.001522335 0.000002748 99.82% 0.18% 2<br>25464 0.003462795 0.500281914 0.69% 99.31% 12<br>301420 0.000016711 0.052848218 0.03% 99.97% 38<br>95103 0.000000544 0.000000000 100.00% 0.00% 1<br>145858 0.000000659 0.000794896 0.08% 99.92% 2<br>42221 0.000011484 0.000039445 22.55% 77.45% 5<br>371718 0.000000707 0.001805425 0.04% 99.96% 2<br>95109 0.000000880 0.008998763 0.01% 99.99% 2<br>95337 0.000010330 0.503057866 0.00% 100.00% 8<br>42700 0.002442175 0.012504429 16.34% 83.66% 35<br>189680 0.003466450 0.500128627 0.69% 99.31% 9<br>42681 0.006685396 0.000391575 94.47% 5.53% 16<br>42702 0.000048203 0.000000500 98.97% 1.03% 2<br>42703 0.000033280 0.140102087 0.02% 99.98% 9<br>224423 0.000000195 0.000000000 100.00% 0.00% 1<br>42706 0.000541098 0.000014713 97.35% 2.65% 3<br>106275 0.000000456 0.000000000 100.00% 0.00% 1<br>42721 0.000372857 0.000000000 100.00% 0.00% 1<br><br><br>-----Original Message-----<br>From: <a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a> <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Uwe Falke<br>Sent: Friday, November 13, 2020 4:37 AM<br>To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>Subject: Re: [gpfsug-discuss] Poor client performance with high cpu usage of mmfsd process<br><br>Hi Kamil,<br>in my mail just a few minutes ago I'd overlooked that the buffer size in your trace was indeed 128M (I suppose the trace file is adapting that size if not set in particular). That is very strange, even under high load, the trace should then capture some longer time than 10 secs, and , most of all, it should contain much more activities than just these few you had.<br>That is very mysterious.<br>I am out of ideas for the moment, and a bit short of time to dig here.<br><br>To check your tracing, you could run a trace like before but when everything is normal and check that out - you should see many records, the trcsum.awk should list just a small portion of unfinished ops at the end, ... If that is fine, then the tracing itself is affected by your crritical condition (never experienced that before - rather GPFS grinds to a halt than the trace is abandoned), and that might well be worth a support ticket.<br><br>Mit freundlichen Grüßen / Kind regards<br><br>Dr. Uwe Falke<br>IT Specialist<br>Hybrid Cloud Infrastructure / Technology Consulting & Implementation Services<br>+49 175 575 2877 Mobile<br>Rathausstr. 7, 09111 Chemnitz, Germany<br><a href="mailto:uwefalke@de.ibm.com" target="_blank">uwefalke@de.ibm.com</a><br><br>IBM Services<br><br>IBM Data Privacy Statement<br><br>IBM Deutschland Business & Technology Services GmbH<br>Geschäftsführung: Sven Schooss, Stefan Hierl Sitz der Gesellschaft: Ehningen<br>Registergericht: Amtsgericht Stuttgart, HRB 17122<br><br><br><br>From: Uwe Falke/Germany/IBM<br>To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>Date: 13/11/2020 10:21<br>Subject: Re: [EXTERNAL] Re: [gpfsug-discuss] Poor client<br>performance with high cpu usage of mmfsd process<br><br><br>Hi, Kamil,<br>looks your tracefile setting has been too low:<br>all streams included Thu Nov 12 20:58:19.950515266 2020 (TOD 1605232699.950515, cycles 20701552715873212) <---- useful part of trace extends from here trace quiesced Thu Nov 12 20:58:20.133134000 2020 (TOD 1605232700.000133, cycles 20701553190681534) <---- to here means you effectively captured a period of about 5ms only ... you can't see much from that.<br><br>I'd assumed the default trace file size would be sufficient here but it doesn't seem to.<br>try running with something like<br>mmtracectl --start --trace-file-size=512M --trace=io --tracedev-write-mode=overwrite -N <your_critical_node>.<br><br>However, if you say "no major waiter" - how many waiters did you see at any time? what kind of waiters were the oldest, how long they'd waited?<br>it could indeed well be that some job is just creating a killer workload.<br><br>The very short cyle time of the trace points, OTOH, to high activity, OTOH the trace file setting appears quite low (trace=io doesnt' collect many trace infos, just basic IO stuff).<br>If I might ask: what version of GPFS are you running?<br><br>Mit freundlichen Grüßen / Kind regards<br><br>Dr. Uwe Falke<br>IT Specialist<br>Hybrid Cloud Infrastructure / Technology Consulting & Implementation Services<br>+49 175 575 2877 Mobile<br>Rathausstr. 7, 09111 Chemnitz, Germany<br><a href="mailto:uwefalke@de.ibm.com" target="_blank">uwefalke@de.ibm.com</a><br><br>IBM Services<br><br>IBM Data Privacy Statement<br><br>IBM Deutschland Business & Technology Services GmbH<br>Geschäftsführung: Sven Schooss, Stefan Hierl Sitz der Gesellschaft: Ehningen<br>Registergericht: Amtsgericht Stuttgart, HRB 17122<br><br><br><br><br>From: "Czauz, Kamil" <Kamil.Czauz@Squarepoint-Capital.com><br>To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>Date: 13/11/2020 03:33<br>Subject: [EXTERNAL] Re: [gpfsug-discuss] Poor client performance<br>with high cpu usage of mmfsd process<br>Sent by: <a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a><br><br><br><br>Hi Uwe -<br><br>I hit the issue again today, no major waiters, and nothing useful from the iohist report. Nothing interesting in the logs either.<br><br>I was able to get a trace today while the issue was happening. I took 2 traces a few min apart.<br><br>The beginning of the traces look something like this:<br>Overwrite trace parameters:<br>buffer size: 134217728<br>64 kernel trace streams, indices 0-63 (selected by low bits of processor<br>ID)<br>128 daemon trace streams, indices 64-191 (selected by low bits of thread<br>ID)<br>Interval for calibrating clock rate was 100.019054 seconds and<br>260049296314 cycles<br>Measured cycle count update rate to be 2599997559 per second <---- using this value OS reported cycle count update rate as 2599999000 per second Trace milestones:<br>kernel trace enabled Thu Nov 12 20:56:40.114080000 2020 (TOD 1605232600.114080, cycles 20701293141385220) daemon trace enabled Thu Nov 12 20:56:40.247430000 2020 (TOD 1605232600.247430, cycles 20701293488095152) all streams included Thu Nov 12 20:58:19.950515266 2020 (TOD 1605232699.950515, cycles 20701552715873212) <---- useful part of trace extends from here trace quiesced Thu Nov 12 20:58:20.133134000 2020 (TOD 1605232700.000133, cycles 20701553190681534) <---- to here Approximate number of times the trace buffer was filled: 553.529<br><br><br>Here is the output of<br>trsum.awk details=0<br>I'm not quite sure what to make of it, can you help me decipher it? The 'lookup' operations are taking a hell of a long time, what does that mean?<br><br>Capture 1<br><br>Unfinished operations:<br><br>21234 ***************** lookup ************** 0.165851604<br>290020 ***************** lookup ************** 0.151032241<br>302757 ***************** lookup ************** 0.168723402<br>301677 ***************** lookup ************** 0.070016530<br>230983 ***************** lookup ************** 0.127699082<br>21233 ***************** lookup ************** 0.060357257<br>309046 ***************** lookup ************** 0.157124551<br>301643 ***************** lookup ************** 0.165543982<br>304042 ***************** lookup ************** 0.172513838<br>167794 ***************** lookup ************** 0.056056815<br>189680 ***************** lookup ************** 0.062022237<br>362216 ***************** lookup ************** 0.072063619<br>406314 ***************** lookup ************** 0.114121838<br>167776 ***************** lookup ************** 0.114899642<br>303016 ***************** lookup ************** 0.144491120<br>290021 ***************** lookup ************** 0.142311603<br>167762 ***************** lookup ************** 0.144240366<br>248530 ***************** lookup ************** 0.168728131<br>0 0.000000000 ********* Unfinished IO: buffer/disk 30018014000 14:48493092752^\00000000FFFFFFFF<br>0 0.000000000 ********* Unfinished IO: buffer/disk 30018014000 14:48493092752^\FFFFFFFE<br>0 0.000000000 ********* Unfinished IO: buffer/disk 2000006B000 2:6058336^\00000000FFFFFFFF<br>0 0.000000000 ********* Unfinished IO: buffer/disk 30018014000 14:48493092752^\FFFFFFFF<br>0 0.000000000 ********* Unfinished IO: buffer/disk 2000006B000 2:6058336^\FFFFFFFE<br>0 0.000000000 ********* Unfinished IO: buffer/disk 2000006B000 2:6058336^\FFFFFFFF<br>0 0.000000000 ********* Unfinished IO: buffer/disk 3000002E000 2:1917676744^\FFFFFFFE<br>0 0.000000000 ********* Unfinished IO: buffer/disk 3000002E000 2:1917676744^\00000000FFFFFFFF<br>0 0.000000000 ********* Unfinished IO: buffer/disk 3000002E000 2:1917676744^\FFFFFFFF<br><br>Elapsed trace time: 0.182617894 seconds<br>Elapsed trace time from first VFS call to last: 0.182617893 Time idle between VFS calls: 0.000006317 seconds<br><br>Operations stats: total time(s) count avg-usecs wait-time(s) avg-usecs rdwr 0.012021696 35 343.477<br>read_inode2 0.000100787 43 2.344<br>follow_link 0.000050609 8 6.326<br>pagein 0.000097806 10 9.781<br>revalidate 0.000010884 156 0.070<br>open 0.001001824 18 55.657<br>lookup 1.152449696 36 32012.492<br>delete_inode 0.000036816 38 0.969<br>permission 0.000080574 14 5.755<br>release 0.000470096 18 26.116<br>mmap 0.000340095 9 37.788<br>llseek 0.000001903 9 0.211<br><br><br>User thread stats: GPFS-time(sec) Appl-time GPFS-% Appl-% Ops<br>221919 0.000000244 0.050064080 0.00% 100.00% 4<br>167794 0.000011891 0.000069707 14.57% 85.43% 4<br>309046 0.147664569 0.000074663 99.95% 0.05% 9<br>349767 0.000000070 0.000000000 100.00% 0.00% 1<br>301677 0.017638372 0.048741086 26.57% 73.43% 12<br>84407 0.000010448 0.000016977 38.10% 61.90% 3<br>406314 0.000002279 0.000122367 1.83% 98.17% 7<br>25464 0.043270937 0.000006200 99.99% 0.01% 2<br>362216 0.000005617 0.000017498 24.30% 75.70% 2<br>379982 0.000000626 0.000000000 100.00% 0.00% 1<br>230983 0.123947465 0.000056796 99.95% 0.05% 6<br>21233 0.047877661 0.004887113 90.74% 9.26% 17<br>302757 0.154486003 0.010695642 93.52% 6.48% 24<br>248530 0.000006763 0.000035442 16.02% 83.98% 3<br>303016 0.014678039 0.000013098 99.91% 0.09% 2<br>301643 0.088025575 0.054036566 61.96% 38.04% 33<br>3339 0.000034997 0.178199426 0.02% 99.98% 35<br>21234 0.164240073 0.000262711 99.84% 0.16% 39<br>167762 0.000011886 0.000041865 22.11% 77.89% 3<br>336006 0.000001246 0.100519562 0.00% 100.00% 16<br>304042 0.121322325 0.019218406 86.33% 13.67% 33<br>301644 0.054325242 0.087715613 38.25% 61.75% 37<br>301680 0.000015005 0.020838281 0.07% 99.93% 9<br>290020 0.147713357 0.000121422 99.92% 0.08% 19<br>290021 0.000476072 0.000085833 84.72% 15.28% 10<br>44777 0.040819757 0.000010957 99.97% 0.03% 3<br>189680 0.000000044 0.000002376 1.82% 98.18% 1<br>241759 0.000000698 0.000000000 100.00% 0.00% 1<br>184839 0.000001621 0.150341986 0.00% 100.00% 28<br>362220 0.000010818 0.000020949 34.05% 65.95% 2<br>104687 0.000000495 0.000000000 100.00% 0.00% 1<br><br># total App-read/write = 45 Average duration = 0.000269322 sec # time(sec) count % %ile read write avgBytesR avgBytesW<br>0.000500 34 0.755556 0.755556 34 0 32889 0<br>0.001000 10 0.222222 0.977778 10 0 108136 0<br>0.004000 1 0.022222 1.000000 1 0 8 0<br><br># max concurrant App-read/write = 2<br># conc count % %ile<br>1 38 0.844444 0.844444<br>2 7 0.155556 1.000000<br><br><br><br><br><br><br><br><br><br>Capture 2<br><br>Unfinished operations:<br><br>335096 ***************** lookup ************** 0.289127895<br>334691 ***************** lookup ************** 0.225380797<br>362246 ***************** lookup ************** 0.052106493<br>334694 ***************** lookup ************** 0.048567769<br>362220 ***************** lookup ************** 0.054825580<br>333972 ***************** lookup ************** 0.275355791<br>406314 ***************** lookup ************** 0.283219905<br>334686 ***************** lookup ************** 0.285973208<br>289606 ***************** lookup ************** 0.064608288<br>21233 ***************** lookup ************** 0.074923689<br>189680 ***************** lookup ************** 0.089702578<br>335100 ***************** lookup ************** 0.151553955<br>334685 ***************** lookup ************** 0.117808430<br>167700 ***************** lookup ************** 0.119441314<br>336813 ***************** lookup ************** 0.120572137<br>334684 ***************** lookup ************** 0.124718126<br>21234 ***************** lookup ************** 0.131124745<br>84407 ***************** lookup ************** 0.132442945<br>334696 ***************** lookup ************** 0.140938740<br>335094 ***************** lookup ************** 0.201637910<br>167735 ***************** lookup ************** 0.164059859<br>334687 ***************** lookup ************** 0.252930745<br>334695 ***************** lookup ************** 0.278037098<br>341818 0.291815990 ********* Unfinished IO: buffer/disk 50000015000<br>3:439888512^\scratch_metadata_5<br>341818 0.291822084 MSG FSnd: nsdMsgReadExt msg_id 2894690129 Sduration<br>199.688 + us<br>100041 0.025061905 MSG FRep: nsdMsgReadExt msg_id 1012644746 Rduration<br>266959.867 us Rlen 0 Hduration 266963.954 + us<br><br>Elapsed trace time: 0.292021772 seconds<br>Elapsed trace time from first VFS call to last: 0.292021771 Time idle between VFS calls: 0.001436519 seconds<br><br>Operations stats: total time(s) count avg-usecs wait-time(s) avg-usecs rdwr 0.000831801 4 207.950<br>read_inode2 0.000082347 31 2.656<br>pagein 0.000033905 3 11.302<br>revalidate 0.000013109 156 0.084<br>open 0.000237969 22 10.817<br>lookup 1.233407280 10 123340.728<br>delete_inode 0.000013877 33 0.421<br>permission 0.000046486 8 5.811<br>release 0.000172456 21 8.212<br>mmap 0.000064411 2 32.206<br>llseek 0.000000391 2 0.196<br>readdir 0.000213657 36 5.935<br><br><br>User thread stats: GPFS-time(sec) Appl-time GPFS-% Appl-% Ops<br>335094 0.053506265 0.000170270 99.68% 0.32% 16<br>167700 0.000008522 0.000027547 23.63% 76.37% 2<br>167776 0.000008293 0.000019462 29.88% 70.12% 2<br>334684 0.000023562 0.000160872 12.78% 87.22% 8<br>349767 0.000000467 0.250029787 0.00% 100.00% 5<br>84407 0.000000230 0.000017947 1.27% 98.73% 2<br>334685 0.000028543 0.000094147 23.26% 76.74% 8<br>406314 0.221755229 0.000009720 100.00% 0.00% 2<br>334694 0.000024913 0.000125229 16.59% 83.41% 10<br>335096 0.254359005 0.000240785 99.91% 0.09% 18<br>334695 0.000028966 0.000127823 18.47% 81.53% 10<br>334686 0.223770082 0.000267271 99.88% 0.12% 24<br>334687 0.000031265 0.000132905 19.04% 80.96% 9<br>334696 0.000033808 0.000131131 20.50% 79.50% 9<br>129075 0.000000102 0.000000000 100.00% 0.00% 1<br>341842 0.000000318 0.000000000 100.00% 0.00% 1<br>335100 0.059518133 0.000287934 99.52% 0.48% 19<br>224423 0.000000471 0.000000000 100.00% 0.00% 1<br>336812 0.000042720 0.000193294 18.10% 81.90% 10<br>21233 0.000556984 0.000083399 86.98% 13.02% 11<br>289606 0.000000088 0.000018043 0.49% 99.51% 2<br>362246 0.014440188 0.000046516 99.68% 0.32% 4<br>21234 0.000524848 0.000162353 76.37% 23.63% 13<br>336813 0.000046426 0.000175666 20.90% 79.10% 9<br>3339 0.000011816 0.272396876 0.00% 100.00% 29<br>341818 0.000000778 0.000000000 100.00% 0.00% 1<br>167735 0.000007866 0.000049468 13.72% 86.28% 3<br>175480 0.000000278 0.000000000 100.00% 0.00% 1<br>336006 0.000001170 0.250020470 0.00% 100.00% 16<br>44777 0.000000367 0.250149757 0.00% 100.00% 6<br>189680 0.000002717 0.000006518 29.42% 70.58% 1<br>184839 0.000003001 0.250144214 0.00% 100.00% 35<br>145858 0.000000687 0.000000000 100.00% 0.00% 1<br>333972 0.218656404 0.000043897 99.98% 0.02% 4<br>334691 0.187695040 0.000295117 99.84% 0.16% 25<br><br># total App-read/write = 7 Average duration = 0.000123672 sec # time(sec) count % %ile read write avgBytesR avgBytesW<br>0.000500 7 1.000000 1.000000 7 0 1172 0<br><br><br><br><br>-----Original Message-----<br>From: <a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a><br><gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Uwe Falke<br>Sent: Wednesday, November 11, 2020 8:57 PM<br>To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>Subject: Re: [gpfsug-discuss] Poor client performance with high cpu usage of mmfsd process<br><br>Hi, Kamil,<br>I suppose you'd rather not see such an issue than pursue the ugly work-around to kill off processes.<br>In such situations, the first looks should be for the GPFS log (on the client, on the cluster manager, and maybe on the file system manager) and for the current waiters (that is the list of currently waiting threads) on the hanging client.<br><br>-> /var/adm/ras/mmfs.log.latest<br>mmdiag --waiters<br><br>That might give you a first idea what is taking long and which components are involved.<br><br>Also,<br>mmdiag --iohist<br>shows you the last IOs and some stats (service time, size) for them.<br><br>Either that clue is already sufficient, or you go on (if you see DIO somewhere, direct IO is used which might slow down things, for example).<br>GPFS has a nice tracing which you can configure or just run the default trace.<br><br>Running a dedicated (low-level) io trace can be achieved by mmtracectl --start --trace=io --tracedev-write-mode=overwrite -N <your_critical_node> then, when the issue is seen, stop the trace by mmtracectl --stop -N <your_critical_node><br><br>Do not wait to stop the trace once you've seen the issue, the trace file cyclically overwrites its output. If the issue lasts some time you could also start the trace while you see it, run the trace for say 20 secs and stop again. On stopping the trace, the output gets converted into an ASCII trace file named trcrpt.*(usually in /tmp/mmfs, check the command output).<br><br><br>There you should see lines with FIO which carry the inode of the related file after the "tag" keyword.<br>example:<br>0.000745100 25123 TRACE_IO: FIO: read data tag 248415 43466 ioVecSize 8 1st buf 0x299E89BC000 disk 8D0 da 154:2083875440 nSectors 128 err 0 finishTime 1563473283.135212150<br><br>-> inode is 248415<br><br>there is a utility , tsfindinode, to translate that into the file path.<br>you need to build this first if not yet done:<br>cd /usr/lpp/mmfs/samples/util ; make<br>, then run<br>./tsfindinode -i <inode_num> <fs_mount_point><br><br>For the IO trace analysis there is an older tool :<br>/usr/lpp/mmfs/samples/debugtools/trsum.awk.<br><br>Then there is some new stuff I've not yet used in /usr/lpp/mmfs/samples/traceanz/ (always check the README)<br><br>Hope that halps a bit.<br><br>Mit freundlichen Grüßen / Kind regards<br><br>Dr. Uwe Falke<br>IT Specialist<br>Hybrid Cloud Infrastructure / Technology Consulting & Implementation Services<br>+49 175 575 2877 Mobile<br>Rathausstr. 7, 09111 Chemnitz, Germany<br><a href="mailto:uwefalke@de.ibm.com" target="_blank">uwefalke@de.ibm.com</a><br><br>IBM Services<br><br>IBM Data Privacy Statement<br><br>IBM Deutschland Business & Technology Services GmbH<br>Geschäftsführung: Sven Schooss, Stefan Hierl Sitz der Gesellschaft:<br>Ehningen<br>Registergericht: Amtsgericht Stuttgart, HRB 17122<br><br><br><br>From: "Czauz, Kamil" <Kamil.Czauz@Squarepoint-Capital.com><br>To: "gpfsug-discuss@spectrumscale.org"<br><gpfsug-discuss@spectrumscale.org><br>Date: 11/11/2020 23:36<br>Subject: [EXTERNAL] [gpfsug-discuss] Poor client performance with high cpu usage of mmfsd process Sent by: <a href="mailto:gpfsug-discuss-bounces@spectrumscale.org" target="_blank">gpfsug-discuss-bounces@spectrumscale.org</a><br><br><br><br>We regularly run into performance issues on our clients where the client seems to hang when accessing any gpfs mount, even something simple like a ls could take a few minutes to complete. This affects every gpfs mount on the client, but other clients are working just fine. Also the mmfsd process at this point is spinning at something like 300-500% cpu.<br><br>The only way I have found to solve this is by killing processes that may be doing heavy i/o to the gpfs mounts - but this is more of an art than a science. I often end up killing many processes before finding the offending one.<br><br>My question is really about finding the offending process easier. Is there something similar to iotop or a trace that I can enable that can tell me what files/processes and being heavily used by the mmfsd process on the client?<br><br>-Kamil<br>Confidentiality Note: This e-mail and any attachments are confidential and may be protected by legal privilege. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. We will use any personal information you give to us in accordance with our Privacy Policy which can be found in the Data Protection section on our corporate website <a href="http://www.squarepoint-capital.com" target="_blank">http://www.squarepoint-capital.com</a>. Please note that e-mails may be monitored for regulatory and compliance purposes. Thank you for your cooperation.<br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br><br><br><br><br><br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br><br><br>Confidentiality Note: This e-mail and any attachments are confidential and may be protected by legal privilege. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. We will use any personal information you give to us in accordance with our Privacy Policy which can be found in the Data Protection section on our corporate website <a href="http://www.squarepoint-capital.com" target="_blank">http://www.squarepoint-capital.com</a>. Please note that e-mails may be monitored for regulatory and compliance purposes. Thank you for your cooperation.<br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br><br><br><br><br><br><br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br><br><br>Confidentiality Note: This e-mail and any attachments are confidential and may be protected by legal privilege. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. We will use any personal information you give to us in accordance with our Privacy Policy which can be found in the Data Protection section on our corporate website <a href="http://www.squarepoint-capital.com" target="_blank">www.squarepoint-capital.com</a>. Please note that e-mails may be monitored for regulatory and compliance purposes. Thank you for your cooperation.<br> 
<div><font size="2" face="Default Monospace,Courier New,Courier,monospace" >_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a> </font></div></blockquote>
<div dir="ltr" > </div></div><BR>