Title: Re: [Sisuite-devel] Re: Bit-Torrent transport
Hey Andrea:
 
What speed did you get transferring between one peer to another peer?  As I have mentioned to you with my tests, I was only able to get 1.5MBytes/sec max (with --max_upload_rate 0 on a 100MBit network).
 
With LibBT's btget, there is the option (-q 1) to quit when all peers have finished, this seems to be a good functionality to use.
 
Did your bittorrent frozen binaries require the Python libraries to run?
 
Cheers,
 
Bernard


From: Andrea Righi [mailto:[EMAIL PROTECTED]
Sent: Mon 09/01/2006 01:08
To: [EMAIL PROTECTED]
Cc: Bernard Li; Brian Elliott Finley; [EMAIL PROTECTED]; [EMAIL PROTECTED]; SIS Devel
Subject: Re: [Sisuite-devel] Re: Bit-Torrent transport

Hi all,

other work for the bittorrent transport...

In this patch I've added to BOEL binaries the standard bittorrent python
client "freezed" as a normal ELF binary, as suggested by Bernard in a
previous chat with him.

This is a very important issue, because with the python interpreter the
BOEL binaries took a lot of memory in the clients and a lot of time to
be deployed... This is because I've always prefered the Bernard approach
using libBT... :), but now also with this approach the size of the
binaries is strongly reduced (from 20-30MB to 6.7MB!).

To create the bittorrent binaries from the python scripts, I've used
cx_Freeze (http://starship.python.net/crew/atuining/cx_Freeze/).

Moreover I've implemented a new heuristic for a client to decide when to
stop seeding and go forward with the installation. In particular parsing
the bittorrent-console output is possible to get the upload rate (= how
many KB/s are pushed to the other peers). Looking periodically at this
value is possible to decide that under a certain minimum threshold the
client/seeder is no more useful, and it can proceed to the final steps
of the installation (untar the image, run systemconfigurator, etc.).

I've done some test and it seems to work very nice! Unfortunately at the
moment I've only 1 real client for the tests... so I had to do some
tricks to simulate more clients on another installed machine running
more bittorrent-console on it... :-( this is very bad, anyway I suppose
it should be a simple but quite reliable approximation... so who as 100
clients to do some better tests? :-))

Comments are welcome...

Best regards,
-Andrea

Reply via email to