On Thursday 29 May 2008 01:18, Daniel Cheng wrote:
> On Thu, May 29, 2008 at 3:19 AM, Matthew Toseland
> <toad at amphibian.dyndns.org> wrote:
> > On Monday 26 May 2008 10:35, j16sdiz at freenetproject.org wrote:
> >> Author: j16sdiz
> >> Date: 2008-05-26 09:35:02 +0000 (Mon, 26 May 2008)
> >> New Revision: 20098
> >>
> >> Modified:
> >>
> >
branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java
> >> Log:
> >> Don't run more then one cleaner at a time (this is a temporary
workaround)
> >
> > Regardless of the number of stores? Or is something else going on here?
>
> I have finally migrated all 6 cache/store on my main node to the new
> store. When I resize them, the node do too many disk i/o, the resize
> take more then 10 hours with no signs of finishing. a put() take
> around 1 second. (bug#2395)
Because of the amount of seeking caused by moving all the stores at once?
>
> This patch is a temporary workaround to make the resize actually finish.
>
> >> Modified:
> >
branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java
> >> ===================================================================
> >> ---
> >
branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java
> > 2008-05-26 09:34:39 UTC (rev 20097)
> >> +++
> >
branches/saltedhashstore/freenet/src/freenet/store/SaltedHashFreenetStore.java
> > 2008-05-26 09:35:02 UTC (rev 20098)
> >> @@ -773,7 +773,7 @@
> >>
> >> // ------------- Store resizing
> >> private long prevStoreSize = 0;
> >> - private Object cleanerLock = new Object();
> >> + private static Object cleanerLock = new Object();
> >> private Cleaner cleanerThread;
> >>
> >> private class Cleaner extends Thread {
> >>
> >> _______________________________________________
> >> cvs mailing list
> >> cvs at freenetproject.org
> >> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> >>
> >>
> >
> > _______________________________________________
> > Devl mailing list
> > Devl at freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> >
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>
>
-------------- 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/20080529/2d1f42ed/attachment.pgp>