Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633
Are you seeing similar values for all the nodes or just some of them? One possible issue is how the NSD queues are configured on the NSD servers. You can see this with the output of "mmfsadm dump nsd". There are queues for LARGE IOs (greater than 64K) and queues for SMALL IOs (64K or less). Check the highest pending values to see if many IOs are queueing. There are a couple of options to fix this but rather than explain them I suggest you look for information about NSD queueing on the developerWorks site. There has been information posted there that should prove helpful. Fred __________________________________________________ Fred Stock | IBM Pittsburgh Lab | 720-430-8821 stockf@us.ibm.com From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 07/03/2018 03:49 PM Subject: [gpfsug-discuss] High I/O wait times Sent by: gpfsug-discuss-bounces@spectrumscale.org Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu - (615)875-9633 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hi Fred, Thanks for the response. I have been looking at the “mmfsadm dump nsd” data from the two NSD servers that serve up the two NSDs that most commonly experience high wait times (although, again, this varies from time to time). In addition, I have been reading: https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Gener... And: https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Gener... Which seem to be the most relevant documents on the Wiki. I would like to do a more detailed analysis of the “mmfsadm dump nsd” output, but my preliminary looks at it seems to indicate that I see I/O’s queueing in the 50 - 100 range for the small queues and the 60 - 200 range on the large queues. In addition, I am regularly seeing all 12 threads on the LARGE queues active, while it is much more rare that I see all - or even close to all - the threads on the SMALL queues active. As far as the parameters Scott and Yuri mention, on our cluster they are set thusly: [common] nsdMaxWorkerThreads 640 [<all the GPFS servers listed here>] nsdMaxWorkerThreads 1024 [common] nsdThreadsPerQueue 4 [<all the GPFS servers listed here>] nsdThreadsPerQueue 12 [common] nsdSmallThreadRatio 3 [<all the GPFS servers listed here>] nsdSmallThreadRatio 1 So to me it sounds like I need more resources on the LARGE queue side of things … i.e. it sure doesn’t sound like I want to change my small thread ratio. If I increase the amount of threads it sounds like that might help, but that also takes more pagepool, and I’ve got limited RAM in these (old) NSD servers. I do have nsdbufspace set to 70, but I’ve only got 16-24 GB RAM each in these NSD servers. And a while back I did try increase the page pool on them (very slightly) and ended up causing problems because then they ran out of physical RAM. Thoughts? Followup questions? Thanks! Kevin On Jul 3, 2018, at 3:11 PM, Frederick Stock <stockf@us.ibm.com> wrote: Are you seeing similar values for all the nodes or just some of them? One possible issue is how the NSD queues are configured on the NSD servers. You can see this with the output of "mmfsadm dump nsd". There are queues for LARGE IOs (greater than 64K) and queues for SMALL IOs (64K or less). Check the highest pending values to see if many IOs are queueing. There are a couple of options to fix this but rather than explain them I suggest you look for information about NSD queueing on the developerWorks site. There has been information posted there that should prove helpful. Fred __________________________________________________ Fred Stock | IBM Pittsburgh Lab | 720-430-8821 stockf@us.ibm.com From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 07/03/2018 03:49 PM Subject: [gpfsug-discuss] High I/O wait times Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________ Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu>- (615)875-9633 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7Cd3d7ff675bb440286cb908d5e1212b66%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636662454938066010&sdata=jL0pB5MEaWtJZjMbS8JzhsKGvwmYB6qV%2FVyosdUKcSU%3D&reserved=0> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2...
How many NSDs are served by the NSD servers and what is your maximum file system block size? Have you confirmed that you have sufficient NSD worker threads to handle the maximum number of IOs you are configured to have active? That would be the number of NSDs served times 12 (you have 12 threads per queue). Fred __________________________________________________ Fred Stock | IBM Pittsburgh Lab | 720-430-8821 stockf@us.ibm.com From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 07/03/2018 05:41 PM Subject: Re: [gpfsug-discuss] High I/O wait times Sent by: gpfsug-discuss-bounces@spectrumscale.org Hi Fred, Thanks for the response. I have been looking at the “mmfsadm dump nsd” data from the two NSD servers that serve up the two NSDs that most commonly experience high wait times (although, again, this varies from time to time). In addition, I have been reading: https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Gener... And: https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Gener... Which seem to be the most relevant documents on the Wiki. I would like to do a more detailed analysis of the “mmfsadm dump nsd” output, but my preliminary looks at it seems to indicate that I see I/O’s queueing in the 50 - 100 range for the small queues and the 60 - 200 range on the large queues. In addition, I am regularly seeing all 12 threads on the LARGE queues active, while it is much more rare that I see all - or even close to all - the threads on the SMALL queues active. As far as the parameters Scott and Yuri mention, on our cluster they are set thusly: [common] nsdMaxWorkerThreads 640 [<all the GPFS servers listed here>] nsdMaxWorkerThreads 1024 [common] nsdThreadsPerQueue 4 [<all the GPFS servers listed here>] nsdThreadsPerQueue 12 [common] nsdSmallThreadRatio 3 [<all the GPFS servers listed here>] nsdSmallThreadRatio 1 So to me it sounds like I need more resources on the LARGE queue side of things … i.e. it sure doesn’t sound like I want to change my small thread ratio. If I increase the amount of threads it sounds like that might help, but that also takes more pagepool, and I’ve got limited RAM in these (old) NSD servers. I do have nsdbufspace set to 70, but I’ve only got 16-24 GB RAM each in these NSD servers. And a while back I did try increase the page pool on them (very slightly) and ended up causing problems because then they ran out of physical RAM. Thoughts? Followup questions? Thanks! Kevin On Jul 3, 2018, at 3:11 PM, Frederick Stock <stockf@us.ibm.com> wrote: Are you seeing similar values for all the nodes or just some of them? One possible issue is how the NSD queues are configured on the NSD servers. You can see this with the output of "mmfsadm dump nsd". There are queues for LARGE IOs (greater than 64K) and queues for SMALL IOs (64K or less). Check the highest pending values to see if many IOs are queueing. There are a couple of options to fix this but rather than explain them I suggest you look for information about NSD queueing on the developerWorks site. There has been information posted there that should prove helpful. Fred __________________________________________________ Fred Stock | IBM Pittsburgh Lab | 720-430-8821 stockf@us.ibm.com From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 07/03/2018 03:49 PM Subject: [gpfsug-discuss] High I/O wait times Sent by: gpfsug-discuss-bounces@spectrumscale.org Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu- (615)875-9633 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2... _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hi Fred, I have a total of 48 NSDs served up by 8 NSD servers. 12 of those NSDs are in our small /home filesystem, which is performing just fine. The other 36 are in our ~1 PB /scratch and /data filesystem, which is where the problem is. Our max filesystem block size parameter is set to 16 MB, but the aforementioned filesystem uses a 1 MB block size. nsdMaxWorkerThreads is set to 1024 as shown below. Since each NSD server serves an average of 6 NSDs and 6 x 12 = 72 we’re OK if I’m understanding the calculation correctly. Even multiplying 48 x 12 = 576, so we’re good?!? Your help is much appreciated! Thanks again… Kevin On Jul 3, 2018, at 4:53 PM, Frederick Stock <stockf@us.ibm.com<mailto:stockf@us.ibm.com>> wrote: How many NSDs are served by the NSD servers and what is your maximum file system block size? Have you confirmed that you have sufficient NSD worker threads to handle the maximum number of IOs you are configured to have active? That would be the number of NSDs served times 12 (you have 12 threads per queue). Fred __________________________________________________ Fred Stock | IBM Pittsburgh Lab | 720-430-8821 stockf@us.ibm.com<mailto:stockf@us.ibm.com> From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu<mailto:Kevin.Buterbaugh@Vanderbilt.Edu>> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Date: 07/03/2018 05:41 PM Subject: Re: [gpfsug-discuss] High I/O wait times Sent by: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> ________________________________ Hi Fred, Thanks for the response. I have been looking at the “mmfsadm dump nsd” data from the two NSD servers that serve up the two NSDs that most commonly experience high wait times (although, again, this varies from time to time). In addition, I have been reading: https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/General%20Parallel%20File%20System%20(GPFS)/page/NSD%20Server%20Design%20and%20Tuning<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fcommunity%2Fwikis%2Fhome%3Flang%3Den%23!%2Fwiki%2FGeneral+Parallel+File+System+(GPFS)%2Fpage%2FNSD+Server+Design+and+Tuning&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C7658e1b458b147ad8a3908d5e12f6982%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636662516110903567&sdata=cWw5UipcO7HgupLQTFgOWVwXF%2B9b8S%2Fw935%2FeqG6xIY%3D&reserved=0> And: https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/General%20Parallel%20File%20System%20(GPFS)/page/NSD%20Server%20Tuning<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fcommunity%2Fwikis%2Fhome%3Flang%3Den%23!%2Fwiki%2FGeneral%2520Parallel%2520File%2520System%2520(GPFS)%2Fpage%2FNSD%2520Server%2520Tuning&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C7658e1b458b147ad8a3908d5e12f6982%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636662516110903567&sdata=CAuOPOhC1MXdZW2e2HaVOY0PmySwP6FzlsvNNlteWZw%3D&reserved=0> Which seem to be the most relevant documents on the Wiki. I would like to do a more detailed analysis of the “mmfsadm dump nsd” output, but my preliminary looks at it seems to indicate that I see I/O’s queueing in the 50 - 100 range for the small queues and the 60 - 200 range on the large queues. In addition, I am regularly seeing all 12 threads on the LARGE queues active, while it is much more rare that I see all - or even close to all - the threads on the SMALL queues active. As far as the parameters Scott and Yuri mention, on our cluster they are set thusly: [common] nsdMaxWorkerThreads 640 [<all the GPFS servers listed here>] nsdMaxWorkerThreads 1024 [common] nsdThreadsPerQueue 4 [<all the GPFS servers listed here>] nsdThreadsPerQueue 12 [common] nsdSmallThreadRatio 3 [<all the GPFS servers listed here>] nsdSmallThreadRatio 1 So to me it sounds like I need more resources on the LARGE queue side of things … i.e. it sure doesn’t sound like I want to change my small thread ratio. If I increase the amount of threads it sounds like that might help, but that also takes more pagepool, and I’ve got limited RAM in these (old) NSD servers. I do have nsdbufspace set to 70, but I’ve only got 16-24 GB RAM each in these NSD servers. And a while back I did try increase the page pool on them (very slightly) and ended up causing problems because then they ran out of physical RAM. Thoughts? Followup questions? Thanks! Kevin On Jul 3, 2018, at 3:11 PM, Frederick Stock <stockf@us.ibm.com<mailto:stockf@us.ibm.com>> wrote: Are you seeing similar values for all the nodes or just some of them? One possible issue is how the NSD queues are configured on the NSD servers. You can see this with the output of "mmfsadm dump nsd". There are queues for LARGE IOs (greater than 64K) and queues for SMALL IOs (64K or less). Check the highest pending values to see if many IOs are queueing. There are a couple of options to fix this but rather than explain them I suggest you look for information about NSD queueing on the developerWorks site. There has been information posted there that should prove helpful. Fred __________________________________________________ Fred Stock | IBM Pittsburgh Lab | 720-430-8821 stockf@us.ibm.com<mailto:stockf@us.ibm.com> From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu<mailto:Kevin.Buterbaugh@Vanderbilt.Edu>> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Date: 07/03/2018 03:49 PM Subject: [gpfsug-discuss] High I/O wait times Sent by: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> ________________________________ Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu>- (615)875-9633 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7Cd3d7ff675bb440286cb908d5e1212b66%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636662454938066010&sdata=jL0pB5MEaWtJZjMbS8JzhsKGvwmYB6qV%2FVyosdUKcSU%3D&reserved=0> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2... _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C7658e1b458b147ad8a3908d5e12f6982%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636662516110923583&sdata=wbJuSS8E2n66iUoS3JiKjnly%2BESuuDpqlCLKGdM61rc%3D&reserved=0> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C7658e1b458b147ad8a3908d5e12f6982%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636662516110933587&sdata=RKuWKLRGoBRMSDHkrMsKsuU6JkiFgruK4e7gGafxAGc%3D&reserved=0
Kevin, While this is happening, are you able to grab latency stats per LUN (hardware vendor agnostic) to see if there are any outliers? Also, when looking at the mmdiag output, are both reads and writes affected? Depending on the storage hardware, your writes might be hitting cache, so maybe this problem is being exasperated by many small reads (that are too random to be coalesced, take advantage of drive NCQ, etc). The other response about the nsd threads is also a good start, but if the I/O waits shift between different NSD servers and across hardware vendors, my assumption would be that you are hitting a bottleneck somewhere, but what you are seeing is symptoms of I/O backlog, which can manifest at any number of places. This could be something as low level as a few slow drives. Have you just started noticing this behavior? Any new applications on your system? Going by your institution, you're probably supposing a wide variety of codes, so if these problems just started happening, its possible that someone changed their code, or decided to run new scientific packages. -Steve ________________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Buterbaugh, Kevin L [Kevin.Buterbaugh@Vanderbilt.Edu] Sent: Tuesday, July 03, 2018 11:43 AM To: gpfsug main discussion list Subject: [gpfsug-discuss] High I/O wait times Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633
You dont state whether your running GPFS or ESS and which level. One thing you can check, is whether the SES and enclosure drivers are being loaded. The lsmod command will show if they are. These drivers were found to cause SCSI IO hangs in Linux RH7.3 and 7.4. If they are being loaded, you can blacklist and unload them with no impact to ESS/GNR By default these drivers are blacklisted in ESS. Stephen Tee ESS Storage Development IBM Systems and Technology Austin, TX 512-963-7177 From: Steve Crusan <scrusan@ddn.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 07/03/2018 05:08 PM Subject: Re: [gpfsug-discuss] High I/O wait times Sent by: gpfsug-discuss-bounces@spectrumscale.org Kevin, While this is happening, are you able to grab latency stats per LUN (hardware vendor agnostic) to see if there are any outliers? Also, when looking at the mmdiag output, are both reads and writes affected? Depending on the storage hardware, your writes might be hitting cache, so maybe this problem is being exasperated by many small reads (that are too random to be coalesced, take advantage of drive NCQ, etc). The other response about the nsd threads is also a good start, but if the I/O waits shift between different NSD servers and across hardware vendors, my assumption would be that you are hitting a bottleneck somewhere, but what you are seeing is symptoms of I/O backlog, which can manifest at any number of places. This could be something as low level as a few slow drives. Have you just started noticing this behavior? Any new applications on your system? Going by your institution, you're probably supposing a wide variety of codes, so if these problems just started happening, its possible that someone changed their code, or decided to run new scientific packages. -Steve ________________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Buterbaugh, Kevin L [Kevin.Buterbaugh@Vanderbilt.Edu] Sent: Tuesday, July 03, 2018 11:43 AM To: gpfsug main discussion list Subject: [gpfsug-discuss] High I/O wait times Hi all, not We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hi Kevin, Just going out on a very weird limb here...but you're not by chance seeing this behavior on DDN hardware that runs the SFA OS are you? (e.g. SFA12K, 7K, 14K, etc.) We just started seeing some very weird and high latency on some of our SFA12ks (that have otherwise been solid both in terms of stability and performance) but only on certain volumes and the affected volumes change. It's very bizzarre and we've been working closely with DDN to track down the root cause but we've not yet found a smoking gun. The timing and description of your problem sounded eerily similar to what we're seeing so I'd thought I'd ask. -Aaron -- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776 On Tue, 3 Jul 2018, Buterbaugh, Kevin L wrote:
Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart.
In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks!
— Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu - (615)875-9633
Hi All, First off, my apologies for the delay in responding back to the list … we’ve actually been working our tails off on this one trying to collect as much data as we can on what is a very weird issue. While I’m responding to Aaron’s e-mail, I’m going to try to address the questions raised in all the responses. Steve - this all started last week. You’re correct about our mixed workload. There have been no new workloads that I am aware of. Stephen - no, this is not an ESS. We are running GPFS 4.2.3-8. Aaron - no, this is not on a DDN, either. The hardware setup is a vanilla 8 GB FC SAN. Commodity hardware for the servers and storage. We have two SAN “stacks” and all NSD servers and storage are connected to both stacks. Linux multipathing handles path failures. 10 GbE out to the network. We first were alerted to this problem by one of our monitoring scripts which was designed to alert us to abnormally high I/O times, which, as I mentioned previously, in our environment has usually been caused by cache battery backup failures in the storage array controllers (but _not_ this time). So I’m getting e-mails that in part read: Disk eon34Cnsd on nsd2 has a service time of 4625.083 ms. Disk eon34Ensd on nsd4 has a service time of 3146.715 ms. The “34” tells me what storage array and the “C” or “E” tells me what LUN on that storage array. As I’ve mentioned, those two LUNs are by far and away my most frequent problem children, but here’s another report from today as well: Disk eon28Bnsd on nsd8 has a service time of 1119.385 ms. Disk eon28Ansd on nsd7 has a service time of 1154.002 ms. Disk eon31Ansd on nsd3 has a service time of 1068.987 ms. Disk eon34Cnsd on nsd2 has a service time of 4991.365 ms. NSD server hostnames have been changed, BTW, from their real names to nsd1 - 8. Based on Fred’s excellent advice, we took a closer look at the “mmfsadm dump nsd” output. We wrote a Python script to pull out what we think is the most pertinent information: nsd1 29 SMALL queues, 50 requests pending, 3741 was the highest number of requests pending. 348 threads started, 1 threads active, 348 was the highest number of threads active. 29 LARGE queues, 0 requests pending, 5694 was the highest number of requests pending. 348 threads started, 124 threads active, 348 was the highest number of threads active. nsd2 29 SMALL queues, 0 requests pending, 1246 was the highest number of requests pending. 348 threads started, 13 threads active, 348 was the highest number of threads active. 29 LARGE queues, 470 requests pending, 2404 was the highest number of requests pending. 348 threads started, 340 threads active, 348 was the highest number of threads active. nsd3 29 SMALL queues, 108 requests pending, 1796 was the highest number of requests pending. 348 threads started, 0 threads active, 348 was the highest number of threads active. 29 LARGE queues, 35 requests pending, 3331 was the highest number of requests pending. 348 threads started, 4 threads active, 348 was the highest number of threads active. nsd4 42 SMALL queues, 0 requests pending, 1529 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 637 was the highest number of requests pending. 504 threads started, 211 threads active, 504 was the highest number of threads active. nsd5 42 SMALL queues, 182 requests pending, 2798 was the highest number of requests pending. 504 threads started, 6 threads active, 504 was the highest number of threads active. 42 LARGE queues, 407 requests pending, 4416 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. nsd6 42 SMALL queues, 0 requests pending, 1630 was the highest number of requests pending. 504 threads started, 0 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 148 was the highest number of requests pending. 504 threads started, 9 threads active, 504 was the highest number of threads active. nsd7 42 SMALL queues, 43 requests pending, 2179 was the highest number of requests pending. 504 threads started, 1 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 2551 was the highest number of requests pending. 504 threads started, 13 threads active, 504 was the highest number of threads active. nsd8 42 SMALL queues, 0 requests pending, 1014 was the highest number of requests pending. 504 threads started, 4 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 3371 was the highest number of requests pending. 504 threads started, 89 threads active, 504 was the highest number of threads active. Note that we see more “load” on the LARGE queue side of things and that nsd2 and nsd4 (the primary NSD servers for the 2 LUNs that show up most frequently in our alerts) are the heaviest loaded. One other thing we have noted is that our home grown RRDtool monitoring plots that are based on netstat, iostat, vmstat, etc. also show an oddity. Most of our LUNs show up as 33 - 68% utilized … but all the LUNs on eon34 (there are 4 in total) show up as 93 - 97% utilized. And another oddity there is that eon34A and eon34B rarely show up on the alert e-mails, while eon34C and eon34E show up waaaayyyyyyy more than anything else … the difference between them is that A and B are on the storage array itself and C and E are on JBOD’s SAS-attached to the storage array (and yes, we’ve actually checked and reseated those connections). Another reason why I could not respond earlier today is that one of the things which I did this afternoon was to upgrade the RAM on nsd2 and nsd4 from 16 / 24 GB respectively to 64 GB each … and I then upped the pagepool on those two boxes to 40 GB. That has not made a difference. How can I determine how much of the pagepool is actually being used, BTW? A quick Google search didn’t help me. So we’re trying to figure out if we have storage hardware issues causing GPFS issues or GPFS issues causing storage slowdowns. The fact that I see slowdowns most often on one storage array points in one direction, while the fact that at times I see even worse slowdowns on multiple other arrays points the other way. The fact that some NSD servers show better stats than others in the analysis of the “mmfsadm dump nsd” output tells me … well, I don’t know what it tells me. I think that’s all for now. If you have read this entire very long e-mail, first off, thank you! If you’ve read it and have ideas for where I should go from here, T-H-A-N-K Y-O-U! Kevin
On Jul 4, 2018, at 7:34 AM, Aaron Knister <aaron.s.knister@nasa.gov> wrote:
Hi Kevin,
Just going out on a very weird limb here...but you're not by chance seeing this behavior on DDN hardware that runs the SFA OS are you? (e.g. SFA12K, 7K, 14K, etc.) We just started seeing some very weird and high latency on some of our SFA12ks (that have otherwise been solid both in terms of stability and performance) but only on certain volumes and the affected volumes change. It's very bizzarre and we've been working closely with DDN to track down the root cause but we've not yet found a smoking gun. The timing and description of your problem sounded eerily similar to what we're seeing so I'd thought I'd ask.
-Aaron
-- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776
On Tue, 3 Jul 2018, Buterbaugh, Kevin L wrote:
Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu - (615)875-9633
gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2...
You may want to get an mmtrace, but I suspect that the disk IOs are slow. The iohist is showing the time from when the start IO was issued until it was finished. Of course if you have disk IOs taking 10x too long then other IOs are going to queue up behind it. If there are more IOs than there are NSD server threads then there are going to be IOs that are queued and waiting for a thread. Jim On Thursday, July 5, 2018, 9:30:30 PM EDT, Buterbaugh, Kevin L <Kevin.Buterbaugh@Vanderbilt.Edu> wrote: Hi All, First off, my apologies for the delay in responding back to the list … we’ve actually been working our tails off on this one trying to collect as much data as we can on what is a very weird issue. While I’m responding to Aaron’s e-mail, I’m going to try to address the questions raised in all the responses. Steve - this all started last week. You’re correct about our mixed workload. There have been no new workloads that I am aware of. Stephen - no, this is not an ESS. We are running GPFS 4.2.3-8. Aaron - no, this is not on a DDN, either. The hardware setup is a vanilla 8 GB FC SAN. Commodity hardware for the servers and storage. We have two SAN “stacks” and all NSD servers and storage are connected to both stacks. Linux multipathing handles path failures. 10 GbE out to the network. We first were alerted to this problem by one of our monitoring scripts which was designed to alert us to abnormally high I/O times, which, as I mentioned previously, in our environment has usually been caused by cache battery backup failures in the storage array controllers (but _not_ this time). So I’m getting e-mails that in part read: Disk eon34Cnsd on nsd2 has a service time of 4625.083 ms. Disk eon34Ensd on nsd4 has a service time of 3146.715 ms. The “34” tells me what storage array and the “C” or “E” tells me what LUN on that storage array. As I’ve mentioned, those two LUNs are by far and away my most frequent problem children, but here’s another report from today as well: Disk eon28Bnsd on nsd8 has a service time of 1119.385 ms. Disk eon28Ansd on nsd7 has a service time of 1154.002 ms. Disk eon31Ansd on nsd3 has a service time of 1068.987 ms. Disk eon34Cnsd on nsd2 has a service time of 4991.365 ms. NSD server hostnames have been changed, BTW, from their real names to nsd1 - 8. Based on Fred’s excellent advice, we took a closer look at the “mmfsadm dump nsd” output. We wrote a Python script to pull out what we think is the most pertinent information: nsd1 29 SMALL queues, 50 requests pending, 3741 was the highest number of requests pending. 348 threads started, 1 threads active, 348 was the highest number of threads active. 29 LARGE queues, 0 requests pending, 5694 was the highest number of requests pending. 348 threads started, 124 threads active, 348 was the highest number of threads active. nsd2 29 SMALL queues, 0 requests pending, 1246 was the highest number of requests pending. 348 threads started, 13 threads active, 348 was the highest number of threads active. 29 LARGE queues, 470 requests pending, 2404 was the highest number of requests pending. 348 threads started, 340 threads active, 348 was the highest number of threads active. nsd3 29 SMALL queues, 108 requests pending, 1796 was the highest number of requests pending. 348 threads started, 0 threads active, 348 was the highest number of threads active. 29 LARGE queues, 35 requests pending, 3331 was the highest number of requests pending. 348 threads started, 4 threads active, 348 was the highest number of threads active. nsd4 42 SMALL queues, 0 requests pending, 1529 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 637 was the highest number of requests pending. 504 threads started, 211 threads active, 504 was the highest number of threads active. nsd5 42 SMALL queues, 182 requests pending, 2798 was the highest number of requests pending. 504 threads started, 6 threads active, 504 was the highest number of threads active. 42 LARGE queues, 407 requests pending, 4416 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. nsd6 42 SMALL queues, 0 requests pending, 1630 was the highest number of requests pending. 504 threads started, 0 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 148 was the highest number of requests pending. 504 threads started, 9 threads active, 504 was the highest number of threads active. nsd7 42 SMALL queues, 43 requests pending, 2179 was the highest number of requests pending. 504 threads started, 1 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 2551 was the highest number of requests pending. 504 threads started, 13 threads active, 504 was the highest number of threads active. nsd8 42 SMALL queues, 0 requests pending, 1014 was the highest number of requests pending. 504 threads started, 4 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 3371 was the highest number of requests pending. 504 threads started, 89 threads active, 504 was the highest number of threads active. Note that we see more “load” on the LARGE queue side of things and that nsd2 and nsd4 (the primary NSD servers for the 2 LUNs that show up most frequently in our alerts) are the heaviest loaded. One other thing we have noted is that our home grown RRDtool monitoring plots that are based on netstat, iostat, vmstat, etc. also show an oddity. Most of our LUNs show up as 33 - 68% utilized … but all the LUNs on eon34 (there are 4 in total) show up as 93 - 97% utilized. And another oddity there is that eon34A and eon34B rarely show up on the alert e-mails, while eon34C and eon34E show up waaaayyyyyyy more than anything else … the difference between them is that A and B are on the storage array itself and C and E are on JBOD’s SAS-attached to the storage array (and yes, we’ve actually checked and reseated those connections). Another reason why I could not respond earlier today is that one of the things which I did this afternoon was to upgrade the RAM on nsd2 and nsd4 from 16 / 24 GB respectively to 64 GB each … and I then upped the pagepool on those two boxes to 40 GB. That has not made a difference. How can I determine how much of the pagepool is actually being used, BTW? A quick Google search didn’t help me. So we’re trying to figure out if we have storage hardware issues causing GPFS issues or GPFS issues causing storage slowdowns. The fact that I see slowdowns most often on one storage array points in one direction, while the fact that at times I see even worse slowdowns on multiple other arrays points the other way. The fact that some NSD servers show better stats than others in the analysis of the “mmfsadm dump nsd” output tells me … well, I don’t know what it tells me. I think that’s all for now. If you have read this entire very long e-mail, first off, thank you! If you’ve read it and have ideas for where I should go from here, T-H-A-N-K Y-O-U! Kevin
On Jul 4, 2018, at 7:34 AM, Aaron Knister <aaron.s.knister@nasa.gov> wrote:
Hi Kevin,
Just going out on a very weird limb here...but you're not by chance seeing this behavior on DDN hardware that runs the SFA OS are you? (e.g. SFA12K, 7K, 14K, etc.) We just started seeing some very weird and high latency on some of our SFA12ks (that have otherwise been solid both in terms of stability and performance) but only on certain volumes and the affected volumes change. It's very bizzarre and we've been working closely with DDN to track down the root cause but we've not yet found a smoking gun. The timing and description of your problem sounded eerily similar to what we're seeing so I'd thought I'd ask.
-Aaron
-- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776
On Tue, 3 Jul 2018, Buterbaugh, Kevin L wrote:
Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu - (615)875-9633
gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2...
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hi Jim, Thank you for your response. We are taking a two-pronged approach at this point: 1. While I don’t see anything wrong with our storage arrays, I have opened a ticket with the vendor (not IBM) to get them to look at things from that angle. 2. Since the problem moves around from time to time, we are enhancing our monitoring script to see if we can basically go from “mmdiag —iohist” to “clients issuing those I/O requests” to “jobs running on those clients” to see if there is any commonality there. Thanks again - much appreciated! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633 On Jul 6, 2018, at 8:02 AM, Jim Doherty <jjdoherty@yahoo.com<mailto:jjdoherty@yahoo.com>> wrote: You may want to get an mmtrace, but I suspect that the disk IOs are slow. The iohist is showing the time from when the start IO was issued until it was finished. Of course if you have disk IOs taking 10x too long then other IOs are going to queue up behind it. If there are more IOs than there are NSD server threads then there are going to be IOs that are queued and waiting for a thread. Jim On Thursday, July 5, 2018, 9:30:30 PM EDT, Buterbaugh, Kevin L <Kevin.Buterbaugh@Vanderbilt.Edu<mailto:Kevin.Buterbaugh@Vanderbilt.Edu>> wrote: Hi All, First off, my apologies for the delay in responding back to the list … we’ve actually been working our tails off on this one trying to collect as much data as we can on what is a very weird issue. While I’m responding to Aaron’s e-mail, I’m going to try to address the questions raised in all the responses. Steve - this all started last week. You’re correct about our mixed workload. There have been no new workloads that I am aware of. Stephen - no, this is not an ESS. We are running GPFS 4.2.3-8. Aaron - no, this is not on a DDN, either. The hardware setup is a vanilla 8 GB FC SAN. Commodity hardware for the servers and storage. We have two SAN “stacks” and all NSD servers and storage are connected to both stacks. Linux multipathing handles path failures. 10 GbE out to the network. We first were alerted to this problem by one of our monitoring scripts which was designed to alert us to abnormally high I/O times, which, as I mentioned previously, in our environment has usually been caused by cache battery backup failures in the storage array controllers (but _not_ this time). So I’m getting e-mails that in part read: Disk eon34Cnsd on nsd2 has a service time of 4625.083 ms. Disk eon34Ensd on nsd4 has a service time of 3146.715 ms. The “34” tells me what storage array and the “C” or “E” tells me what LUN on that storage array. As I’ve mentioned, those two LUNs are by far and away my most frequent problem children, but here’s another report from today as well: Disk eon28Bnsd on nsd8 has a service time of 1119.385 ms. Disk eon28Ansd on nsd7 has a service time of 1154.002 ms. Disk eon31Ansd on nsd3 has a service time of 1068.987 ms. Disk eon34Cnsd on nsd2 has a service time of 4991.365 ms. NSD server hostnames have been changed, BTW, from their real names to nsd1 - 8. Based on Fred’s excellent advice, we took a closer look at the “mmfsadm dump nsd” output. We wrote a Python script to pull out what we think is the most pertinent information: nsd1 29 SMALL queues, 50 requests pending, 3741 was the highest number of requests pending. 348 threads started, 1 threads active, 348 was the highest number of threads active. 29 LARGE queues, 0 requests pending, 5694 was the highest number of requests pending. 348 threads started, 124 threads active, 348 was the highest number of threads active. nsd2 29 SMALL queues, 0 requests pending, 1246 was the highest number of requests pending. 348 threads started, 13 threads active, 348 was the highest number of threads active. 29 LARGE queues, 470 requests pending, 2404 was the highest number of requests pending. 348 threads started, 340 threads active, 348 was the highest number of threads active. nsd3 29 SMALL queues, 108 requests pending, 1796 was the highest number of requests pending. 348 threads started, 0 threads active, 348 was the highest number of threads active. 29 LARGE queues, 35 requests pending, 3331 was the highest number of requests pending. 348 threads started, 4 threads active, 348 was the highest number of threads active. nsd4 42 SMALL queues, 0 requests pending, 1529 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 637 was the highest number of requests pending. 504 threads started, 211 threads active, 504 was the highest number of threads active. nsd5 42 SMALL queues, 182 requests pending, 2798 was the highest number of requests pending. 504 threads started, 6 threads active, 504 was the highest number of threads active. 42 LARGE queues, 407 requests pending, 4416 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. nsd6 42 SMALL queues, 0 requests pending, 1630 was the highest number of requests pending. 504 threads started, 0 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 148 was the highest number of requests pending. 504 threads started, 9 threads active, 504 was the highest number of threads active. nsd7 42 SMALL queues, 43 requests pending, 2179 was the highest number of requests pending. 504 threads started, 1 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 2551 was the highest number of requests pending. 504 threads started, 13 threads active, 504 was the highest number of threads active. nsd8 42 SMALL queues, 0 requests pending, 1014 was the highest number of requests pending. 504 threads started, 4 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 3371 was the highest number of requests pending. 504 threads started, 89 threads active, 504 was the highest number of threads active. Note that we see more “load” on the LARGE queue side of things and that nsd2 and nsd4 (the primary NSD servers for the 2 LUNs that show up most frequently in our alerts) are the heaviest loaded. One other thing we have noted is that our home grown RRDtool monitoring plots that are based on netstat, iostat, vmstat, etc. also show an oddity. Most of our LUNs show up as 33 - 68% utilized … but all the LUNs on eon34 (there are 4 in total) show up as 93 - 97% utilized. And another oddity there is that eon34A and eon34B rarely show up on the alert e-mails, while eon34C and eon34E show up waaaayyyyyyy more than anything else … the difference between them is that A and B are on the storage array itself and C and E are on JBOD’s SAS-attached to the storage array (and yes, we’ve actually checked and reseated those connections). Another reason why I could not respond earlier today is that one of the things which I did this afternoon was to upgrade the RAM on nsd2 and nsd4 from 16 / 24 GB respectively to 64 GB each … and I then upped the pagepool on those two boxes to 40 GB. That has not made a difference. How can I determine how much of the pagepool is actually being used, BTW? A quick Google search didn’t help me. So we’re trying to figure out if we have storage hardware issues causing GPFS issues or GPFS issues causing storage slowdowns. The fact that I see slowdowns most often on one storage array points in one direction, while the fact that at times I see even worse slowdowns on multiple other arrays points the other way. The fact that some NSD servers show better stats than others in the analysis of the “mmfsadm dump nsd” output tells me … well, I don’t know what it tells me. I think that’s all for now. If you have read this entire very long e-mail, first off, thank you! If you’ve read it and have ideas for where I should go from here, T-H-A-N-K Y-O-U! Kevin
On Jul 4, 2018, at 7:34 AM, Aaron Knister <aaron.s.knister@nasa.gov<mailto:aaron.s.knister@nasa.gov>> wrote:
Hi Kevin,
Just going out on a very weird limb here...but you're not by chance seeing this behavior on DDN hardware that runs the SFA OS are you? (e.g. SFA12K, 7K, 14K, etc.) We just started seeing some very weird and high latency on some of our SFA12ks (that have otherwise been solid both in terms of stability and performance) but only on certain volumes and the affected volumes change. It's very bizzarre and we've been working closely with DDN to track down the root cause but we've not yet found a smoking gun. The timing and description of your problem sounded eerily similar to what we're seeing so I'd thought I'd ask.
-Aaron
-- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776
On Tue, 3 Jul 2018, Buterbaugh, Kevin L wrote:
Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633
gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2...
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C331014fd459d4151432308d5e340c4fa%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C636664789687056826&sdata=q8sRHafEyyBx7BgcD9scnQVzb3egxSYiCKZbKScCbA0%3D&reserved=0> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C331014fd459d4151432308d5e340c4fa%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C636664789687076842&sdata=UhjNipQdsNjxIcUB%2Ffu2qEwn7K6tIBmGWEIruxGgI4A%3D&reserved=0
Hi Kevin, This is a bit of a "cargo cult" suggestion but one issue that I have seen is if a disk starts misbehaving a bit but does not fail, it slows down the whole raid group that it is in. And the only way to detect it is to examine the read/write latencies on the individual disks. Does your SAN allow you to do that? That happened to me at least twice in my life and replacing the offending individual disk solved the issue. This was on DDN, so the relevant command were something like 'show pd * counters write_lat' or similar, which showed the latency for the I/Os for each disk. If one disk in the group is an outlier (e.g. 1s write latencies), then the whole raid array (LUN) is just waiting for that one disk. Another possibility for troubleshooting, if you have sufficient free resources: you can just suspend the problematic LUNs in GPFS, as that will remove the write load from them, while still having them service read requests and not affecting users. Regards, Alex On Fri, Jul 6, 2018 at 9:11 AM Buterbaugh, Kevin L < Kevin.Buterbaugh@vanderbilt.edu> wrote:
Hi Jim,
Thank you for your response. We are taking a two-pronged approach at this point:
1. While I don’t see anything wrong with our storage arrays, I have opened a ticket with the vendor (not IBM) to get them to look at things from that angle.
2. Since the problem moves around from time to time, we are enhancing our monitoring script to see if we can basically go from “mmdiag —iohist” to “clients issuing those I/O requests” to “jobs running on those clients” to see if there is any commonality there.
Thanks again - much appreciated!
— Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu - (615)875-9633
On Jul 6, 2018, at 8:02 AM, Jim Doherty <jjdoherty@yahoo.com> wrote:
You may want to get an mmtrace, but I suspect that the disk IOs are slow. The iohist is showing the time from when the start IO was issued until it was finished. Of course if you have disk IOs taking 10x too long then other IOs are going to queue up behind it. If there are more IOs than there are NSD server threads then there are going to be IOs that are queued and waiting for a thread.
Jim
On Thursday, July 5, 2018, 9:30:30 PM EDT, Buterbaugh, Kevin L < Kevin.Buterbaugh@Vanderbilt.Edu> wrote:
Hi All,
First off, my apologies for the delay in responding back to the list … we’ve actually been working our tails off on this one trying to collect as much data as we can on what is a very weird issue. While I’m responding to Aaron’s e-mail, I’m going to try to address the questions raised in all the responses.
Steve - this all started last week. You’re correct about our mixed workload. There have been no new workloads that I am aware of.
Stephen - no, this is not an ESS. We are running GPFS 4.2.3-8.
Aaron - no, this is not on a DDN, either.
The hardware setup is a vanilla 8 GB FC SAN. Commodity hardware for the servers and storage. We have two SAN “stacks” and all NSD servers and storage are connected to both stacks. Linux multipathing handles path failures. 10 GbE out to the network.
We first were alerted to this problem by one of our monitoring scripts which was designed to alert us to abnormally high I/O times, which, as I mentioned previously, in our environment has usually been caused by cache battery backup failures in the storage array controllers (but _not_ this time). So I’m getting e-mails that in part read:
Disk eon34Cnsd on nsd2 has a service time of 4625.083 ms. Disk eon34Ensd on nsd4 has a service time of 3146.715 ms.
The “34” tells me what storage array and the “C” or “E” tells me what LUN on that storage array. As I’ve mentioned, those two LUNs are by far and away my most frequent problem children, but here’s another report from today as well:
Disk eon28Bnsd on nsd8 has a service time of 1119.385 ms. Disk eon28Ansd on nsd7 has a service time of 1154.002 ms. Disk eon31Ansd on nsd3 has a service time of 1068.987 ms. Disk eon34Cnsd on nsd2 has a service time of 4991.365 ms.
NSD server hostnames have been changed, BTW, from their real names to nsd1 - 8.
Based on Fred’s excellent advice, we took a closer look at the “mmfsadm dump nsd” output. We wrote a Python script to pull out what we think is the most pertinent information:
nsd1 29 SMALL queues, 50 requests pending, 3741 was the highest number of requests pending. 348 threads started, 1 threads active, 348 was the highest number of threads active. 29 LARGE queues, 0 requests pending, 5694 was the highest number of requests pending. 348 threads started, 124 threads active, 348 was the highest number of threads active. nsd2 29 SMALL queues, 0 requests pending, 1246 was the highest number of requests pending. 348 threads started, 13 threads active, 348 was the highest number of threads active. 29 LARGE queues, 470 requests pending, 2404 was the highest number of requests pending. 348 threads started, 340 threads active, 348 was the highest number of threads active. nsd3 29 SMALL queues, 108 requests pending, 1796 was the highest number of requests pending. 348 threads started, 0 threads active, 348 was the highest number of threads active. 29 LARGE queues, 35 requests pending, 3331 was the highest number of requests pending. 348 threads started, 4 threads active, 348 was the highest number of threads active. nsd4 42 SMALL queues, 0 requests pending, 1529 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 637 was the highest number of requests pending. 504 threads started, 211 threads active, 504 was the highest number of threads active. nsd5 42 SMALL queues, 182 requests pending, 2798 was the highest number of requests pending. 504 threads started, 6 threads active, 504 was the highest number of threads active. 42 LARGE queues, 407 requests pending, 4416 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. nsd6 42 SMALL queues, 0 requests pending, 1630 was the highest number of requests pending. 504 threads started, 0 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 148 was the highest number of requests pending. 504 threads started, 9 threads active, 504 was the highest number of threads active. nsd7 42 SMALL queues, 43 requests pending, 2179 was the highest number of requests pending. 504 threads started, 1 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 2551 was the highest number of requests pending. 504 threads started, 13 threads active, 504 was the highest number of threads active. nsd8 42 SMALL queues, 0 requests pending, 1014 was the highest number of requests pending. 504 threads started, 4 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 3371 was the highest number of requests pending. 504 threads started, 89 threads active, 504 was the highest number of threads active.
Note that we see more “load” on the LARGE queue side of things and that nsd2 and nsd4 (the primary NSD servers for the 2 LUNs that show up most frequently in our alerts) are the heaviest loaded.
One other thing we have noted is that our home grown RRDtool monitoring plots that are based on netstat, iostat, vmstat, etc. also show an oddity. Most of our LUNs show up as 33 - 68% utilized … but all the LUNs on eon34 (there are 4 in total) show up as 93 - 97% utilized. And another oddity there is that eon34A and eon34B rarely show up on the alert e-mails, while eon34C and eon34E show up waaaayyyyyyy more than anything else … the difference between them is that A and B are on the storage array itself and C and E are on JBOD’s SAS-attached to the storage array (and yes, we’ve actually checked and reseated those connections).
Another reason why I could not respond earlier today is that one of the things which I did this afternoon was to upgrade the RAM on nsd2 and nsd4 from 16 / 24 GB respectively to 64 GB each … and I then upped the pagepool on those two boxes to 40 GB. That has not made a difference. How can I determine how much of the pagepool is actually being used, BTW? A quick Google search didn’t help me.
So we’re trying to figure out if we have storage hardware issues causing GPFS issues or GPFS issues causing storage slowdowns. The fact that I see slowdowns most often on one storage array points in one direction, while the fact that at times I see even worse slowdowns on multiple other arrays points the other way. The fact that some NSD servers show better stats than others in the analysis of the “mmfsadm dump nsd” output tells me … well, I don’t know what it tells me.
I think that’s all for now. If you have read this entire very long e-mail, first off, thank you! If you’ve read it and have ideas for where I should go from here, T-H-A-N-K Y-O-U!
Kevin
On Jul 4, 2018, at 7:34 AM, Aaron Knister <aaron.s.knister@nasa.gov> wrote:
Hi Kevin,
Just going out on a very weird limb here...but you're not by chance seeing this behavior on DDN hardware that runs the SFA OS are you? (e.g. SFA12K, 7K, 14K, etc.) We just started seeing some very weird and high latency on some of our SFA12ks (that have otherwise been solid both in terms of stability and performance) but only on certain volumes and the affected volumes change. It's very bizzarre and we've been working closely with DDN to track down the root cause but we've not yet found a smoking gun. The timing and description of your problem sounded eerily similar to what we're seeing so I'd thought I'd ask.
-Aaron
-- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776
On Tue, 3 Jul 2018, Buterbaugh, Kevin L wrote:
Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu - (615)875-9633
gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2...
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2...> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hi All, Another update on this issue as we have made significant progress today … but first let me address the two responses I received. Alex - this is a good idea and yes, we did this today. We did see some higher latencies on one storage array as compared to the others. 10-20 ms on the “good” storage arrays … 50-60 ms on the one storage array. It took us a while to be able to do this because while the vendor provides a web management interface, that didn’t show this information. But they have an actual app that will … and the Mac and Linux versions don’t work. So we had to go scrounge up this thing called a Windows PC and get the software installed there. ;-) Jonathan - also a good idea and yes, we also did this today. I’ll explain as part of the rest of this update. The main thing that we did today that has turned out to be most revealing is to take a list of all the NSDs in the impacted storage pool … 19 devices spread out over 7 storage arrays … and run read dd tests on all of them (the /dev/dm-XX multipath device). 15 of them showed rates of 33 - 100+ MB/sec and the variation is almost definitely explained by the fact that they’re in production use and getting hit by varying amounts of “real” work. But 4 of them showed rates of 2-10 MB/sec and those 4 all happen to be on storage array eon34. So, to try to rule out everything but the storage array we replaced the FC cables going from the SAN switches to the array, plugging the new cables into different ports on the SAN switches. Then we repeated the dd tests from a different NSD server, which both eliminated the NSD server and its’ FC cables as a potential cause … and saw results virtually identical to the previous test. Therefore, we feel pretty confident that it is the storage array and have let the vendor know all of this. And there’s another piece of quite possibly relevant info … the last week in May one of the controllers in this array crashed and rebooted (it’s a active-active dual controller array) … when that happened the failover occurred … with a major glitch. One of the LUNs essentially disappeared … more accurately, it was there, but had no size! We’ve been using this particular vendor for 15 years now and I have seen more than a couple of their controllers go bad during that time and nothing like this had ever happened before. They were never able to adequately explain what happened there. So what I am personally suspecting has happened is that whatever caused that one LUN to go MIA has caused these issues with the other LUNs on the array. As an aside, we ended up using mmfileid to identify the files that had blocks on the MIA LUN and restored those from tape backup. I want to thank everyone who has offered their suggestions so far. I will update the list again once we have a definitive problem determination. I hope that everyone has a great weekend. In the immortal words of the wisest man who ever lived, “I’m kinda tired … think I’ll go home now.” ;-) Kevin On Jul 6, 2018, at 12:13 PM, Alex Chekholko <alex@calicolabs.com<mailto:alex@calicolabs.com>> wrote: Hi Kevin, This is a bit of a "cargo cult" suggestion but one issue that I have seen is if a disk starts misbehaving a bit but does not fail, it slows down the whole raid group that it is in. And the only way to detect it is to examine the read/write latencies on the individual disks. Does your SAN allow you to do that? That happened to me at least twice in my life and replacing the offending individual disk solved the issue. This was on DDN, so the relevant command were something like 'show pd * counters write_lat' or similar, which showed the latency for the I/Os for each disk. If one disk in the group is an outlier (e.g. 1s write latencies), then the whole raid array (LUN) is just waiting for that one disk. Another possibility for troubleshooting, if you have sufficient free resources: you can just suspend the problematic LUNs in GPFS, as that will remove the write load from them, while still having them service read requests and not affecting users. Regards, Alex On Fri, Jul 6, 2018 at 9:11 AM Buterbaugh, Kevin L <Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu>> wrote: Hi Jim, Thank you for your response. We are taking a two-pronged approach at this point: 1. While I don’t see anything wrong with our storage arrays, I have opened a ticket with the vendor (not IBM) to get them to look at things from that angle. 2. Since the problem moves around from time to time, we are enhancing our monitoring script to see if we can basically go from “mmdiag —iohist” to “clients issuing those I/O requests” to “jobs running on those clients” to see if there is any commonality there. Thanks again - much appreciated! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633 On Jul 6, 2018, at 8:02 AM, Jim Doherty <jjdoherty@yahoo.com<mailto:jjdoherty@yahoo.com>> wrote: You may want to get an mmtrace, but I suspect that the disk IOs are slow. The iohist is showing the time from when the start IO was issued until it was finished. Of course if you have disk IOs taking 10x too long then other IOs are going to queue up behind it. If there are more IOs than there are NSD server threads then there are going to be IOs that are queued and waiting for a thread. Jim On Thursday, July 5, 2018, 9:30:30 PM EDT, Buterbaugh, Kevin L <Kevin.Buterbaugh@Vanderbilt.Edu<mailto:Kevin.Buterbaugh@Vanderbilt.Edu>> wrote: Hi All, First off, my apologies for the delay in responding back to the list … we’ve actually been working our tails off on this one trying to collect as much data as we can on what is a very weird issue. While I’m responding to Aaron’s e-mail, I’m going to try to address the questions raised in all the responses. Steve - this all started last week. You’re correct about our mixed workload. There have been no new workloads that I am aware of. Stephen - no, this is not an ESS. We are running GPFS 4.2.3-8. Aaron - no, this is not on a DDN, either. The hardware setup is a vanilla 8 GB FC SAN. Commodity hardware for the servers and storage. We have two SAN “stacks” and all NSD servers and storage are connected to both stacks. Linux multipathing handles path failures. 10 GbE out to the network. We first were alerted to this problem by one of our monitoring scripts which was designed to alert us to abnormally high I/O times, which, as I mentioned previously, in our environment has usually been caused by cache battery backup failures in the storage array controllers (but _not_ this time). So I’m getting e-mails that in part read: Disk eon34Cnsd on nsd2 has a service time of 4625.083 ms. Disk eon34Ensd on nsd4 has a service time of 3146.715 ms. The “34” tells me what storage array and the “C” or “E” tells me what LUN on that storage array. As I’ve mentioned, those two LUNs are by far and away my most frequent problem children, but here’s another report from today as well: Disk eon28Bnsd on nsd8 has a service time of 1119.385 ms. Disk eon28Ansd on nsd7 has a service time of 1154.002 ms. Disk eon31Ansd on nsd3 has a service time of 1068.987 ms. Disk eon34Cnsd on nsd2 has a service time of 4991.365 ms. NSD server hostnames have been changed, BTW, from their real names to nsd1 - 8. Based on Fred’s excellent advice, we took a closer look at the “mmfsadm dump nsd” output. We wrote a Python script to pull out what we think is the most pertinent information: nsd1 29 SMALL queues, 50 requests pending, 3741 was the highest number of requests pending. 348 threads started, 1 threads active, 348 was the highest number of threads active. 29 LARGE queues, 0 requests pending, 5694 was the highest number of requests pending. 348 threads started, 124 threads active, 348 was the highest number of threads active. nsd2 29 SMALL queues, 0 requests pending, 1246 was the highest number of requests pending. 348 threads started, 13 threads active, 348 was the highest number of threads active. 29 LARGE queues, 470 requests pending, 2404 was the highest number of requests pending. 348 threads started, 340 threads active, 348 was the highest number of threads active. nsd3 29 SMALL queues, 108 requests pending, 1796 was the highest number of requests pending. 348 threads started, 0 threads active, 348 was the highest number of threads active. 29 LARGE queues, 35 requests pending, 3331 was the highest number of requests pending. 348 threads started, 4 threads active, 348 was the highest number of threads active. nsd4 42 SMALL queues, 0 requests pending, 1529 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 637 was the highest number of requests pending. 504 threads started, 211 threads active, 504 was the highest number of threads active. nsd5 42 SMALL queues, 182 requests pending, 2798 was the highest number of requests pending. 504 threads started, 6 threads active, 504 was the highest number of threads active. 42 LARGE queues, 407 requests pending, 4416 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. nsd6 42 SMALL queues, 0 requests pending, 1630 was the highest number of requests pending. 504 threads started, 0 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 148 was the highest number of requests pending. 504 threads started, 9 threads active, 504 was the highest number of threads active. nsd7 42 SMALL queues, 43 requests pending, 2179 was the highest number of requests pending. 504 threads started, 1 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 2551 was the highest number of requests pending. 504 threads started, 13 threads active, 504 was the highest number of threads active. nsd8 42 SMALL queues, 0 requests pending, 1014 was the highest number of requests pending. 504 threads started, 4 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 3371 was the highest number of requests pending. 504 threads started, 89 threads active, 504 was the highest number of threads active. Note that we see more “load” on the LARGE queue side of things and that nsd2 and nsd4 (the primary NSD servers for the 2 LUNs that show up most frequently in our alerts) are the heaviest loaded. One other thing we have noted is that our home grown RRDtool monitoring plots that are based on netstat, iostat, vmstat, etc. also show an oddity. Most of our LUNs show up as 33 - 68% utilized … but all the LUNs on eon34 (there are 4 in total) show up as 93 - 97% utilized. And another oddity there is that eon34A and eon34B rarely show up on the alert e-mails, while eon34C and eon34E show up waaaayyyyyyy more than anything else … the difference between them is that A and B are on the storage array itself and C and E are on JBOD’s SAS-attached to the storage array (and yes, we’ve actually checked and reseated those connections). Another reason why I could not respond earlier today is that one of the things which I did this afternoon was to upgrade the RAM on nsd2 and nsd4 from 16 / 24 GB respectively to 64 GB each … and I then upped the pagepool on those two boxes to 40 GB. That has not made a difference. How can I determine how much of the pagepool is actually being used, BTW? A quick Google search didn’t help me. So we’re trying to figure out if we have storage hardware issues causing GPFS issues or GPFS issues causing storage slowdowns. The fact that I see slowdowns most often on one storage array points in one direction, while the fact that at times I see even worse slowdowns on multiple other arrays points the other way. The fact that some NSD servers show better stats than others in the analysis of the “mmfsadm dump nsd” output tells me … well, I don’t know what it tells me. I think that’s all for now. If you have read this entire very long e-mail, first off, thank you! If you’ve read it and have ideas for where I should go from here, T-H-A-N-K Y-O-U! Kevin
On Jul 4, 2018, at 7:34 AM, Aaron Knister <aaron.s.knister@nasa.gov<mailto:aaron.s.knister@nasa.gov>> wrote:
Hi Kevin,
Just going out on a very weird limb here...but you're not by chance seeing this behavior on DDN hardware that runs the SFA OS are you? (e.g. SFA12K, 7K, 14K, etc.) We just started seeing some very weird and high latency on some of our SFA12ks (that have otherwise been solid both in terms of stability and performance) but only on certain volumes and the affected volumes change. It's very bizzarre and we've been working closely with DDN to track down the root cause but we've not yet found a smoking gun. The timing and description of your problem sounded eerily similar to what we're seeing so I'd thought I'd ask.
-Aaron
-- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776
On Tue, 3 Jul 2018, Buterbaugh, Kevin L wrote:
Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633
gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fspectrumscal...> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2...
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fspectrumscal...> http://gpfsug.org/mailman/listinfo/gpfsug-discuss<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C331014fd459d4151432308d5e340c4fa%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C636664789687056826&sdata=q8sRHafEyyBx7BgcD9scnQVzb3egxSYiCKZbKScCbA0%3D&reserved=0> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fspectrumscal...> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C331014fd459d4151432308d5e340c4fa%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C636664789687076842&sdata=UhjNipQdsNjxIcUB%2Ffu2qEwn7K6tIBmGWEIruxGgI4A%3D&reserved=0<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C331014fd459d4151432308d5e340c4fa%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C636664789687076842&sdata=UhjNipQdsNjxIcUB%2Ffu2qEwn7K6tIBmGWEIruxGgI4A%3D&reserved=0> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fspectrumscal...> http://gpfsug.org/mailman/listinfo/gpfsug-discuss<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7Caa277914313f445d702e08d5e363d347%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C636664940252867293&sdata=miv%2FWmubXqp5TbfZuvhTrsmmXvHDpkRBL4RjRp6tYvY%3D&reserved=0> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7Caa277914313f445d702e08d5e363d347%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C1%7C636664940252877301&sdata=bnjsWHwutbbKstghBrB5Y7%2FIzeX7U19vroW%2B0xA2gX8%3D&reserved=0
On 07/07/18 01:28, Buterbaugh, Kevin L wrote: [SNIP]
So, to try to rule out everything but the storage array we replaced the FC cables going from the SAN switches to the array, plugging the new cables into different ports on the SAN switches. Then we repeated the dd tests from a different NSD server, which both eliminated the NSD server and its’ FC cables as a potential cause … and saw results virtually identical to the previous test. Therefore, we feel pretty confident that it is the storage array and have let the vendor know all of this.
I was not thinking of doing anything quite as drastic as replacing stuff, more look into the logs on the switches in the FC network and examine them for packet errors. The above testing didn't eliminate bad optics in the storage array itself for example, though it does appear to be the storage arrays themselves. Sounds like they could do with a power cycle... JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Hi Clean all counters on the FC switches and see which port have errors . For brocade run : slotstatsclear statsclear porterrshow For cisco run: clear countersall There might be bad gbic/cable/Storage gbic, which can affect the performance, if there is something like that - u can see which ports have errors grow over time. Regards Yaron Daniel 94 Em Ha'Moshavot Rd Storage Architect ? IL Lab Services (Storage) Petach Tiqva, 49527 IBM Global Markets, Systems HW Sales Israel Phone: +972-3-916-5672 Fax: +972-3-916-5672 Mobile: +972-52-8395593 e-mail: yard@il.ibm.com IBM Israel From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> To: gpfsug-discuss@spectrumscale.org Date: 07/07/2018 11:43 AM Subject: Re: [gpfsug-discuss] High I/O wait times Sent by: gpfsug-discuss-bounces@spectrumscale.org On 07/07/18 01:28, Buterbaugh, Kevin L wrote: [SNIP]
So, to try to rule out everything but the storage array we replaced the FC cables going from the SAN switches to the array, plugging the new cables into different ports on the SAN switches. Then we repeated the dd tests from a different NSD server, which both eliminated the NSD server and its? FC cables as a potential cause ? and saw results virtually identical to the previous test. Therefore, we feel pretty confident that it is the storage array and have let the vendor know all of this.
I was not thinking of doing anything quite as drastic as replacing stuff, more look into the logs on the switches in the FC network and examine them for packet errors. The above testing didn't eliminate bad optics in the storage array itself for example, though it does appear to be the storage arrays themselves. Sounds like they could do with a power cycle... JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
On 06/07/18 02:11, Buterbaugh, Kevin L wrote: [SNIP]
The hardware setup is a vanilla 8 GB FC SAN. Commodity hardware for the servers and storage. We have two SAN “stacks” and all NSD servers and storage are connected to both stacks. Linux multipathing handles path failures. 10 GbE out to the network.
You don't mention it, but have you investigated your FC fabric? Dodgy laser, bad photodiode or damaged fibre can cause havoc. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Did you upgrade the memory etc purely as a "maybe this will help" fix? If so, and it didn't help, I'd be tempted to reduce it again as you may introduce another problem into the environment. I wonder if your disks are about to die, although I suspect you'd have already been forewarned of errors from the disk(s) via the storage system. Richard -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Buterbaugh, Kevin L Sent: 06 July 2018 02:11 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] High I/O wait times Hi All, First off, my apologies for the delay in responding back to the list … we’ve actually been working our tails off on this one trying to collect as much data as we can on what is a very weird issue. While I’m responding to Aaron’s e-mail, I’m going to try to address the questions raised in all the responses. Steve - this all started last week. You’re correct about our mixed workload. There have been no new workloads that I am aware of. Stephen - no, this is not an ESS. We are running GPFS 4.2.3-8. Aaron - no, this is not on a DDN, either. The hardware setup is a vanilla 8 GB FC SAN. Commodity hardware for the servers and storage. We have two SAN “stacks” and all NSD servers and storage are connected to both stacks. Linux multipathing handles path failures. 10 GbE out to the network. We first were alerted to this problem by one of our monitoring scripts which was designed to alert us to abnormally high I/O times, which, as I mentioned previously, in our environment has usually been caused by cache battery backup failures in the storage array controllers (but _not_ this time). So I’m getting e-mails that in part read: Disk eon34Cnsd on nsd2 has a service time of 4625.083 ms. Disk eon34Ensd on nsd4 has a service time of 3146.715 ms. The “34” tells me what storage array and the “C” or “E” tells me what LUN on that storage array. As I’ve mentioned, those two LUNs are by far and away my most frequent problem children, but here’s another report from today as well: Disk eon28Bnsd on nsd8 has a service time of 1119.385 ms. Disk eon28Ansd on nsd7 has a service time of 1154.002 ms. Disk eon31Ansd on nsd3 has a service time of 1068.987 ms. Disk eon34Cnsd on nsd2 has a service time of 4991.365 ms. NSD server hostnames have been changed, BTW, from their real names to nsd1 - 8. Based on Fred’s excellent advice, we took a closer look at the “mmfsadm dump nsd” output. We wrote a Python script to pull out what we think is the most pertinent information: nsd1 29 SMALL queues, 50 requests pending, 3741 was the highest number of requests pending. 348 threads started, 1 threads active, 348 was the highest number of threads active. 29 LARGE queues, 0 requests pending, 5694 was the highest number of requests pending. 348 threads started, 124 threads active, 348 was the highest number of threads active. nsd2 29 SMALL queues, 0 requests pending, 1246 was the highest number of requests pending. 348 threads started, 13 threads active, 348 was the highest number of threads active. 29 LARGE queues, 470 requests pending, 2404 was the highest number of requests pending. 348 threads started, 340 threads active, 348 was the highest number of threads active. nsd3 29 SMALL queues, 108 requests pending, 1796 was the highest number of requests pending. 348 threads started, 0 threads active, 348 was the highest number of threads active. 29 LARGE queues, 35 requests pending, 3331 was the highest number of requests pending. 348 threads started, 4 threads active, 348 was the highest number of threads active. nsd4 42 SMALL queues, 0 requests pending, 1529 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 637 was the highest number of requests pending. 504 threads started, 211 threads active, 504 was the highest number of threads active. nsd5 42 SMALL queues, 182 requests pending, 2798 was the highest number of requests pending. 504 threads started, 6 threads active, 504 was the highest number of threads active. 42 LARGE queues, 407 requests pending, 4416 was the highest number of requests pending. 504 threads started, 8 threads active, 504 was the highest number of threads active. nsd6 42 SMALL queues, 0 requests pending, 1630 was the highest number of requests pending. 504 threads started, 0 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 148 was the highest number of requests pending. 504 threads started, 9 threads active, 504 was the highest number of threads active. nsd7 42 SMALL queues, 43 requests pending, 2179 was the highest number of requests pending. 504 threads started, 1 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 2551 was the highest number of requests pending. 504 threads started, 13 threads active, 504 was the highest number of threads active. nsd8 42 SMALL queues, 0 requests pending, 1014 was the highest number of requests pending. 504 threads started, 4 threads active, 504 was the highest number of threads active. 42 LARGE queues, 0 requests pending, 3371 was the highest number of requests pending. 504 threads started, 89 threads active, 504 was the highest number of threads active. Note that we see more “load” on the LARGE queue side of things and that nsd2 and nsd4 (the primary NSD servers for the 2 LUNs that show up most frequently in our alerts) are the heaviest loaded. One other thing we have noted is that our home grown RRDtool monitoring plots that are based on netstat, iostat, vmstat, etc. also show an oddity. Most of our LUNs show up as 33 - 68% utilized … but all the LUNs on eon34 (there are 4 in total) show up as 93 - 97% utilized. And another oddity there is that eon34A and eon34B rarely show up on the alert e-mails, while eon34C and eon34E show up waaaayyyyyyy more than anything else … the difference between them is that A and B are on the storage array itself and C and E are on JBOD’s SAS-attached to the storage array (and yes, we’ve actually checked and reseated those connections). Another reason why I could not respond earlier today is that one of the things which I did this afternoon was to upgrade the RAM on nsd2 and nsd4 from 16 / 24 GB respectively to 64 GB each … and I then upped the pagepool on those two boxes to 40 GB. That has not made a difference. How can I determine how much of the pagepool is actually being used, BTW? A quick Google search didn’t help me. So we’re trying to figure out if we have storage hardware issues causing GPFS issues or GPFS issues causing storage slowdowns. The fact that I see slowdowns most often on one storage array points in one direction, while the fact that at times I see even worse slowdowns on multiple other arrays points the other way. The fact that some NSD servers show better stats than others in the analysis of the “mmfsadm dump nsd” output tells me … well, I don’t know what it tells me. I think that’s all for now. If you have read this entire very long e-mail, first off, thank you! If you’ve read it and have ideas for where I should go from here, T-H-A-N-K Y-O-U! Kevin
On Jul 4, 2018, at 7:34 AM, Aaron Knister <aaron.s.knister@nasa.gov> wrote:
Hi Kevin,
Just going out on a very weird limb here...but you're not by chance seeing this behavior on DDN hardware that runs the SFA OS are you? (e.g. SFA12K, 7K, 14K, etc.) We just started seeing some very weird and high latency on some of our SFA12ks (that have otherwise been solid both in terms of stability and performance) but only on certain volumes and the affected volumes change. It's very bizzarre and we've been working closely with DDN to track down the root cause but we've not yet found a smoking gun. The timing and description of your problem sounded eerily similar to what we're seeing so I'd thought I'd ask.
-Aaron
-- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776
On Tue, 3 Jul 2018, Buterbaugh, Kevin L wrote:
Hi all, We are experiencing some high I/O wait times (5 - 20 seconds!) on some of our NSDs as reported by “mmdiag —iohist" and are struggling to understand why. One of the confusing things is that, while certain NSDs tend to show the problem more than others, the problem is not consistent … i.e. the problem tends to move around from NSD to NSD (and storage array to storage array) whenever we check … which is sometimes just a few minutes apart. In the past when I have seen “mmdiag —iohist” report high wait times like this it has *always* been hardware related. In our environment, the most common cause has been a battery backup unit on a storage array controller going bad and the storage array switching to write straight to disk. But that’s *not* happening this time. Is there anything within GPFS / outside of a hardware issue that I should be looking for?? Thanks! — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu - (615)875-9633
gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug .org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterb augh%40vanderbilt.edu%7C9c1c75becd20479479a608d5e1ab43ec%7Cba5a7f39e3b e4ab3b45067fa80faecad%7C0%7C0%7C636663048058564742&sdata=if1uC53Y7K3D% 2FMuVMskzsYqPx9qftU1ICQfP23c7bI0%3D&reserved=0
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (10)
-
Aaron Knister -
Alex Chekholko -
Buterbaugh, Kevin L -
Frederick Stock -
Jim Doherty -
Jonathan Buzzard -
Sobey, Richard A -
Stephen M Tee -
Steve Crusan -
Yaron Daniel
