mldonkey-tasks
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-tasks] [task #4398] Not random download for _specific_ files


From: jave
Subject: [Mldonkey-tasks] [task #4398] Not random download for _specific_ files
Date: Thu, 16 Feb 2006 20:53:42 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.0.7-1.2.fc4 Firefox/1.0.7

Follow-up Comment #2, task #4398 (project mldonkey):

#5049 #4851 and #4398 all seem to be basically the same.

Ive done some small research into this and here is a possible
implementation:

- implement a vector of priorityfields matching the chunks to download
vector.

- initially only prio 0 and 1 are implemented, 0 meaning dont down, 1
download

- one has to match file boundaries to the chunk vector. this is mostly
already present

- there needs to be some commands that sets the download prio vector
according to which files in the torrent should be downloaded. not so hard
given the above. be conservative and download whole chunks spanning
boundaries.

- the initial implementation would just fool the download scheduler that prio
0 chunks are already downloaded


- the next step would be to implement actual priorities, which would be
harder... 

this incremental plan looks doable and will bring a quite useful feature even
at its simplest level

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?func=detailitem&item_id=4398>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]