GithubHelp home page GithubHelp logo

jbd / pwalk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wtsi-ssg/pwalk

1.0 1.0 0.0 38 KB

Parallel filesystem walking utilities and library.

License: GNU General Public License v2.0

Python 100.00%

pwalk's Introduction

About:
------

parallelwalk.py: a parallel directory traversal library. The library implements
the algorithm described by LaFon, Misra and Bringhurst.

http://conferences.computer.org/sc/2012/papers/1000a015.pdf

The following tools are build on top of parallelwalk.py:

pdu: a parallel du implementation.

pmd5: a parallel directory comparision tool.

Latest Version:
---------------

The latest version of pdu can be downloaded from 

https://github.com/wtsi-ssg/pwalk


Getting Started
---------------

pdu will summarise the disk usage and number of files for a directory. Its 
output is similar to du -s. You can use the -h flag to print out disk usage is human readable 
units.

pdu should be invoked via mpirun (although it will run with a single process).

mpirun -n10 pdu -h /my/big/directory

The optimal amount of parallelism will depend on your filesystem implementation.
Lustre (as of version 2.5) has a per-client metadata limit and so you will see increased 
performance if you tell MPI to spread processes across a number of different clients. 

2 processes per host and 10 hosts is a good starting point.


Extending parallelwalk.py
-------------------------

parallelwalk provides a basic class that will walk the filesystem, but carry out no actions on
files that it encounters. It should be easy to extend the class for use in your own programs. 
See the pydoc documentation in the library for the details.

pwalk's People

Contributors

guycoates avatar johnbent avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.