In-depth WIN2000 group table (5)

Source: Internet
Author: User

T c p/I p and I n t e r n e t
Introduction
The implementation of t c p/P in Windows 2000 provides an important point-to-point connection mode for the connection between Microsoft wi n d o w s network and u n I x. To thoroughly understand the network parameters included in the Windows 2000 Registry (and the correct values of these parameters), it is necessary to fully understand the basic network structure. In-depth discussion of network background knowledge is beyond the scope of this book, but some important content provided in this chapter can enhance the efficiency of Windows 2000 system administrators. I will introduce the network protocol of m I c r o s o f t, the architecture of t c p/I p and the architecture of d h c p, so that when I learn the Direct Solution Below, you can have a context.
MS Windows Network Protocol Microsoft wi n o w s network can use a variety of network protocols, including t c p/I p, n e t B e u I, a p l e ta l k, I p x/s p x, P, S M B and d e c n e t. The ability of a server to use protocol communication depends on which protocol is installed on the system. In fact, there is a special protocol processing between Windows 2000 computers and other servers. It can convert one protocol to another in real time. It is important to remember that network protocols are layered. T c p/I p is the best example of network protocol layering.
1. TCP/IP
I p (I n t e r n e t protocol, Internet Protocol) is a protocol for addressing and reporting data to another computer from one computer on the network. The independent technology named Transmission Control Protocol (TCP) is located at the upper layer of I p. It provides connection-based communication and supports reliable and ordered data streams. These two protocols are used together to communicate with I n t e r n e t, which is usually written as t c p/I p.
Assume that a driver is driving a car. The engine (I p) provides the power of the car on the road, but the driver (t c p) uses the car's control system (throttling, brakes, and steering wheel) to connect from point A to point B, it also interacts with network roads (Network cables), traffic lights, and road signals (routers. Without an engine, the driver cannot act. Without a driver, the engine is meaningless. Therefore, this is the relationship between t c p and I P.
2. Windows Socket
Windows Socket is a widely recognized network system implemented by M I c r o s o f t. It was initially developed for connection with U n I x. In most cases, Windows Sockets is compatible with U n I x and is a form of communication between Microsoft Wi n d o w s network and U n I x network. Windows Socket is located at the upper layer of several protocols, just as t c p is located at the upper layer of I P. Windows Socket can use the t c p/I p protocol, or one of the other protocols, including I P X/S P X and A p l e Ta l k.
3. NetBEUIN e t B e u I is usually a non-routing protocol. N e t B e u I was developed by I B m in for 5 years. Later I exchanged patents with several other platforms (including Microsoft Wi n d o w s. Windows 2000 supports N e t B e u I to provide backward compatibility for other systems and computers, such as LAN managers. If the Windows 2000 system runs on the licensing Ring Network and the routing function of the licensing ring network is enabled for Wide Area Network, the N e t B e u I is routable.

4. Famous Pipelines
Named Pi p e is based on several protocols, including S o c k e t, N e t B e u I, t c p/I p and I P X/S P X. Pipelines are reserved in the memory for processing information. They are usually automatically processed. The process for creating an MPS queue is called the pipe server ). A process that accesses a created MPs queue is called a pipe client ). A famous pipe is a pipe with a unique name. Depending on one or more of the protocols used to create an MPS queue, the MPs queue name can be composed of multiple elements (associated with the Protocol.

TCP/IP route
T c p/I P is a protocol used to transmit information from one computer to another. It implements information transmission through data packets (p a c k e t). Data packets are data groups that contain the actual information to be transmitted and routing information. Routing information is used to guide packets from the source computer to the target computer. To reach the target computer, the following events will certainly occur in the following order:
1) The customer uses the d n s or w I n s server to resolve the host name to an I P address to establish a connection with a computer.
2) the DNS or w I n s server queries multiple information sources and converts a text host name to a binary I P address.

3) The DNS or w I n s server sends the binary I P address back to the client computer. This address is usually a value in the Wi n s o c k function call.
4) The customer's computer uses the I P address obtained in step 1 and sends data packets to the next computer on the network based on the network topology, or its gateway or another peer-to-peer machine.

5) The next computer on the network determines whether the packet's I P address is its own. If yes, it retains the data packet and sends a confirmation answer. Otherwise, the data packet is sent to the next computer until it reaches its destination. The preceding event sequence is called routing. After the I P address is converted to a numeric address, it can be routed. You can use a gateway computer, a dedicated router, and a group of Route tables for a route.

DHCP
D h c p stands for the Dynamic Host Configuration Protocol (DHCP ). D h c p allows computers temporarily connected to the network to share a dedicated I P address. When the network topology is restructured, it can also help the network administrator by reducing the workload of manually resetting the fixed I P address. The function of d h c p is similar to a special d n s (see the previous section ), it can only be used in very limited fields (usually small LAN or I n t r a n e t); D H C P Server accepts the host name like D N S server, search for the binary I P address in its internal database. The usefulness of d h c p is that it optimizes the ing between host names and binary addresses, while the Standard d n s and w I n s do not. Many other network topics also require a clear understanding of how to use the registry to adjust Windows 2000 computers. Before trying to adjust the computer as described in the direct solution, you should have a thorough understanding of Windows NT/2000
Basic network knowledge. There are many books on basic knowledge about Windows NT Network, some of which may prove useful for you to follow the methods in the direct solution.

 

Force snap encoding of TCP/IP Route packets

S n a p encoding is a method to reduce the size of data packets transmitted over Ethernet. To make sure that the t c p/I p network uses this function, follow the steps below to modify the registry:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the WI n d o w s is found.
2 0 0 0 root directory (usually w I n t). Go to the s y s t e m directory, find r e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a C h I n e. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate s y s t e m/C u r e n t C o n t r o l S e t/S e r v I c e s/Tcpip/Parameters subitem. Click this subitem to select it. Its value is displayed in the right window.
4) locate the entry with the value A r p U s e E t h e r s n a p. Use the D Wo r d editor to change the value to 1 and use the s n a p encoding. If the value A r p U s e E t h e r s n a p does not exist, you can use the "edit" | "add value" menu item to add it.

Set the path of TCP/IP database files
The t c p/I p system requires a special set of file-assisted tracking systems (based on the U n I x text file system developed for S o c k e t ). The location of the text file is stored in the P a r a m e t e r s subitem of the Registry. Follow these steps to access the subitem P a r a m e t e r s:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate s y s t e m/C u r e n t C o n t r o l S e t/S e r v I c e s/Tcpip/Parameters subitem. Click this subitem to select it. Its value is displayed in the right window.
4) locate the entry with the value D a t a B a s e P a t h. Set the string value of the r e g _ s z type to the directory path name that stores the host, remote host, network, and protocol files.

Set the DHCP server address for TCP/IP servers

D h c p allows Dynamic Allocation of I p addresses in the I p address pool to nodes on the t c p/I P network. However, you sometimes need to modify the value in the registry so that the t c p/I P routing system can use the specified D H C P server. You can follow the steps below to achieve this:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate s y s t e m/C u r e n t C o n t r o l S e t/S e r v I c e s/Tcpip/Parameters subitem. Click this subitem to select it. Its value is displayed in the right window.
4) locate the entry with the value D h c p N a m e S e r v e r. Set the string value of the r e g _ s z type to the I P address of the D H C P server for routing selection in the network.

Enable the failed Gateway Detection Function of the TCP/IP Server

