[freenet-support] CPU usage Re: Is it my system, or had builds 1208-1209 have severe performance issues?

2009-05-11 Thread Matthew Toseland
CPU usage is quite > > > > acceptable for now. I have 3GB of RAM, 512 allocated to Freenet. > > > > > > Node.db4o was 375 MB. No uploads, 1 GB of queued downloads. > > > > > > How often is this file written to? Anyway to queue writes in a RAM > > > buffer and write to disk periodically? > > > > I don't think so, at least not easily i.e. not without a custom > > IoAdapter able to buffer many commits separately. What I don't > > understand is what all these writes are *for*. If it's just > > downloads, most of the time it should just be selecting a > > SplitFileFetcherSubSegment, fetching all the blocks in it (without > > accessing the database), updating them all at once when they've > > failed, and then selecting a new segment - roughly every 2 minutes. > > > > However, I guess if most of the fetches succeed, that produces a lot > > more traffic. We have to write the block to disk when we fetch it, > > look up who owns it (because many fetchers can have a claim on one > > block), probably copy it, tell the SFFS and SFFSS about it, write the > > update to the SFFS, and then when we've got all the blocks for a > > segment do a load more work. > > My 34MiB node.db40 is written to every couple of seconds. Every-second > writes are common. Sometimes the filesize increases -- often times it > stays the same -- although every time it changes (according to md5sum). > Maybe for larger .db40's this is more problematic :S. What are all > these writes for!? :). That's what I want to know! Do the logging changes I mentioned, find out. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/support/attachments/20090511/f8f12c06/attachment.pgp>

[freenet-support] CPU usage Re: Is it my system, or had builds 1208-1209 have severe performance issues?

2009-05-11 Thread Juiceman
On Mon, May 11, 2009 at 4:27 PM, Matthew Toseland wrote: > On Thursday 07 May 2009 01:06:24 Dennis Nezic wrote: >> On Thu, 7 May 2009 00:23:37 +0100, Matthew Toseland wrote: >> > On Wednesday 06 May 2009 23:52:22 Juiceman wrote: >> > > >> > > On Wed, May 6, 2009 at 12:50 PM, Juiceman ?wrote: >> >

Re: [freenet-support] CPU usage Re: Is it my system, or had builds 1208-1209 have severe performance issues?

2009-05-11 Thread Matthew Toseland
On Thursday 07 May 2009 01:06:24 Dennis Nezic wrote: On Thu, 7 May 2009 00:23:37 +0100, Matthew Toseland wrote: On Wednesday 06 May 2009 23:52:22 Juiceman wrote: On Wed, May 6, 2009 at 12:50 PM, Juiceman wrote: On Wed, May 6, 2009 at 11:37 AM, Matthew Toseland wrote: On

Re: [freenet-support] CPU usage Re: Is it my system, or had builds 1208-1209 have severe performance issues?

2009-05-11 Thread Juiceman
On Mon, May 11, 2009 at 4:27 PM, Matthew Toseland t...@amphibian.dyndns.org wrote: On Thursday 07 May 2009 01:06:24 Dennis Nezic wrote: On Thu, 7 May 2009 00:23:37 +0100, Matthew Toseland wrote: On Wednesday 06 May 2009 23:52:22 Juiceman wrote: On Wed, May 6, 2009 at 12:50 PM, Juiceman  

Re: [freenet-support] Is it my system, or had builds 1208-1209 have severe performance issues?

2009-05-11 Thread Victor Denisov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Victor - might this be your issue as well? ROFL. So that just leaves victor... Sorry, was away on a long weekend :-(. I'll fire up the node first thing tomorrow with requested logging and will report back. Regards, Victor Denisov. -BEGIN PGP