ISP Program developers may need, for IIS built Web website speed limit.
This article briefly describes how to speed up IIS because not long ago, like most developers, I am also looking for a speed limit method for IIS due to program testing needs, in addition, it does not take effect after the IIS bandwidth limit is enabled.
is installed on my server, therefore, the speed limit settings in IIS6 , for IIS 4.0 and IIS 5.0 may not apply .
Below I will first refer to a description on the Internet:
Reference:
InIn IIS 4.0AndIn IIS 5.0Medium,WebThe "performance" page in the "website properties" dialog box allows you to enable the bandwidth restriction function to specify the maximum bandwidth that a website can use. However, this function does not necessarily work becauseIn IIS 4.0AndIn IIS 5.0You cannot directly operate on the NIC of the server.
In IIS 6.0When the bandwidth limit function is enabled for the first time,Windows 2003Automatic InstallationQoSPacket scheduler supplyIISServer call.QoSThe data packet scheduler enables the server to control the quality of service (that isQoS), So during installationWindows 2003All network services will be temporarily stopped. ConfiguredQoSAfter the packet scheduler,IISJust now you have the driver needed to control the bandwidth limit of your website-ISPThis is undoubtedly good news. The minimum allowed bandwidth limit is1024 byte/Seconds. Do not forget to check whether the NIC is inWindows 2003Hardware compatibility list (HCl), Because only the latest Nic is supportedQoSFunction.
as described above, to limit the speed in IIS6 , the following conditions are required:
1. Nic support QoS ;< br> 2. installed" QoS data packet scheduler" service;
3. install Windows server System ( Windows XP In "> does not have the" performance "option ).
Note that:
Install"QoSPacket scheduler,The network connection will be disconnected.Therefore, if you are remotely operating the server, please be careful. It is possible that you will no longer be able to connect to the server after installation. Therefore, the correct method is to install the system together, or let the IDC administrator install the system. In addition, generally computer NICs support QoS.Yes. My Nic is integrated with the motherboard.RealTek rtl8139Nic.
The following illustration shows how to configure and enableIIS 6.
1.Install"QoSPacket scheduler ";
To open the properties of a local network connection, perform the following operations in sequence:
The following operations are displayed:QoSThe Network Service of the data packet scheduler is installed.
2. IISEnable bandwidth limit.
InIISOn the site, right-click->Attribute to enable the "performance" option, as shown in sequence:
(Note the red circle)
Through the above settings, the IIS speed limit setting is complete. You can set a small bandwidth value to check whether the setting takes effect.The unit of bandwidth limit isKb/s, which can limit the speed of Different Sites. That is, the bandwidth limit can be globalWWWServices (effective for all websites) or individual websites. Set globalWWWThe maximum bandwidth of the service does not replace the maximum bandwidth set for a single website on the server. A single site limits the bandwidth based on the configured maximum value, while a global setting limits all other websites with no bandwidth limit. In addition, globalWWWThe service bandwidth limit setting will not be affected.FTPSite orFTPService.
(This article describes how to pass the test under Windows Server 2003 + IIS 6.0)