您可以手动或使用第三方应用程序优化Windows 10中的(Windows 10)TCP/IP设置。优化它可能会提高您的互联网连接速度(improve your internet connection speed)。如果您想知道是否有必要、需要更改哪些设置以及如何更改,我们将引导您完成整个过程。但在此之前,让我们先了解一些基础知识。
什么是 TCP/IP?
TCP/IPTransmission Control Protocol/Internet Protocol的缩写,是一组通信协议,允许网络设备在连接时进行通信。TCP/IP是一组规则和程序,用于规定通过 Internet 传输和接收数据的方式。
您的计算机系统与网络上的无数其他系统进行交互,但在任何给定时间点,只有(only)两个系统可以相互通信。为了使这种通信有效地工作,计算机需要协议。
协议是计算机用于相互交互的一组规则。TCP/IP是一种标准的通信协议,它允许所有计算机进行交互,而与供应商无关。IP(Internet 协议(Internet Protocol))就像要发送数据的地址,而TCP是将数据传递到该地址的方法。
TCP和 IP 是不同的东西,但它们大多是一起使用的,因为它们相互依赖。以短信(Think)为例。IP 地址类似于您的电话号码;它有助于确定数据(where)的发送位置。TCP是传输消息、播放通知音并允许您阅读文本消息的技术。
您需要在Windows 10上优化(Windows 10)TCP/IP Settings吗?
在大多数情况下,无需优化TCP/IP设置,除非您知道要为特定目的更改的设置。
但是,Windows Vista引入了一项名为Receive Window Auto-Tuning的新功能,它可以实时监控TCP的多个参数,包括带宽和网络延迟。它通过测量延迟应用程序检索率和带宽的产品来确定最佳接收窗口大小。接下来,它尝试通过调整接收窗口大小来利用剩余带宽。
这就是该功能如何缩放TCP接收窗口以最大化网络性能和吞吐量。从本质上讲,Windows添加了一项优化TCP的功能,以最大限度地提高网络速度。
也就是说,仍有少数情况需要手动优化。例如,如果您使用的是Windows XP或旧版本的Windows、不支持自动调整功能的旧路由器或调制解调器,或者您想更改特定的TCP/IP设置,则需要手动优化TCP/IP
如何在Windows中禁用自动调整功能?
如果您的Windows版本比Windows Vista旧,或者您的路由器不支持Auto Tuning,您可以轻松禁用它。
大多数第三方TCP优化工具允许在其界面内禁用自动调整(Auto-Tuning)。但是,如果您没有,您可以运行一些命令来禁用Auto-Tuning。
首先启动命令提示符(Command Prompt),然后运行以下命令:
- 检查是否启用了自动调整:
netsh接口 tcp 显示全局( interface tcp show global)
如果Receive Window Auto-Tuning Level正常(normal)显示,则 Auto-Tuning 已启用。
- 禁用自动调整:
netsh int tcp set global autotuninglevel=disabled
此时,您将禁用Auto-Tuning。如果要重新启用它,请运行以下命令:
netsh int tcp set global autotuninglevel=normal
您还可以从注册表编辑器(Registry Editor)禁用自动调整。按Win + R,键入regedit,然后按Enter。在导航栏中粘贴以下地址:
HKEY_LOCAL_MACHINE\Software\Microsoft \Windows\CurrentVersion\Internet Settings\WinHttp
您需要在WinHttp子项中创建一个新值。右键单击(Right-click)空白处并选择New > DWORD (32-bit) Value。
将值命名为TcpAutotuning。双击DWORD ,在(DWORD)数值数据(Value data)字段中插入 1并选择OK。
要重新启用,请删除该值或将值数据(Value data )设置为 0。
如何在Windows 10中优化(Windows 10)TCP/IP
自动调整功能和TCP/IPWindows 10上预先配置,这意味着对于使用Microsoft Windows的每个人来说,它们都是相同的,除非他们手动更改了它们。但即使是拥有相同操作系统的人,当然也可以拥有不同类型的互联网连接或旧路由器。
Internet连接可能是宽带或光纤,提供不同的带宽(bandwidths),或具有不同的延迟。您可以调整TCP/IP设置,使其最适合您的 Internet 连接的特定特性。
如果您精通技术,则可以通过更改Windows注册表设置或在命令提示符中运行命令组合来优化(Command Prompt)Windows 10上的TCP/IP。但是使用第三方工具的过程要简单得多,因为您可以使用界面从一个地方完成所有操作。
下载(Download )TCP 优化器(TCP Optimizer)
在开始优化TCP/IP设置之前,您需要下载第三方工具,例如TCP Optimizer。
下载(Download)它,右键单击下载的文件,然后选择以管理员身份运行(Run as administrator)。
您现在将在屏幕上看到界面。
优化(Optimize) TCP/IP
首先,您只需将您的互联网速度插入TCP 优化器(TCP Optimizer),它就会相应地优化所有设置。将速度设置为您的互联网连接提供的最大速度。这是可用的最大带宽,而不是您的LAN 速度(LAN speed)。例如,如果您的带宽是 50 Mbps连接,请将速度设置为 50 Mbps。
然后,从底部的选择设置部分中选择(Choose settings )最佳,然后选择(Optimal)应用更改(Apply changes)。
在弹出的窗口中,选中右下角的备份(Backup)和创建日志旁边的两个框,然后选择(Create Log)确定(OK)。
系统将提示您重新启动,单击Yes。如果您想稍后重新启动,请单击否。(No )但是,仅在重新启动后才会应用更改。
就是这样,你完成了。
如果出现问题,您始终可以恢复到默认设置,因为TCP Optimizer在应用任何更改之前会自动创建您的设置备份。
如果您知道自己的网络方式并且想要更改个人设置,请首先在底部的“选择设置”部分中选择“(Choose settings)自定义”。(Custom)执行此操作后,您将看到以前灰显的所有设置现在都可以进行调整。
在更改任何设置之前,请确保您已在网络适配器(Network Adapter)选择( selection)部分中选择了正确的网络适配器。
然后,您可以更改MTU、拥塞控制提供程序(Congestion Control Provider),甚至高级TCP/IP参数,如QoS。但是,当您遇到要解决的确切问题并且(and)知道如何使用这些设置解决问题时,这些通常会很有帮助。
例如,如果您是一名试图优化互联网速度的游戏玩家,您可以切换到“高级设置”(Advanced Settings)选项卡并禁用“网络节流指数”(Network Throttling Index)和 Nagle 算法。
TCP Optimizer带有许多高级功能,但除非您知道自己在做什么,否则最好不要修改这些功能。此外,在大多数情况下,使用TCP Optimizer应用最佳设置足以优化Windows 10上的(Windows 10)TCP/IP设置。
如果您确实搞砸了,您始终可以应用默认的Windows设置并从顶部的“文件”菜单重置(File)TCP/IP和WINSOCK 。
TCP 设置,优化
当您想要确保网络连接的高性能时,优化TCP会非常有用。(TCP)如果当前设置不允许您充分利用互联网计划的潜力,您可以尝试优化TCP设置。
当然,最好确保优化实际上是有保证的。例如,您可能需要做的就是改善您的 WiFi 信号(improve your WiFi signal)以获得更好的互联网速度。请注意,还有其他几种方法可以提高上传和下载速度(improving your upload and download speeds)。
How to Optimize TCP/IP Settings in Windows 10
You can optimize TCP/IP settings in Windows 10 either manually or using a third-party app. Optimizіng it can рotentially improve your internet connection speed. If you’re wondering whether it’s necessary, what settings you need to change, and how, we’ll walk you through the process. But before that, let’s get some basics out of the way.
What Is TCP/IP?
TCP/IP, short for Transmission Control Protocol/Internet Protocol, is a group of communication protocols that allow network devices to communicate when they’re connected. TCP/IP is a set of rules and procedures that dictate the way data is transmitted and received over the internet.
Your computer system interacts with countless other systems on a network, but at any given point in time, only two systems can communicate with each other. For this communication to work effectively, computers need protocols.
A protocol is a set of rules that computers use for interacting with each other. TCP/IP is a standard communication protocol that allows all computers to interact, regardless of the vendor. IP (Internet Protocol) is like an address where the data is to be sent, while TCP is the method of delivering the data to that address.
TCP and IP are different things, but they’re mostly used together because they rely on each other. Think of a text message for example. An IP address is similar to your phone number; it helps determine where the data is sent. TCP is the technology that transmits the message, plays the notification tone, and allows you to read the text message.
Do You Need to Optimize TCP/IP Settings on Windows 10?
In most cases, there’s no need to optimize TCP/IP settings unless you know a setting that you want to change for a specific purpose.
However, Windows Vista introduced a new feature called Receive Window Auto-Tuning, which monitors several parameters of the TCP including bandwidth and network delay in real-time. It determines the optimal receive window size by measuring products that delay application retrieve rates and bandwidth. Next, it tries to capitalize on the surplus bandwidth by adjusting the receive window size.
This is how the feature scales the TCP receive window to maximize network performance and throughput. Essentially, Windows added a feature to optimize TCP such that it maximizes your network speed.
That said, there are still a few cases where manual optimization may be warranted. For instance, if you’re using Windows XP or an older version of Windows, an old router or modem that doesn’t support the Auto-Tuning feature, or you want to change a specific TCP/IP setting, you’ll need to optimize TCP/IP settings manually.
How to Disable the Auto-Tuning Feature in Windows?
If you have an older version of Windows than Windows Vista or have a router that doesn’t support Auto Tuning, you can easily disable it.
Most third-party TCP optimization tools allow disabling Auto-Tuning from within their interface. However, if yours doesn’t, you can run a few commands to disable Auto-Tuning.
Start by launching the Command Prompt, and run the following commands:
- Check if Auto-Tuning is enabled:
netsh interface tcp show global
If Receive Window Auto-Tuning Level appears as normal, Auto-Tuning is enabled.
- Disable Auto-Tuning:
netsh int tcp set global autotuninglevel=disabled
At this point, you’ll have disabled Auto-Tuning. If you want to re-enable it, run the following command:
netsh int tcp set global autotuninglevel=normal
You can also disable Auto-Tuning from the Registry Editor. Press Win + R, type regedit, and press Enter. Paste the following address in the navigation bar:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp
You’ll need to create a new value in the WinHttp subkey. Right-click in the whitespace and select New > DWORD (32-bit) Value.
Name the value TcpAutotuning. Double-click on the DWORD, insert 1 in the Value data field and select OK.
To re-enable, delete the value or set Value data to 0.
How to Optimize TCP/IP in Windows 10
The Auto-Tuning feature and TCP/IP settings are pre-configured on Windows 10, which means they’re the same for everyone who uses Microsoft Windows unless they have changed them manually. But even people with the same operating systems can, of course, have different types of internet connections or old routers.
Internet connections may be broadband or fiber, offer different bandwidths, or have different latency. You can tweak your TCP/IP settings such that they work best for the specific characteristics of your internet connection.
If you’re tech-savvy, you can optimize TCP/IP on Windows 10 by changing Windows registry settings, or by running a combination of commands in the Command Prompt. But the process is much simpler with a third-party tool because you’ll be able to do everything using an interface and from one place.
Download TCP Optimizer
Before you can start optimizing your TCP/IP settings, you’ll need to download a third-party tool like TCP Optimizer.
Download it, right-click on the downloaded file, and select Run as administrator.
You’ll see the interface on your screen now.
Optimize TCP/IP
To start, you’ll need to only insert your internet speed into the TCP Optimizer and it will optimize all settings accordingly. Set the speed to the maximum speed that your internet connection offers. This is the maximum bandwidth available, not your LAN speed. For instance, if your bandwidth is 50Mbps connection, set the speed to 50 Mbps.
Then, select Optimal from the Choose settings section at the bottom and select Apply changes.
On the window that pops up, check both boxes next to Backup and Create Log at the bottom right, and select OK.
You’ll be prompted for a reboot, click Yes. Click No if you want to reboot later. Changes are applied only after the reboot, though.
That’s it, you’re done.
If something goes wrong, you can always revert to the default settings because TCP Optimizer automatically creates a backup of your settings before applying any changes.
If you know your way around networking and you want to change individual settings, start by selecting Custom in the Choose settings section at the bottom. Once you do this, you’ll see that all settings that were grayed out before can now be tweaked.
Before you change any settings, make sure that you’ve selected the correct network adapter in the Network Adapter selection section.
You can then change the MTU, Congestion Control Provider, and even advanced TCP/IP parameters like QoS. But these are typically helpful when you have an exact problem you’re trying to solve and know how to solve it using these settings.
For instance, if you’re a gamer trying to optimize your internet speed, you can switch over to the Advanced Settings tab and disable the Network Throttling Index and Nagle’s algorithm.
TCP Optimizer comes with a lot of advanced functionality, but it’s best not to tinker with those unless you know what you’re doing. Plus, applying the optimal settings using TCP Optimizer, in most cases, is more than enough to optimize your TCP/IP settings on Windows 10.
If you do mess something up, you can always apply the default Windows settings and reset TCP/IP and WINSOCK from the File menu at the top.
TCP Settings, Optimized
Optimizing TCP can be very helpful when you want to ensure high performance from your network connections. If the current settings aren’t allowing you to leverage your internet plan’s full potential, you may try optimizing TCP settings.
Of course, it’s best to ensure that optimization is in fact warranted. For instance, it’s possible that all you need to do is improve your WiFi signal to get better internet speeds. Note that there are several other ways of improving your upload and download speeds too.