Dynamic slots

From MLDonkey
Jump to: navigation, search


Contents

Description

Since a file chunk can only be shared once it's completed, it's better for files spreading if you sent chunks quickly to few uploaders (so that they can start sharing those chunks too) than slowly to many peers.

When dynamic_slots is enabled, MLdonkey will dynamicly adjust the number of upload slots, making sure their combined bandwith is less or equal to max_hard_upload_rate. That said, the number of upload slots will fluctuate between 3 and max_upload_slots.

Default value

Default value for dynamic_slots is false.

Scope

This option is stored in downloads.ini

Example

> set dynamic_slots true

See also

max_upload_slots

History

This is an experimental feature.

Dynamic slots implementation (in commonUploads.ml) has two main components:

That algorithm requires that the uplink usage does not fluctuate too much, or the slot allocator will try to compensate by opening more slots than strictly necessary. Examples of such cases could be (temporary) competition with other network traffic, and maybe also large uplink capacities, where the constant unused bandwidth trigger may become too small (? no hardware to test that second hypothesis).

Feel free to suggest ideas of improvement.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox