Sven/Jim, Thanks for sharing your thoughts! - Currently, we have mFTC set as such: maxFilesToCache 4000 However, since we have a very diverse workload, we'd have to cycle through a vast majority of our apps to find the most fitting mFTC value as this page (https://www.ibm.com/support/knowledgecenter/en/linuxonibm/liaag/wecm/l0wecm0...) suggests. In the meantime, I was able to gather some more info for the lone mmfsd thread (pid: 34096) running at high CPU utilization, and right away I can see the number of nonvoluntary_ctxt_switches is quite high, compared to the other threads in the dump; however, I think I need some help interpreting all of this. Although, I should add that heavy HPC workloads (i.e. vasp, ansys...) are running on these nodes and may be somewhat related to this issue: Scheduling info for kernel thread 34096 mmfsd (34096, #threads: 309) ------------------------------------------------------------------- se.exec_start : 8057632237.613486 se.vruntime : 4914854123.640008 se.sum_exec_runtime : 1042598557.420591 se.nr_migrations : 8337485 nr_switches : 15824325 nr_voluntary_switches : 4110 nr_involuntary_switches : 15820215 se.load.weight : 88761 policy : 0 prio : 100 clock-delta : 24 mm->numa_scan_seq : 88980 numa_migrations, 5216521 numa_faults_memory, 0, 0, 1, 1, 1 numa_faults_memory, 1, 0, 0, 1, 1030 numa_faults_memory, 0, 1, 0, 0, 1 numa_faults_memory, 1, 1, 0, 0, 1 Status for kernel thread 34096 Name: mmfsd Umask: 0022 State: R (running) Tgid: 58921 Ngid: 34395 Pid: 34096 PPid: 3941 TracerPid: 0 Uid: 0 0 0 0 Gid: 0 0 0 0 FDSize: 256 Groups: VmPeak: 15137612 kB VmSize: 15126340 kB VmLck: 4194304 kB VmPin: 8388712 kB VmHWM: 4424228 kB VmRSS: 4420420 kB RssAnon: 4350128 kB RssFile: 50512 kB RssShmem: 19780 kB VmData: 14843812 kB VmStk: 132 kB VmExe: 23672 kB VmLib: 121856 kB VmPTE: 9652 kB VmSwap: 0 kB Threads: 309 SigQ: 5/257225 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000010017a07 SigIgn: 0000000000000000 SigCgt: 0000000180015eef CapInh: 0000000000000000 CapPrm: 0000001fffffffff CapEff: 0000001fffffffff CapBnd: 0000001fffffffff CapAmb: 0000000000000000 Seccomp: 0 Cpus_allowed: ffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-239 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003 Mems_allowed_list: 0-1 voluntary_ctxt_switches: 4110 nonvoluntary_ctxt_switches: 15820215 Thanks, Siji Saula HPC System Administrator Center for Computationally Assisted Science & Technology NORTH DAKOTA STATE UNIVERSITY <https://www.ndsu.edu/alphaindex/buildings/Building::395>Research 2 Building<https://www.ndsu.edu/alphaindex/buildings/Building::396><https://www.ndsu.edu/alphaindex/buildings/Building::395> – Room 220B Dept 4100, PO Box 6050 / Fargo, ND 58108-6050 p:701.231.7749 www.ccast.ndsu.edu<file://composeviewinternalloadurl/www.ccast.ndsu.edu> | www.ndsu.edu<file://composeviewinternalloadurl/www.ndsu.edu> ________________________________ From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> on behalf of gpfsug-discuss-request@spectrumscale.org <gpfsug-discuss-request@spectrumscale.org> Sent: Wednesday, November 21, 2018 9:33:10 AM To: gpfsug-discuss@spectrumscale.org Subject: gpfsug-discuss Digest, Vol 82, Issue 31 Send gpfsug-discuss mailing list submissions to gpfsug-discuss@spectrumscale.org To subscribe or unsubscribe via the World Wide Web, visit http://gpfsug.org/mailman/listinfo/gpfsug-discuss or, via email, send a message with subject or body 'help' to gpfsug-discuss-request@spectrumscale.org You can reach the person managing the list at gpfsug-discuss-owner@spectrumscale.org When replying, please edit your Subject line so it is more specific than "Re: Contents of gpfsug-discuss digest..." Today's Topics: 1. Re: mmfsd recording High CPU usage (Jim Doherty) 2. Re: mmfsd recording High CPU usage (Sven Oehme) ---------------------------------------------------------------------- Message: 1 Date: Wed, 21 Nov 2018 13:01:54 +0000 (UTC) From: Jim Doherty <jjdoherty@yahoo.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] mmfsd recording High CPU usage Message-ID: <1913697205.666954.1542805314669@mail.yahoo.com> Content-Type: text/plain; charset="utf-8" At a guess with no data ....?? if the application is opening more files than can fit in the maxFilesToCache (MFTC) objects? GPFS will expand the MFTC to support the open files,? but it will also scan to try and free any unused objects.??? If you can identify the user job that is causing this? you could monitor a system more closely. Jim On Wednesday, November 21, 2018, 2:10:45 AM EST, Saula, Oluwasijibomi <oluwasijibomi.saula@ndsu.edu> wrote: <!--#yiv4325073500 P {margin-top:0;margin-bottom:0;}--> Hello Scalers, First, let me say Happy Thanksgiving to those of us in the US and to those beyond, well, it's a?still happy day seeing we're still above ground!? Now, what I have to discuss isn't anything extreme so don't skip the turkey for this, but lately, on a few of our compute GPFS client nodes, we've been noticing high CPU usage by the mmfsd process and are wondering why. Here's a sample: [~]# top -b -n 1 | grep mmfs ? ?PID USER? ? ?PR? NI? ?VIRT? ? RES? ?SHR S? %CPU %MEM ? ? TIME+ COMMAND 231898 root ? ? ? 0 -20 14.508g 4.272g? 70168 S?93.8? 6.8?69503:41 mmfsd ?4161 root ? ? ? 0 -20?121876 ? 9412 ? 1492 S ? 0.0?0.0 ? 0:00.22 runmmfs Obviously, this behavior was likely triggered by a not-so-convenient user job that in most cases is long finished by the time we investigate.?Nevertheless, does anyone have an idea why this might be happening? Any thoughts on preventive steps even? This is GPFS v4.2.3 on Redhat 7.4, btw... Thanks,?Siji SaulaHPC System AdministratorCenter for Computationally Assisted Science & TechnologyNORTH DAKOTA STATE UNIVERSITY? Research 2 Building???Room 220BDept 4100, PO Box 6050? / Fargo, ND 58108-6050p:701.231.7749www.ccast.ndsu.edu?|?www.ndsu.edu _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
