Opened 6 years ago

Closed 4 years ago

Last modified 3 years ago

#2814 closed bug (Fixed)

Speed drops while generating resume data

Reported by: khaosryder Owned by: bro
Priority: major Milestone: 2.0.0
Component: Core Version: 1.3.12
Keywords: Cc:

Description

While seeding/downloading a large number of torrents (~200, but issue starts appearing with much fewer torrents), upload and download speed drops to 0 every time Deluge is generating resume data, which happens every 3-4 minutes. After resume data for all torrents is generated, speed picks back up slowly as it looks like it has to reconnect to all peers, only to happen again a few minutes later.

The logs contain the following data for every torrent file:

[DEBUG   ] 20:35:42 alertmanager:123 save_resume_data_alert: torrent_name1 resume data generated
[DEBUG   ] 20:35:42 alertmanager:123 save_resume_data_alert: torrent_name2 resume data generated
[DEBUG   ] 20:35:42 alertmanager:123 save_resume_data_alert: torrent_name3 resume data generated
[DEBUG   ] 20:35:42 torrentmanager:1106 on_alert_save_resume_data
[DEBUG   ] 20:35:42 torrentmanager:1106 on_alert_save_resume_data
[DEBUG   ] 20:35:42 torrentmanager:1106 on_alert_save_resume_data

And it goes on like this for all torrents which takes ~10 seconds, then transfer speeds start going back up.

Here is an example speed graph (5 sec update frequency): http://i.imgur.com/liGntRq.png

Change History (6)

comment:1 Changed 6 years ago by khaosryder

  • Milestone changed from needs verified to performance

comment:2 Changed 6 years ago by bro

  • Component changed from other/unknown to Core
  • Owner set to bro
  • Status changed from new to assigned

This may be due to blocking disk I/O when saving the fastresume file. PR79 implements performing task on a separate thread which may solve the issue.

comment:3 Changed 4 years ago by Cas

  • Milestone changed from performance to 2.0
  • Resolution set to Fixed
  • Status changed from assigned to closed

Shall consider this fixed by [7c20ed777]

comment:4 Changed 4 years ago by khaosryder

It's not, I've simply learned to live with it.

comment:5 Changed 4 years ago by Cas

You have tested with develop code?

comment:6 Changed 3 years ago by Cas

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.