Difference between revisions of "BitTorrent (B. Cohen's version)"

From HCL
Jump to: navigation, search
(Created page with "The modified bittorrent tarball is currently under the MPIBlib repository: svn co https://hcl.ucd.ie/repos/CPM/trunk/MPIBlib/tests/bittorrent/bittorrent.tar.gz * Create a file…")
 
Line 11: Line 11:
 
* Start the tracker on the frontend:
 
* Start the tracker on the frontend:
 
   bttrack --port 6969 --dfile dstate
 
   bttrack --port 6969 --dfile dstate
 +
* Book nodes interactively:
 +
  qsub -I -lnodes=...
 
* Start one client that has the full copy:
 
* Start one client that has the full copy:
 
   btdownloadheadless.py --url http://my.server/myfile.torrent --saveas myfile.ext
 
   btdownloadheadless.py --url http://my.server/myfile.torrent --saveas myfile.ext
 +
* On all other nodes, launch the client at the same time:

Revision as of 11:44, 13 December 2011

The modified bittorrent tarball is currently under the MPIBlib repository:

svn co https://hcl.ucd.ie/repos/CPM/trunk/MPIBlib/tests/bittorrent/bittorrent.tar.gz


  • Create a file of any size consisting of "s" characters only.
  • Create torrent file:
 btmakemetafile myfile.ext http://<frontend on G5K>:6969/announce
 bttrack --port 6969 --dfile dstate
  • Book nodes interactively:
 qsub -I -lnodes=...
  • Start one client that has the full copy:
 btdownloadheadless.py --url http://my.server/myfile.torrent --saveas myfile.ext
  • On all other nodes, launch the client at the same time: