Patch that removes hdd thrashing with lots of fsyncs

Suggestions and discussion of future versions
Post Reply
plisk
Member
Member
Posts: 42
Joined: Sun Jul 15, 2007 7:52 am

Patch that removes hdd thrashing with lots of fsyncs

Post 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.
Attachments
fast-resume-in-a-single-file-r5780.patch.bz2
(3.12 KiB) Downloaded 209 times
plisk
Member
Member
Posts: 42
Joined: Sun Jul 15, 2007 7:52 am

Re: Patch that removes hdd thrashing with lots of fsyncs

Post 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.
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: Patch that removes hdd thrashing with lots of fsyncs

Post by loki »

Is this possibility to be officially included into 1.2 as in once it's released?
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Patch that removes hdd thrashing with lots of fsyncs

Post 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.
Post Reply