Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

DispeRsed-compUting-ProfilEr (DRUPE)


DRUPE is a tool to collect information about computational resources as well as network links between compute nodes in a dispersed computing system to a central node. DRUPE consists of a network profiler and a resource profiler.


  1. Description: automatically scheduling and logs communication information of all links betweet nodes in the network, which gives the quadratic regression parameters of each link representing the corresponding communication cost. The quadratic function represents how the file transfer time depends on the file size (based on our empirical finding that a quadratic function is a good fit.)

  2. Input

  • File central.txt stores credential information of the central node
  • File nodes.txt stores credential information of the nodes information
node1 username@IP1 LOC1
node2 username@IP2 LOC2
node3 username@IP3 LOC3
  • File link_list.txt stores the the links between nodes required to log the communication
node1 node2
node1 node3
node2 node1
node2 node3
node3 node1
node3 node2
  • File is used to generate file link_list.txt (all combinations of links) from the node list in file nodes.txt, or users can customize the link_list.txt on their own.
  1. Output: all quadratic regression parameters are stored in the local MongoDB server on the central node.

  2. Userguide (Non-dockerized version):

    • At the central network profiler:

      • run the command ./central init to install required libraries
      • inside the folder central input add information about the nodes and the links.
      • python3 central to generate the scheduling files for each node, prepare the central database and collection, copy the scheduling information and network scripts for each node in the node list and schedule updating the central database every 10th minute.
    • At the droplets:

      • The central network profiler copies all required scheduling files and network scripts to the folder online profiler in each droplet.
      • run the command ./droplet init to install required libraries
      • run the command python3 automate to generate files with different sizes to prepare for the logging measurements, generate the droplet database, schedule logging measurement every minute and logging regression every 10th minute. (These parameters could be changed as needed.)
  3. Userguide (Dockerized version)

    • At the docker_online_profiler folder:

      • Modify input in folder central_input (nodes.txt, link_list.txt) of central_network_profiler and upload_docker_network accordingly (IP, PASSWORD, REG, link_list)
      • Run: ./upload_docker_network to upload codes to all the nodes and the central
      • Example run: Scheduler IP0, and other droplets IP1, IP2, IP3
    • At the droplets, inside the droplet_network_profiler:

      • Build the docker: docker build -t droplet_network_profiler .
      • Run the containers:

      docker run --rm --name droplet_network_profiler -t -i -e DOCKER_HOST=IP1 -p 5100:22 -P droplet_network_profiler

      docker run --rm --name droplet_network_profiler -t -i -e DOCKER_HOST=IP2 -p 5100:22 -P droplet_network_profiler

      docker run --rm --name droplet_network_profiler -t -i -e DOCKER_HOST=IP3 -p 5100:22 -P droplet_network_profiler

    • At the central network profiler (IP0):

      • Build the docker: docker build -t central_network_profiler .
      • Run the container:

      docker run --rm --name central_network_profiler -i -t -e DOCKER_HOST=IP0 -p 5100:22 -P central_network_profiler


  1. Introduction: This Resource Profiler will get system utilization from node 1, node 2 and node 3. Then these information will be sent to home node and stored into mongoDB.

The information includes: IP address of each node, cpu utilization of each node, memory utilization of each node, and the latest update time.

  1. User Guide: For details, please go inside each folder to check README file.


This material is based upon work supported by Defense Advanced Research Projects Agency (DARPA) under Contract No. HR001117C0053. Any views, opinions, and/or findings expressed are those of the author(s) and should not be interpreted as representing the official views or policies of the Department of Defense or the U.S. Government.


Network profiler and resource profiler for dispersed computing -- alpha release




No releases published


No packages published

Contributors 4

You can’t perform that action at this time.