Saw this posted on a frost board, thought it might be
a good idea to forward it here:

Take a look at the code for probabilistic caching:

public boolean shouldCache(RandomSource r, float
cacheProbPerHop) {
    return r.nextFloat() <
cacheProbability(cacheProbPerHop);
}

public float cacheProbability(float cacheProbPerHop) {
    return (float)Math.pow((float)cacheProbPerHop,
hopsSinceReset);
}

Shouldn't the cache probability go up instead of down
as hopsSinceReset increases, so that the data is
cached more at the specialized end?

If the logic is backwards, that would explain
Freenet's recent performance.


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

Reply via email to