Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
D
darshan
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • darshan
  • darshan
  • Issues
  • #241

Closed
Open
Opened Apr 02, 2018 by Philip Carns@carns
  • Report abuse
  • New issue
Report abuse New issue

incorrect POSIX_SEQ_WRITES or POSIX_SEQ_READS on some historical darshan logs

Reported by Teng Wang.

Some Darshan logs on Cori report 0 POSIX_READS and POSIX_WRITES, but non-zero POSIX_SEQ_READS or POSIX_SEQ_WRITES. This shouldn't be possible, as the latter is a subset of the former.

After investigating some log examples, this looks to be a problem in darshan-logutils when upconverting from logs generated with Darshan 3.0.1 to produce 3.1.6-compatible output.

Those older logs have counters for a few stdio operations (POSIX_F{OPENS|READS|WRITES|SEEKS}) integrated into the POSIX counters. These can't be displayed correctly in newer Darshan utilities because STDIO has a dedicated module now with its own format. The current upconvert logic just discards those 4 counters, but it does not change other auxiliary counters, like the SEQ_READS and SEQ_WRITES, leading to an inconsistency for the file record.

It isn't practical from a software maintenance point of view to fully convert these records to new stdio module records.

One option is to convert those counters to POSIX_{OPENS|READS|WRITES|SEEKS}) which would make all counters consistent with each other, but that is misleading because there will be no indication that stdio was used on that record.

Another option is to discard file records that meet these conditions and print a warning that an older version of the Darshan parser would have to be used to retrieve that information.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: darshan/darshan#241