toad <toad at ...> writes:
> > On Sat, Oct 07, 2006 at 05:52:27PM -0400, Ed Tomlinson wrote: > > On Friday 06 October 2006 19:01, toad wrote: > > > 1. THE STORE IS *LESS* EFFECTIVE THAN THE CACHE! > > > > What is the expected ratio of store to cache hits? > > > > Given that nodes seem to cluster (if the old testnet graphs still apply) > > then this clustering should result in the cache having lots of entries > > that are close to the node location. This implies that the cache > > will ofter have the key. > > Dumps of my store and cache show that the store is far more specialized > than the cache. Most DHTs use two-level caches like this, and it was > reasonable to expect that it would work ... yet far more data is served > from the cache than the store... > > > > If might be interesting to get the average key location and standard > > deviation of all the keys in the cache and store. If the my thoughs > > are correct the store should have a average keyvalue near the nodes > > location with a smaller deviation. > > It's a bit specialized but not THAT specialized. The store is very > specialized. When I get back from America on Tuesday I will write a > Datastore/datacache histogram generator to put on the stats page... I think we didnt saw any Long Term Statistics here. My Node runs 2 days for this statistic: Its my big node but hasnt excessive connections about 10 normally... * networkSizeEstimateSession: 589 nodes * Cached keys: 153,444 (4.68 GiB) * Stored keys: 6,722 (210 MiB) * Overall size: 160,166 / 306,888 (4.88 GiB / 9.36 GiB) (52%) * Cache hits: 40,180 / 304,762 (13%) <<< intersting... * Store hits: 713 / 264,752 (0%) * Avg. access rate: 3/s * locChangeSession: -5.147543E-1 * locChangePerSwap: -5.783756E-3 * locChangePerMinute: -1.821602E-4 * swapsPerMinute: 3.149513E-2 * noSwapsPerMinute: 3.109171E0 * swapsPerNoSwaps: 1.012975E-2 * swaps: 89 * noSwaps: 8786 * startedSwaps: 28243 * swapsRejectedAlreadyLocked: 44083 * swapsRejectedRateLimit: 42