-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
夸克下载限速 #4175
Comments
如果需要修改驱动代码,可能需要使用多线程切片下载。如果为了不影响在线观看,可考虑顺序切片。
|
https://github.com/alist-org/alist/actions/runs/4718633189 中已改为分片下载,每片10MB。无会员测试速度为1MB/s |
这个很可以!希望能进下个release版本! |
docker看这里:https://github.com/alist-org/alist/actions/runs/4718633190 |
这个分片下载能否推广到其他网盘呢,例如 onedrive,百度网盘,迅雷网盘等,以后挂载就不用再加上 user-agent 了,而是直接使用 alist 的功能加速下载。 |
这个已经实现了,多chunk分段多线程下载,并完整支持header range。 后面看机会会合并到主分支。 |
无会员1M/s 已经很棒了 |
Please make sure of the following things
alist
and not something else(such asDependencies
orOperational
).Alist Version / Alist 版本
Main
Driver used / 使用的存储驱动
quark
Describe the bug / 问题描述
quark 下载时候被限速。今天尝试使用最新代码,然后编译。作者添加了range头并未改善限速。
通过分析alist夸克的下载请求,当下载资源在较小时候,例如十几兆,下载不会限速。大于100mb的资源必备限速。
通过分析客户端,推测可能是下载时候使用多线程方式,按照某个特定大小进行切片,切片大小在8M~18M,如下图:
目前看到切片大小没超过20M,然后尝试使用aria2复现,发现下载速度较正常
得出结论如下:
当range切片为8~18mb左右时候,下载速度可以比较理想化,通过修改aria2下载器的range设置,得出结果。
下图为设置:
下图为下载启动时候速度:
下图为多任务下载时稳定速度:
下图为客户端下载时候速度:
Reproduction / 复现链接
下图为100多mb和10几mb通过alist的quark驱动下载:
Logs / 日志
No response
The text was updated successfully, but these errors were encountered: