[tahoe-dev] [tahoe-lafs] #329: dirnodes could cache encrypted/serialized entries for speed
tahoe-lafs
trac at allmydata.org
Sun Jul 5 15:33:37 PDT 2009
#329: dirnodes could cache encrypted/serialized entries for speed
---------------------------+------------------------------------------------
Reporter: warner | Owner: kevan
Type: enhancement | Status: new
Priority: minor | Milestone: undecided
Component: code-dirnodes | Version: 0.8.0
Keywords: dirnode | Launchpad_bug:
---------------------------+------------------------------------------------
Comment(by kevan):
I've run the benchmarks, and am attaching the results.
To get the {{{unmodifed_results}}} file, I simply ran
{{{bench_dirnode.py}}} against an unmodified checkout from trunk.
To get the {{{modified_results}}} file, I needed to change a call to
{{{dict}}} in {{{bench_dirnode.py}}} to refer to {{{dirnode.CachingDict}}}
(otherwise {{{_pack_contents}}} raises an {{{AssertionError}}}). I'm
attaching a patch that duplicates that change. I then applied
{{{dict.txt}}}, {{{optimizations.txt}}}, and {{{tests.txt}}} to an
otherwise unmodified source tree, and ran {{{bench_dirnode.py}}} against
it.
The results seem to favor the optimized implementation.
I'm also updating dict.txt again -- hopefully for the last time -- to fix
another *args related issue that I found.
--
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/329#comment:20>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid
More information about the tahoe-dev
mailing list