mldonkey-users
[Top][All Lists]
Advanced

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

[Mldonkey-users] [patch #5203] Swarmer: Anti-fragmentation


From: spiralvoice
Subject: [Mldonkey-users] [patch #5203] Swarmer: Anti-fragmentation
Date: Fri, 14 Jul 2006 16:44:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.8.0.4) Gecko/20060701 Firefox/1.5.0.4

Follow-up Comment #1, patch #5203 (project mldonkey):

Updated patch (+1 line for logging):
ftp://ftp.berlios.de/pub/mldonkey/pango/anti-fragmentation_v7.patch

Add another criterion for selecting blocks: prefer blocks already
fully preallocated on disk; That way one can get antifragmentation
benefits without preallocating too much space, specially for downloads
with small chunks (BitTorrent comes to mind).

Only fully preallocated blocks get a higher priority; Also selecting
partially preallocated blocks could have an unwanted "domino effect"
(since network and disk blocks don't match, partially downloaded
chunks will be surrounded by partially preallocated chunks, that would
in turn be picked in priority for downloading, etc. So downloads would
mainly happen in "waves" of up and down block numbers).

(Currently, another download pattern will probably also appear by
selection fully preallocated blocks: blocks will be downloaded in
"clusters" of nearby blocks. Whether this pattern is harmless for file
propagation needs checking).

Untested.
    _______________________________________________________

Additional Item Attachment:

File name: 5203_2.patch                   Size:14 KB
updated version, pango v7
<http://savannah.nongnu.org/patch/download.php?file_id=10351>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=5203>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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