gpt4 book ai didi

c# - Background Intelligent Transfer Service(BITS) 下载速度真的很慢?

转载 作者:行者123 更新时间:2023-11-30 18:08:26 25 4
gpt4 key购买 nike

我在 Window XP SP3 上使用 BITS 2.1 版本。我有 2 个文件,要使用 BITS 下载,一个大约 9 Mb,另一个大约 1 Mb。我在我的 C# 代码中创建了一个 BITS 作业,将 2 个文件添加到该作业并开始下载。该作业的优先级为 Normal。 9Mb 的文件下载速度很快,但另一个文件在很长一段时间(大约 20 分钟!)后才开始下载。如果将作业优先级设置为前台,则两次下载都会在 3-4 秒内完成。

有没有人知道为什么 BITS 会这样。 20分钟对于这样的事情来说似乎真的很长。

最佳答案

你在你的博客上回答了它,但再也没有回来发布你的结果

http://theraneman.blogspot.com/2010/07/is-your-background-intelligent-transfer.html

BITS uses Round Robin algorithm within a queue of jobs of same priority. Thus having just 1 file improves the situation for BITS.

If you are responsible for building a tool which uses BITS to download stuff from a server on client machines, and you do not have control over the network policies and all that, at least try to zip all the files into 1 and download it. It surely improves the speed. If you are allowed to change the priorities of jobs, give an option to the user saying something like “Download Now”, which would change the Job priority to Foreground and things would come blazingly fast on the machine.

关于c# - Background Intelligent Transfer Service(BITS) 下载速度真的很慢?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3148114/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com