Duncan,<br><br>I tried a short piece of C code that calls mlock() with a user-adjustable size, then sleeps.<br>Then I queried it using cat /proc/<pid>/status<br><br>In this case, it does appear that VmLck is a say a subset of VmRSS (and VmSize for that matter)<br>
If I increase the value in mlock() by say 128MB then both VmLck and VmRSS both increase by this amount<br><br>Can you post an example where vmrss exceeds vmlck ?<br><br>Daniel<br><br><br><br><div class="gmail_quote">On 11 July 2011 14:06, Duncan Harris <span dir="ltr"><<a href="mailto:harris.duncan@gmail.com">harris.duncan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi.<br>
I have a question related to vmrss and vmlck (not technically a padb<br>
question I realise).<br>
<br>
We've modified our padb --proc-summary command to also print out the<br>
vmlck value. We did this as we were having a situation where one of<br>
our jobs was hitting the vmlck hardlimit on our machine and hanging as<br>
a result.<br>
<br>
However, we have a different code hanging now. Running padb shows that<br>
for one of the nodes (which has 12 cores) none of the vmlck values are<br>
hitting the limit, however if we sum the vmlck and vmrss values for<br>
the whole node, we do exceed the total memory available on the node<br>
(49 GB vs 48GB). Running a stack trace shows that 3 cores are stuck in<br>
an MPI_Wait_Some and 1 in a later MPI_Waitall. From the code all of<br>
the sends have been sent, so we've lost a message somewhere.<br>
<br>
My question is, how do the vmlck and vmrss values relate to each<br>
other? Should we be adding them together, or is the vmlck included in<br>
the vmrss value? We're assuming that they are separate as we have some<br>
cores where vmlck > vmrss.<br>
<br>
Thanks,<br>
Duncan<br>
<br>
_______________________________________________<br>
padb-users mailing list<br>
<a href="mailto:padb-users@pittman.org.uk">padb-users@pittman.org.uk</a><br>
<a href="http://pittman.org.uk/mailman/listinfo/padb-users_pittman.org.uk" target="_blank">http://pittman.org.uk/mailman/listinfo/padb-users_pittman.org.uk</a><br>
</blockquote></div><br>