bugmldonkey, a multi-networks file-sharing client - Bugs: bug #17223, REQUEST: New download prefilled...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17223: REQUEST: New download prefilled with 0's

Submitter:  David <ginta>
Submitted:  Fri 28 Jul 2006 02:14:27 AM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Feature request Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  2.7.7 Release:  2.7.7
Operating System:  Linux Binaries Origin:  Gentoo ebuild
CPU type:  x86_64

Sat 18 Nov 2006 12:56:11 PM UTC, comment #2: 

Fixed in 2.8.1

spiralvoice <spiralvoice>
Group administrator
Fri 28 Jul 2006 09:21:40 AM UTC, comment #1: 

This is a known problem, a patch for this is already in CVS
for testing and will be included in MLDonkey 2.8.0, after
2.7.7 has been stable on Gentoo for some time.

Patch description:
2006/07/15
5203: Swarmer: Anti-fragmentation (pango, antifrag_v7)

  • Each file is divided into blocks saved in new option
  • file_disk_allocation_bitmap in swarmer section of files.ini
  • Blocksize is computed like this: file_size / 200, rounded up to full

  megabytes, if bigger than 10MB: 10 MB are used as maximum blocksize.
  Preallocated blocks are marked file_disk_allocation_bitmap option.

  • Blocks already fully preallocated on disk are prefered for downloading.

  That way one can get antifragmentation benefits without preallocating
  too much space, specially for downloads with small chunks.

  • If the block about to be filled with data for the first time its read/written

  back to disk to allocate the space.
  Set verbosity to "verb" to enable logging of preallocation.

spiralvoice <spiralvoice>
Group administrator
Fri 28 Jul 2006 02:14:27 AM UTC, original submission:  

When I download a file with mldonkey, it is too much fragmented (I get only 1 or 2 MB/S transfer rate when copying to another place).

Consider urgently implementing an option to create a non empty file (instead of being empty, it could be prefilled with 0xXX). It isn't too hard (not more than a couples of lines of code) and a great advantage.

P.D. And if you do so, the possibility to fill the gaps of other temp files with 0xXX (for files that are already downloading).

Thanks.

David <ginta>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-11-18 spiralvoice StatusReady For Test Fixed
    Open/ClosedOpen Closed
2006-07-28 spiralvoice CategoryeDonkey-Plugin Core
    Item GroupNone Feature request
    StatusNone Ready For Test

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code