Hi Andrea, do you (or anybody else) mind checking this into trunk? It's easier to play with it from there and it looks already quite usable.
Regards, Erich On Monday 09 January 2006 10:08, Andrea Righi wrote: > 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel