On Monday 23 December 2002 19:28, you wrote:
> > On Sun, Dec 22, 2002 at 12:27:12PM -0500, Gianni Johansson wrote:
> > Matthew:
> > I am seeing significantly slower performance since the CPAlgoRoutingTable
> > was changed.
>
> Empirical evidence or even a systematic anecdote would be of interest.
0) My load average is higher by a factor of 1.5 to 2.0
1) Page loads in fproxy are excruciatingly slow
2) Load average increases noticably when downloading freesites with fproxy.
This was not the case with the previous implementation.
>
> > The code was designed so that you could replace one RoutingTable
> > implementation with another. Could you please back out your changes to
> > CPAlgoRoutingTable and move your new implementation to a completely
> > different class? That we can easily test one implementation against the
> > other in an apples-to-apples comparison.
>
> Easily test the routing table? How, exactly?
Easy comparison of the effects of the different routing table implementations
on the node's performance.
Scipients (oskars/ians?) design allows you to plug in any RoutingTable
implementation when the node is constructed. When you move your code into
it's own class, we can switch back and forth between rt implementations at
startup time with a cli parameter value.
If the performance problems go away with the old code, then we know there is
still work to be done on your implementation. If they don't then we know
your rt changes are not responsible for the problem.
See freenet.node.Main.main:
RoutingTable rt = new CPAlgoRoutingTable(routingStore,
Node.rtMaxNodes,
Node.rtMaxRefs,
Core.randSource);
// Comments left over from when I replaced scipients routing table impl -- gj
// RoutingTable rt = new ProbabilityRoutingTable(routingStore,
// Node.rtMaxNodes,
// Node.rtMaxRefs,
//
>
> > Thanks.
> >
> > --gj
----------------------------------------
Content-Type: application/pgp-signature; charset="us-ascii";
name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------
_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl