-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 So far I've been hammering out the details of the new load balancing algorithm with Matthew and reading through the existing FNP, backoff and bandwidth code. I think I now understand how it works, and my plan was to reimplement the existing mechanism inside the simulator, then implement the new mechanism and make a comparison.
However, reimplementing the existing mechanism accurately is going to be hard, not least because it involves a lot of threads, and I can easily see this eating up a large amount of time. If the new mechanism works as expected then that time will have been wasted, because the old mechanism will be replaced. So now my plan is to simulate the new mechanism first, and only simulate the old mechanism if the new mechanism's behaviour is unexpected and we need a sanity check. The attached file skeletons.txt breaks the work down into 9 phases and shows which parts of the main simulator classes (Node, Peer, NetworkInterface, Network, Packet) will need to be implemented in each phase. Phase 9 is for things that should probably be simulated one of these days but are too deep to investigate properly in the time available, which leaves 8 phases with roughly a week for each. The other attachments are some notes on the simulator and the existing code, graph models with clustering, and how to marshal/unmarshal multi-packet messages. Cheers, Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD4DBQFEnSnLyua14OQlJ3sRAr7IAKDzcAIsyJEEtk+eK2sZRTd7vAclDwCYp2gs LMmqCty89o3L7vyQpBPlUA== =K1hP -----END PGP SIGNATURE----- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: skeletons.txt URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20060624/f56ed4af/attachment.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: simulator.txt URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20060624/f56ed4af/attachment-0001.txt> -------------- next part -------------- A non-text attachment was scrubbed... Name: Event.java Type: text/x-java Size: 1692 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20060624/f56ed4af/attachment.java> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: fnp-notes.txt URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20060624/f56ed4af/attachment-0002.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: graphs.txt URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20060624/f56ed4af/attachment-0003.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: marshalling.txt URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20060624/f56ed4af/attachment-0004.txt>
