The db4o branch (moving the client layer into a database for instant request resuming and memory usage not dependant on queue size) appears to be working, at least for requests. Non-persistent requests (fproxy etc) work, and so do persistent downloads. On my node I currently have 12 ISOs downloading (600-700MB each except for one at 274MB), comfortably fitting within a 128MB memory limit, admittedly with significant CPU from garbage collection (this should be less of a problem for people who don't need heavy logging however). Progress is being made, smaller files have been successfully downloaded, etc etc. Inserts are also reported to work, most of the time, for example an ISO was inserted recently, but I will need to spend some further effort on them before I am completely happy with them.
More work is needed on freesite inserts, and there are a number of minor issues that need to be dealt with, including deleting objects in the database when a request is deleted or finished with, deleting unused persistent temp files when something broke, and including the db4o jars in the main freenet-ext.jar (which may require upgrading to db4o 7.2, the current code uses 6.4). Please test the code. You can find instructions on ph00's testing freesite: http://127.0.0.1:8888/USK at hiBur-SUasOR-m7qzR2HmTDLGmVQTuZKzS7va2zUyhQ,lOXQvKathjQzrbAt4Wy~puFsVvmcUDzo5z2Y59isf2c,AQACAAE/db4o-testing-howto/5 Please report your impressions of performance, any bugs you find, any wierd error messages, any data corruption etc etc. In the near future, I will take a short while to implement some regular testing tools for Freenet (on trunk, not on the db4o branch), so we have a better idea of how performance evolves over time. After that, I will work some more on the db4o branch and hopefully it will be of merge quality in the not too distant future (estimate 2 weeks). -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080730/dcc05df5/attachment.pgp>