如何在 Windows Vista 和 Windows 中获取拥塞提供程序选项的状态Windows 7?

发布于 2024-11-04 14:30:25 字数 636 浏览 0 评论 0原文

拥塞提供程序是 Windows Vista 中的新服务(我假设 Windows 7 也包含它),用于从可用网络带宽中挤出更多带宽。它仅适用于使用 tcp 协议的应用程序。这背后的原理是,winsock 实现可以随着传输条件的变化而更积极地改变 TCP 窗口大小。这些条件例如是当前网络负载和延迟。延迟以往返时间来衡量。信号来回传输所需的时间(因为 TCP 是可靠的协议,而不是 UDP,它必须确认数据包或数据包块的成功接收)。有关此问题的更多信息请参阅 technet 上的文章: http://technet.microsoft.com/sk- sk/magazine/2007.01.cableguy(en-us).aspx

在 Windows Vista 中,拥塞提供程序服务默认处于禁用状态。它可以通过以下命令启用:

netsh interface tcp set global congestionprovider=ctcp

我还没有找到用于获取其实际状态的命令。我需要它来确保新选项在系统重新启动后处于活动状态。也不知道 Windows 7 中此服务的状态。

Congestion provider is new service in Windows Vista (i assume Windows 7 contains it too) for squeezing more from your network bandwidth available. It applies only for applications using tcp protocol. The principle behind this is that winsock implementation can change TCP window size more aggresively with changing transfer conditions. These conditions are for example current network load and delay. Delay is measured as round-trip-time. Its time needed for signal to travel back and forth (because TCP is reliable protocol as opposed to UDP it must acknowledge successfull receiving of packet or block of packets). More info about this matter is in article on technet:
http://technet.microsoft.com/sk-sk/magazine/2007.01.cableguy(en-us).aspx

Congestion provider service is by default disabled in Windows Vista. It can be enabled by following command:

netsh interface tcp set global congestionprovider=ctcp

I havent found command for getting its actual state. I need it to be sure that new option is active after system restart. Also don't know state of this service in Windows 7.

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

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

发布评论

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

评论(1

不爱素颜 2024-11-11 14:30:25

您应该:

  1. 打开记事本并复制以下内容:

    <块引用>

    Windows 注册表编辑器版本 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro
    l\Nsi{eb004a03-9b1a-11d4-9123-0050047759bc}\0]
    "0200"=十六进制:00,00,00,00,00,00,01,00,00,00,00,00,00,
    00,00,00,00,00,00,00,00,00,\
    00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00
    ,00,00,00,00,00,00,00,00,\
    00,00,00,ff,00,00,00,00,00,00,00,00,00,00,00,00,00
    ,00,00,00,00,00,00,00,00,\
    ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
    "1700"=十六进制:00,00,00,00,00,00,01,00,00,00,00,00,00,
    00,00,00,00,00,00,00,00,00,\
    00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00
    ,00,00,00,00,00,00,00,00, \
    00,00,00,ff,00,00,00,00,00,00,00,00,00,00,00,00,00
    ,00,00,00,00,00,00,00,00,\
    ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

  2. 关闭记事本,然后单击保存,然后将文件命名为enable-esn -ctcp.reg,在编码选项上,您将看到该选项设置为 ASNI,将其更改为 unicode 并保存

  3. 双击文件或将其导入注册表,然后重新启动计算机

  4. 最后在提升的或管理员 cmd 上键入 netsh int tcp show global 完成此选项适用于 Windows 8

You should:

  1. open notepad and copy this:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro
    l\Nsi{eb004a03-9b1a-11d4-9123-0050047759bc}\0]
    "0200"=hex:00,00,00,00,00,00,01,00,00,00,00,00,00,
    00,00,00,00,00,00,00,00,00,\
    00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00
    ,00,00,00,00,00,00,00,00,​\
    00,00,00,ff,00,00,00,00,00,00,00,00,00,00,00,00,00
    ,00,00,00,00,00,00,00,00,​\
    ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
    "1700"=hex:00,00,00,00,00,00,01,00,00,00,00,00,00,
    00,00,00,00,00,00,00,00,00,\
    00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00
    ,00,00,00,00,00,00,00,00,​\
    00,00,00,ff,00,00,00,00,00,00,00,00,00,00,00,00,00
    ,00,00,00,00,00,00,00,00,​\
    ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

  2. close the notepad then click save and then name it the file as enable-esn-ctcp.reg and on the encoding option you will see the option is set to ASNI change that to unicode and save

  3. double click the file or import it to your registry then restart your computer

  4. finally type netsh int tcp show global on an elevated or administrator cmd done this option applies to windows 8

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