Page 1 of 1

Patch that removes hdd thrashing with lots of fsyncs

Posted: Thu Sep 24, 2009 5:40 pm
by plisk
Hi there!

Anyone willing to test patch that removes hdd thrashing with lots of fsyncs for storing fast resume data here it is in the attach.. Testing here and working fine so far.. It imports all .fastresume files in config's state/ folder to just one file.. Also this speedups startup and shutdown times and removes hangs for 2-4 secs during run..

Make sure you make a backup of ~/.config/deluge folder first, just to be sure..

Its for svn version of Deluge.

I'd appreciate feedback..

With best regards from the Soul, Alex.

Re: Patch that removes hdd thrashing with lots of fsyncs

Posted: Fri Sep 25, 2009 8:57 am
by plisk
Okay, after some feedback from andar patch updated to use the latest svn rev5780. Made some tweaks and reduced memory footprint.

Patch reuploaded in the first post.

Re: Patch that removes hdd thrashing with lots of fsyncs

Posted: Sat Sep 26, 2009 11:07 pm
by loki
Is this possibility to be officially included into 1.2 as in once it's released?

Re: Patch that removes hdd thrashing with lots of fsyncs

Posted: Wed Sep 30, 2009 2:24 am
by andar
loki wrote:Is this possibility to be officially included into 1.2 as in once it's released?
Yea, I'm gonna review the patch in the next few days, along with a few others from Plisk.. If it's all good, I'll commit it to 1.2/trunk.