[Users] Fwd: [Developers] SystemStatistics thorn

Erik Schnetter schnetter at cct.lsu.edu
Thu Sep 2 18:45:18 CDT 2010


I suggest to add this thorn to our Einstein Toolkit manifest. This
will advertise it, and ensure it continues to work on all
architectures.

-erik

---------- Forwarded message ----------
From: Ian Hinder <ian.hinder at aei.mpg.de>
Date: Mon, Aug 23, 2010 at 4:18 PM
Subject: [Developers] SystemStatistics thorn
To: List for discussions among Cactus developers <developers at cactuscode.org>


Hi all,
I have a thorn called SystemStatistics which collects various
memory-related quantities and puts them in Cactus grid arrays.  We
have been using it for a while at AEI with no problems.  The most
useful thing it can tell you is the "resident set size" (i.e. the
memory usage) of each process.  Cactus can then compute the minimum
and maximum across processes and put it in the INFO output and store
it on the disk as well.  This allows you to see at a glance how much
memory is being used just by looking at stdout, taking all processes
into account.  You also get an idea of the memory imbalance across
processes.  It also records the swap usage, so you can see at a glance
whether a run was using a lot of swap before it died or went slow.
Erik has proposed that this might be included in CactusUtils, so I
have committed it to AEIThorns and made it public for people to make
comments and suggestions.
Try it out using:
svn co http://svn.aei.mpg.de/numrel/AEIThorns/SystemStatistics/trunk
SystemStatistics

-- 
Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/


More information about the Users mailing list