Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2831 closed bug (Duplicate)

Downloads stall when using "Move storage"

Reported by: Markweiser Owned by:
Priority: major Milestone: not applicable
Component: libtorrent Version: other (please specify)
Keywords: Cc:

Description

This happens when I have a destination with low IO throughput

  • Perhaps related to #994 -

Eg: My setup is basically:

  • Download to SSD mountpoint (/data/fast/incomplete)
  • Once finished, move to low rpm HDD big storage (/data/slow/new)

So, when this process happens, everything that Deluge is doing is stalled and waits for the copy to happens.

This issue happens when using 'Move to Storage' or when using 'Move Completed'. Anything related to copying the downloaded files will stall the current tasks.

Reproduce:

  • Add various downloads and start them (around 10gb+ size)
  • Move any finished downloads to a low IO mountpoint (eg: USB 2.0 External HDD)
  • Notice the non-finished downloads stall

Related to move_storage() - http://www.rasterbar.com/products/libtorrent/manual.html

move_storage()

void move_storage(std::string const& save_path) const;
void move_storage(std::wstring const& save_path) const;

Moves the file(s) that this torrent are currently seeding from or downloading to. If the given save_path is not located on the same drive as the original save path, The files will be copied to the new drive and removed from their original location. This will block all other disk IO, and other torrents download and upload rates may drop while copying the file.

Can't Deluge implement it?

Change History (2)

comment:1 Changed 8 years ago by Cas

  • Component changed from Core to libtorrent
  • Milestone changed from needs verified to not applicable
  • Resolution set to Duplicate
  • Status changed from new to closed

It is a libtorrent issue as you saw in #994

comment:2 Changed 8 years ago by Cas

In fact this has been implemented in lt 1.1 so once Deluge supports that version it will be available.

http://libtorrent.org/reference-Core.html#torrent_handle

Note: See TracTickets for help on using tickets.