underlayer

underlayer is a symmetric decentralized parallel computing and load balancing framework.
Download

underlayer Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Peter Alvaro
  • Publisher web site:

underlayer Tags


underlayer Description

underlayer is a symmetric decentralized parallel computing and load balancing framework. underlayer is a symmetric decentralized parallel computing and load balancing framework, providing c, perl and java APIs for distributed job management.INSTALLATION AND RUNNING:>make linux-shared>make installto get the perl API going:>cd Underlayer/>perl Makefile.PL>make>make installto get the Java API going:>cd javaedit make_java.sh to point to your jdk.>sh make_java.shto start the underlayer daemon:>underlayerto query the underlayer:>ul_request to register an already running service at port : >ul_register to start a new abstract listening service:>abstract c api:see the underlayer man pagec parallel programming:see example1, pm.cperl api:see the Underlayer man pageperl parallel programming:see example2, master_example.plxperl parallel programming in detail:create a working directory:>mkdir work>cd workstart a listener for service_id 19 at port 1919.ideally, do this on as many servers running an abstract machineat service_id 19 as possible.>abstract 1919change to the examples directory>cd ../examplesgiven a large phrase list and a small phrase list, at 50 threads...>perl master_example.plx largelist.txt smalllist.txt 50 > results.txtnote that if you do this on a single server, it will never get to anywhere near 50 threads. it blocks as soon as the processor is maxxed out. you can check the load state by running>ul_requestif you built the java library and program, you can use the GUI monitor:>java ulDisplayadd 20 servers and try again! you'll be pleased with the speed. you can set the serial speed by running only the slave:>perl slave_example.plx largelist smalllist.txt > results_serial.txt


underlayer Related Software