eMule Connection Setting Wizard

转载自:http://franks543.blogspot.com/2009/11/emule-connection-setting-wizard.html

 

 eMule有一個wizard提供設定連線相關數字,根據使用者輸入的網路上下載能力,給於建議值。

我們從eMule 0.49c的程式碼,可以來檢視這些數值是如何來的。

input:
OS: WinXP/Vista, Win98/ME
ConcurrentDownloads: 1-5, 6-15, 16+
ConnectionType: ...

output:
DL limit, UL limit
Max. Sources/File
Max. connections

eMule的DL, UL capacity,是用於統計,簡單說,就是畫速度圖的upper bound啦,實際影響上下載速度的值是DL, UL limit。

aMule 2.2.6預設值:
Max. Sources/File: 300
Max. Connections: 480

DL, UL limit根據使用者輸入值,
DL limit = dl capacity * (9/10)
UL limit = ul capacity * (4/5)
不過有但書,當
ul capacity < 4, dl limit is (3 * ul limit)
ul capacity < 10 && dl capacity > ul capacity * 4, dl limit is (4 * ul limit)

Max. Connections和OS及Concurrent DLs有關:
OS為Win98/ME時,Max. Connections固定為50
OS為WinXP/Vista時:

UL CapacityMax. Connections
<= 780
< 12200
< 25400
< 37600
>= 37800



Max. Sources per File與DL capacity, OS, Concurrent DLs都有關

DL Capacity/Concurrent DLs1-56-1516+
<= 71006040
< 62300200100
< 187500400350
< 312800600400
>= 3121000750500
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值