后台智能传输服务(BITS)下载速度真的很慢吗?

发布于 2024-09-07 19:18:18 字数 263 浏览 3 评论 0原文

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

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

I am using BITS 2.1 version, on Window XP SP3.
I have 2 files, to download using BITS, one is around 9 Mb, other around 1 Mb. I created a BITS job in my C# code, added the 2 files to this Job and started the download. The job has a priority of Normal. The 9Mb file gets downloaded quickly but the other file does not start downloading for a loooong time (around 20 min!). If the Job priority is made to Foreground, both downloads happen in like 3-4 seconds.

Does anyone have any clue why BITS behaves like this. 20 minutes seems to be really long for such a thing.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南城追梦 2024-09-14 19:18:18

您在博客中回答了这个问题,但从未回来发布您的结果

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

BITS 在相同的作业队列中使用循环算法
优先事项。因此,只有 1 个文件可以改善 BITS 的情况。

如果您负责构建一个使用 BITS 进行下载的工具
来自客户端计算机上的服务器的内容,并且您没有控制权
通过网络策略等等,至少尝试压缩所有
文件放入1并下载。它肯定会提高速度。如果你是
允许更改作业的优先级,为用户提供选项
说“立即下载”之类的话,这会改变工作
优先于前台,事情会变得非常快
机器。

You answered it in your blog, but never came back to post your results

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文