[Darshan-commits] [Darshan] branch, master, updated. 752e747b4d4c881f164205481a81486779415d1d

Service Account git at mcs.anl.gov
Wed Oct 29 13:18:45 CDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".

The branch, master has been updated
       via  752e747b4d4c881f164205481a81486779415d1d (commit)
      from  a783978ea560063ecd97240641d101c260626ffb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 752e747b4d4c881f164205481a81486779415d1d
Author: Phil Carns <carns at mcs.anl.gov>
Date:   Wed Oct 29 14:17:54 2014 -0400

    clarify and improve darshan-parser --perf
    
    fixes #144

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                     |    5 +++++
 darshan-util/darshan-parser.c |    6 +++++-
 2 files changed, 10 insertions(+), 1 deletions(-)


Diff of changes:
diff --git a/ChangeLog b/ChangeLog
index 8b77073..1b5f0f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,11 @@ darshan-2.3.1-pre1
   2.x environment to fix link-time corner cases (Yushu Yao)
 * improve y axis labels on time interval graphs in darshan-job-summary.pl
   (reported by Tomo Peterka)
+* misc. improvements to darshan-parser --perf output (reported by Shane
+  Snyder)
+  - indicate which rank was slowest in unique file results
+  - label I/O vs. meta time more clearly
+  - include unique file meta time in agg_perf_by_slowest calculation
 
 darshan-2.3.0
 =============
diff --git a/darshan-util/darshan-parser.c b/darshan-util/darshan-parser.c
index 264ddd0..02171a5 100644
--- a/darshan-util/darshan-parser.c
+++ b/darshan-util/darshan-parser.c
@@ -65,6 +65,7 @@ typedef struct perf_data_s
     int64_t total_bytes;
     double slowest_rank_time;
     double slowest_rank_meta_time;
+    int slowest_rank_rank;
     double shared_time_by_cumul;
     double shared_time_by_open;
     double shared_time_by_open_lastio;
@@ -475,8 +476,9 @@ int main(int argc, char **argv)
         printf("#\n");
         printf("# I/O timing for unique files (seconds):\n");
         printf("# ...........................\n");
-        printf("# unique files: slowest_rank_time: %lf\n", pdata.slowest_rank_time);
+        printf("# unique files: slowest_rank_io_time: %lf\n", pdata.slowest_rank_time);
         printf("# unique files: slowest_rank_meta_time: %lf\n", pdata.slowest_rank_meta_time);
+        printf("# unique files: slowest rank: %d\n", pdata.slowest_rank_rank);
         printf("#\n");
         printf("# I/O timing for shared files (seconds):\n");
         printf("# (multiple estimates shown; time_by_slowest is generally the most accurate)\n");
@@ -1062,6 +1064,7 @@ void calc_perf(struct darshan_job *djob,
         {
             pdata->slowest_rank_time = pdata->rank_cumul_io_time[i];
             pdata->slowest_rank_meta_time = pdata->rank_cumul_md_time[i];
+            pdata->slowest_rank_rank = i;
         }
     }
 
@@ -1083,6 +1086,7 @@ void calc_perf(struct darshan_job *djob,
     if (pdata->slowest_rank_time + pdata->shared_time_by_slowest)
     pdata->agg_perf_by_slowest = ((double)pdata->total_bytes / 1048576.0) /
                                      (pdata->slowest_rank_time +
+                                      pdata->slowest_rank_meta_time +
                                       pdata->shared_time_by_slowest);
 
     return;


hooks/post-receive
--



More information about the Darshan-commits mailing list