Re: P(success) was Re: [freenet-dev] [PATCH] Distribution data for successful requests

2002-06-22 Thread Matthew Toseland
Attached is the latest version of the Big Histogram Patch (tm). It implements a new table, 'Probability of success of an incoming request', as well as histograms of successful incoming requests and of the sizes of the files in the datastore. It forces a datastore reset at least on my Kaffe,

Re: P(success) was Re: [freenet-dev] [PATCH] Distribution data for successful requests

2002-06-22 Thread Matthew Toseland
Attached patch implements the above, phase 1 of GJ's overload fix plan, and a crude approximation to phase 2 (it just accepts the requests in the most successful bucket, if it's partly overloaded). In need of optimization, and rather coarse (only 16 buckets). Not yet thoroughly tested, due