If your network has multiple gateways, you can use the Windows 2000 function to quickly switch from an invalid gateway to another gateway. To do this, first enter all available gateways in the Control Panel applet dialog box, and then follow the steps below to modify the registry:
1) Open the "Start" menu and select "run ". Click Browse to start browsing until Windows 2000 is found.
(Usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate s y s t e m/C u r e n t C o n t r o l S e t/S e r v I c e s/Tcpip/Parameters subitem. Click this subitem to select it. Its value is displayed in the right window.
4) locate the entry with the value E n a B l e D e a d G W D e t e c t. Use the d w o r d editor to change the value of E n a B l e D e a d G W D e t e c t to 1 and enable failure gateway detection; set the value of E n a B l e D e a d G W D e t e c t to 0. detection is prohibited. Enabling the failed Gateway Detection will trigger a loop search for all the listed gateways after several failed transmissions until a gateway that accepts the packets is found.

Increase the buffer memory to improve TCP/IP routing performance

The t c p/I P routing system must allocate memory to store all data packets stored by it. If this value is set too high, the memory will be wasted. If it is set too low, the performance will be reduced. After you find the optimal value by using the "magic" provided by the system administrator, you can follow the steps below to modify the registry:
1) Open the "Start" menu and select "run ". Click Browse to start browsing until Windows 2000 is found.
(Usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate s y s t e m/C u r e n t C o n t r o l S e t/S e r v I c e s/Tcpip/Parameters subitem. Click this subitem to select it. Its value is displayed in the right window.
4) locate the entry with the value F o r w a r d B u ff e r M e m o r y. Use the D Wo r d editor to change its value to a multiple of 1 4 8 0, and it should be rounded to a number that can be divisible by 2 5 6. The multiples of 1 4 8 0 are the number of 5 0 data blocks that the buffer can accommodate at the same time.

Check the default DHCP gateway address of the TCP/IP Server

D h c p tries to send all data packets to a known I P address. In some cases, d h c p may not recognize an I P address. Therefore, you need to forward the address to another gateway and try another route. You can use the following steps to access the registry entries that save the host names of all gateway servers (the d h c p server will send unidentifiable packets to them:

1) Open the "Start" menu and select "run ". Click Browse to start browsing until Windows 2000 is found.
(Usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate system/CurrentControlSet/services/[a d a p t e r n a m e]/P a r a m e t e r s/TC P I p subitem, [a d a p t e r n a m e] is the NIC connecting d h c p to the current node. Click this subitem to select it. Its value is displayed in the right window.
4) locate the d h c p d e f a u l t g a t e w a y entry. D h c p d e f a u l t g a t e w a y contains multiple strings of the gateway used for data packet routing when the client cannot be found on the d h c p server. If a packet is lost in the subnet, it is likely that the entry is deleted.
Warning do not modify the value of d h c p d e f a u l t g a t e w a Y in the Registry Editor! You must use the configuration tool of d h c p to change this information.

Check the value of DHCP lease renewal for TCP/IP customers

D h c p uses the lease system to allocate addresses in its I P address pool. An active node must be renewed after using the I P address for a period of time. Otherwise, the node must apply for a new lease and reset all internal values (unless the server is offline, otherwise it will cause huge damage to the performance ). To prevent I P address loss during node activity, follow these steps to check the renewal timeout entries for the node in the registry:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the WI n d o w s is found.
2 0 0 0 root directory (usually w I n t). Go to the s y s t e m directory, find r e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a C h I n e. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate SYSTEM/CurrentControlSet/Services/[a d a p t e r n a m e]/P a r a m e t e r s/Tc p I p subitem, [a d a p t e r n a m e] is the NIC connecting d h c p to the current node. Click this subitem to select it. Its value is displayed in the right window.
4) locate the entry with the value of T 1. The value of T 1 indicates how many milliseconds the system tries
D h c p server renews its I P address. Warning do not change the value of T 1 in the registry! You must use the configuration tool of d h c p to change this information.

Set the API Protocol of the TCP/IP server as DHCP

D h c p supports three protocols: t c p/I P, famous pipeline, and Local Procedure Call (LPC ). If you add a customer using different routing protocols to the network, but the customer still needs to use the existing d h c p server, you must follow the steps below to edit the registry:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate s y s t e m/C u r e n t C o n t r o l S e t/S e r v I c e s/D h c p S e r v e r/P a r a m e t e r s subitem. Click this subitem to select it. Its value is displayed in the right window.

4) locate the entry with the value a p I P r o t o c o l S u p o r t. According to the required protocols, use the D Wo r d editor to change the value of a p I P r o t o c o l S u p o r t to the value in Table 5-1.
Table 5-1 values used to set the p I protocol of the D H C P Server
A p I protocol with identifiable values
1 t c p/I P
2 famous Pipelines
4 L P C
5 t c p/I P and L P C
7 t c p/I P, L P C and Named Pipe

Set the path for TCP/IP server to back up DHCP data

The d h c p system can record all detected changes in dynamic network configurations. Then, these changes will be written to the backup database before d h c p updates its master information to prevent server crash. To change the location of database files, follow these steps:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window so that
.
3) use the tree control in the left window to locate s y s t e m/C u r e n t C o n t r o l S e t/S e r v I c e s/D h c p S e r v e r/P a r a m e t e r s subitem. Click this subitem to select it. Its value is displayed in the right window.

4) locate the entry with the value B a c k u p d a t a B A S E P A t h. Use the string editor to change the value of B a c k u p d a t a B A S E P A t h to a new directory.

Enable the DHCP log function of the TCP/IP server for crash recovery

The d h c p system can record detected changes in dynamic network configurations to log files. If the server crashes before creating the backup database, you can use this log file. By default, this feature is enabled, but it will affect the performance. If you need to disable this feature, you can modify the Registry as follows:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the WI n d o w s is found.
2 0 0 0 root directory (usually w I n t). Go to the s y s t e m directory, find r e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a C h I n e. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate s y s t e m/c u r e n t C o n t r o l s e t/s e r v I c e s/d h c p s e r v e r/P a r a m e t e r s subitem. Click this subitem to select it. Its value is displayed in the right window.
4) locate the entry with the value d a t a B a s e l o g I n g f l a G. Use the D wo r d editor to change this value to 0 to prohibit logging, and change to 1 to allow logging.

 

Set the nameserverport value of the TCP/IP server netbeui

Microsoft WINS listening port 0x8 9, which is the default setting used by N e t B e u I. If you are using a non-Microsoft WINS server, you may need to modify the Registry to change this value:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate the SYSTEM/CurrentControlSet/Services/Netbt/Parameters subitem. Click this subitem to select it. Its value is displayed in the right window.
4) locate the entry with the value N a m e S e r v e r P o r t. Use the D Wo r d editor to change this value to the port number that provides custom w I N S implementation.

Set the node type of NetBEUI for TCP/IP Server

N e t B e u I can use several methods to identify the name in its system. Follow these steps to modify the registry and configure the registry:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate the SYSTEM/CurrentControlSet/Services/Netbt/Parameters subitem. Click this subitem to select it. Its value is displayed in the right window.
4) locate the N o d e Ty p e entry. Use the D Wo r d editor to change the value to one of the values shown in Table 5-2 based on the type of the name server used by your network.
Table 5-2 sets the name server type value for TCP/IP NetBEUI Name Recognition
Value Node Type Recognition
1 B-N o d e Broadcast
2 P-N o d e w I N S point-to-point
3 M-N o d e broadcast, then W I N S
4 H-N o d e w I N S, then broadcast
5.2.13 set the NetBEUI session's Keep-Alive Value
The K e E p-A l I v e value used by the N e t B e U I session determines whether A specified node has stopped working. You can subtract
Detects the network time interval of key tasks, or even completely disables detection. To change the K e p-A l I v e value through the registry, follow these steps:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate the SYSTEM/CurrentControlSet/Services/Netbt/Parameters subitem. Click this subitem to select it. Its value is displayed in the right window.
4) locate the entry with the value S e s I o n K e p A l I v e. Use the D Wo r d editor to set this value to the time between K e p-A l I v e twice, in milliseconds. Set this value to the hexadecimal value 0 x F can disable all K e p-A l I v e detection.
The default value is 3 600 000 (1 hour ).

Change the timeout time of the WINS name server trying to resolve the address on the TCP/IP server using NetBEUI

N e t B I o s/N e t B e u I can use w I N S name server, but it may encounter a request timeout problem on a network with heavy load. Modify the Registry as follows to overcome this problem:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate the SYSTEM/CurrentControlSet/Services/Netbt/Parameters subitem. Click this subitem to select it. Its value is displayed in the right window.
4) locate the entry with the value Wi n s D o w n Ti m e o u t. Use the D Wo r d editor to change the value of Wi n s D o w n Ti m e o u t to greater than 15 000 (15 seconds) to prevent improper timeout.

Change the TCP/IP Server IP address Name Server Resolution address order

The four registry entries control the order in which the name service server attempts to obtain the I P address from the name string. The following describes how to set the registry to determine the order in which the I P address name server recognizes addresses:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate the SYSTEM/CurrentControlSet/Services/Netbt/Parameters subitem. Click this subitem to select it. Its value is displayed in the right window.
4) To change the priority of the local name server, set the value of L o c a l P r I o r I t y of D Wo r d to a new value. Setting it to a smaller value can give the local name server a higher priority when identifying the address; setting it to a larger value will reduce the priority of the local name server.
5) To change the host name server priority, set the H o s t s P r I o r I t y value of Type D Wo r d to a new value. Setting host name server to a smaller value gives host name server a higher priority when identifying the address. Setting host name server to a larger value reduces the priority of host name server.
6) to change the priority of the DNS name server (DNS name server, set the D n s P r I o r I t y value of the d Wo r D type to a new value. Setting it to a smaller value gives the d n s name server a higher priority when identifying the address; setting it to a large value will reduce the priority of the d n name server.
7) to change the priority of the N e t B T name server (NetBT name server), set the priority of the D Wo r d type
N e t B t P r I o r I t y is a new value. Setting it to a smaller value gives the N e t B T name server a higher priority when identifying the address 60 using Windows 2000 Registry management; setting it to a large value will reduce the priority of the N e t B T name server.
Warning do not set this N e t B T name server entry for remote network to a number less than 1 0 0 0
Value, otherwise the network will be blocked by the name server request.

Change the excluded TCP/IP Server Name Server Provider

Most t c p/I P networks do not use all name servers to meet their name recognition needs. If there is a new name server in the network and an old-fashioned server is deleted from the system, follow these steps:
Modify the Registry to reflect this change:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, select it in the dialog box, and click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.

2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window for ease of use.
3) use the tree control in the left window to locate the SYSTEM/CurrentControlSet/Services Provider/Order sub-
. Click this subitem to select it. Its value is displayed in the right window.
4) locate the entry with the value E x c l u d e P r o v I d e r s. Use the multi-string editor to enter and (or) delete entries in table 5-3 (only numbers are used, not names ). Use spaces to separate numbers.
Warning remember that entries in the value E x c l u d e d P r o v I d e r are excluded from the nameserver recognition activity.
Table 5-3 is used to exclude the Service Number of the name server type in the TCP/IP Socket.
Service No. Service No. Service
1 n s _ s a p 2 0 n s _ N B P
2 n s _ n d s 3 0 n s _ M S
1 0 n s _ t c p I P _ L O C A L 3 1 N S _ S T D
11 n s _ t c p I p _ h o s t s 3 2 N _ C A R I O
1 2 n s _ d n s 4 0 n s _ X 5 0 0
1 3 n s _ n e t B t 4 1 n s _ N I S
1 4 n s _ W I N S

Change the threshold of Socket data in TCP/IP server traffic control activity

The S o c k e t system uses two values to allow direct data streams without affecting the flow control algorithm. You can change it like below
These values meet the unique LAN conditions:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, and select it in the dialog box.
Click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window so that
.
3) use the tree control in the left window to locate the SYSTEM/CurrentControlSet/Services Provider/Order sub-
. Click this subitem to select it. Its value is displayed in the right window.
4) locate the values of D e f a u l t R e I e Wi n d o w and D e f a u l t S e n d Wi n d o w. Use the D Wo r d editor
If both values are greater than 8 1 9 2, more data flow control is allowed. If both values are less than 8 1 9 2, less data flow control is allowed,
Because of the noise on the local line.

Change the TCP/IP server Socket buffer allocation to improve performance

Windows Socket allocates memory buffers for internal use. You can follow the steps below to change the registry,
Increase the allocated memory and improve the performance of Wi n s o c k:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, and select it in the dialog box.
Click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
.
2) Select the "window" menu item h k e y _ l o c a l _ m a C h I n e. Its subwindows are displayed. Maximize the window so that
.
3) use the tree control in the left window to locate the system/CurrentControlSet/services provider/order sub-
. Click this subitem to select it. Its value is displayed in the right window.
4) according to the memory capacity of the machine, you will find the values I n I t I a l s m a l B u ff e r c o u n t, I n I t I a l e d I u m B u FF E R
C o u n t and I n I t I a l a rg e B u FF E R c o u n t entries. Use the D wo r d editor to change the value of the large buffer to 0 to 1 0.
Change the value of the buffer to 0 to 3 0, and change the value of the small buffer to 0 to 5 0.
The system prompts that the memory capacity of a small memory machine is less than 2 0 m B. The memory capacity of the medium memory machine is 2 0 m B to 1 2 5 m B.
The memory capacity of large memory machines is 1 2 5 MB or above.

Set the number of threads used by the TCP/IP server wins

The w I n s service generates a large number of working threads to help them complete tasks. Set the maximum number of threads.
It depends largely on local conditions and the "art" of resources ". The maximum number of threads can only be set by modifying the registry:
1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the WI n d o w s is found.
2 0 0 0 root directory (usually w I n t). Go to the s y s t e m directory, find r e g e d t 3 2. e x e, and select it in the dialog box.
Click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window so that
.
3) use the tree control in the left window to locate s y s t e m/C u r e n t C o n t r o l S e t/Wi n s/P a r a m e t e r s subitem. Click
Select this subitem and display its value in the right window.
4) locate the N o O f Wr k T h d s entry. Use the D Wo r d editor to change the value to a value between 0 and 4 0.
Note that the default value of N o O f Wr k T h d s is the number of processors on the server computer.

Change the process priority of TCP/IP server WINS

W I N S is also the same process as other processes. Changing the process priority sometimes helps the network performance.
The following describes how to change the default process priority of w I N S:

1) Open the "Start" menu and select "run ". Click the Browse button to start browsing until the Wi n d o w s is found.
2 0 0 0 root directory (usually w I N T). Go to the S y s t e m directory, find R e g e d t 3 2. e x e, and select it in the dialog box.
Click OK. The Registry Editor is started to display all configuration units in different stacked subwindows.
.
2) Select the "window" menu item h k e y _ l o c a l _ m a c h I N E. Its subwindows are displayed. Maximize the window so that
.
3) use the tree control in the left window to locate s y s t e m/C u r e n t C o n t r o l S e t/Wi n s/P a r a m e t e r s subitem. Click
Select this subitem and display its value in the right window.
4) locate the entry with the value P r I o r I t y C l a s H I g h. Use the D Wo r d editor to change the value to 1 to ensure that the w I N S process does not
It is preemptible by other unimportant processes (such as email routines.

Trackback: http://tb.blog.csdn.net/TrackBack.aspx? PostId = 5735

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.