Skip to main content

Drishti I/O: I/O Insights for All

Drishti I/O is a command-line tool to guide end-users in optimizing I/O in their applications by detecting typical I/O performance pitfalls and providing a set of recommendations. You can get Drishti directly from pip:

pip install drishti-io

To install Drishti from scratch, make sure you have Python 3 and first install the dependencies:

pip install -r requirements.txt
pip install .

You can then run Drishti with the following options:

usage: drishti.py [-h] [--issues] [--html] [--svg] [--verbose] [--code] darshan

Drishti:

positional arguments:
  darshan     Input .darshan file

optional arguments:
  -h, --help  show this help message and exit
  --issues    Only displays the detected issues and hides the recommendations
  --html      Export the report as an HTML page
  --svg       Export the report as an SVG image
  --verbose   Display extended details for the recommendations
  --code      Display insights identification code

You can also use our Docker image:

docker run --rm --mount type=bind,source="$(PWD)",target=/drishti drishti sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan

You can also use a Docker image already pre-configured with all dependencies to run Drishti:

docker pull hpcio/drishti

Since we need to provide a Darshan log file as input, make sure you are mounting your current directory in the container and removing the container after using it. You can pass the same arguments described above, after the container name (drishti).

docker run --rm --mount \
    type=bind,source="$(PWD)",target="/drishti" \
    drishti <FILE>.darshan

By default Drishti will generate an overview report in the console with recommendations:

Drishti

You can also only list the issues detected by Drishti with --issues:

Drishti

You can also enable the verbose mode with --verbose to visualize solution snippets:

Drishti


Drishti Copyright (c) 2022, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.

If you have questions about your rights to use or distribute this software, please contact Berkeley Lab's Intellectual Property Office at IPO@lbl.gov.

NOTICE. This Software was developed under funding from the U.S. Department of Energy and the U.S. Government consequently retains certain rights. As such, the U.S. Government has been granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the Software to reproduce, distribute copies to the public, prepare derivative works, and perform publicly and display publicly, and to permit others to do so.

Metadata

Release files for drishti-io 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drishti-io 0.8
File Size Uploaded
drishti_io-0.8.tar.gz 30.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drishti-io 0.8
File Interpreter ABI Platform
drishti_io-0.8-py3-none-any.whl Python 3 none any Details

Total release size: 65.3 kB

Release files / drishti_io-0.8.tar.gz

Download URL drishti_io-0.8.tar.gz
Size 30.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c1ffc2a5bdc001890a34ea57734df51544cd96042ba9f6ae89b0e889f6dac5e7
BLAKE2b-256 checksum
How to use checksums
691f3e4ca73191e1c21f916c8f2fec04089031b8be2774696bde3de947ec0a5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / drishti_io-0.8-py3-none-any.whl

Download URL drishti_io-0.8-py3-none-any.whl
Size 35.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00b49407124cd4f21d393cb6d5f6b64e1321de9e6c441c4de28618c89d8b3e5d
BLAKE2b-256 checksum
How to use checksums
a7c8e0c4dd0fa042440e20224e16cdc6a3ef9c99c3214119109252393982684f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.8 This release

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page