Ian;
Have you had a chance to give my suggestion on load balancing any
consideration; it was:
To change backoffRouting in package freenet.node.rt; to reduce the contact
probability based on attenuating query rejects; eg:
void backoffRouting() {
contactProbability =
(float)((contactProbability-1.0/5.0)/(4.0/5.0)*(199.0/200.0));
if (contactProbability < .1) {
lastAttenuationMs = System.currentTimeMillis();
}
}
I think my original post had 19.0/20.0 instead of 199.0/200.0 (and did not
include the extra if); but I found my contact probabilities were going down
too much for the load I was handling. My node is presently handling ~6000
requests/hr with this code; and sucessfully retrieving data for 10% of
them. - Yes it is likely that some requests get returned with no route; but
I would assert that this is what we want a node to do rather than knowingly
overload the nodes that it uses for queries.
I would agree with anyone who suggests that acceptance probability should be
different than contact probability; but I don't have the time at the moment;
and I believe that is something that can be done in the future; once we
determine if the code is worthwhile or not -- and the only real way I can
think of determining that is to see what happens when it gets put out into
general distribution.
Trevor
----- Original Message -----
From: "Ian Clarke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 2:24 PM
Subject: Re: [freenet-dev] Minimum Total CP
On Wed, Jun 05, 2002 at 04:32:20PM -0400, Andrew Rodland wrote:
> arguments. Is anyone willing to try this? I'm still to java-incompetent
> to code it, but if anyone wants to write it, I'd love to look at it. >:)
You should try to code it, if I am on #freenet I am happy to help.
Look at this as an opportunity to learn a-little Java - it isn't hard.
My attitude is that load-balancing can hardly get worse, I am happy to
attempt anything that nobody can find a serious flaw with.
Ian.
--
Ian Clarke [EMAIL PROTECTED]
Founder & Coordinator, The Freenet Project http://freenetproject.org/
Chief Technology Officer, Uprizer Inc. http://www.uprizer.com/
Personal Homepage http://locut.us/
_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl