Wiki Home TROUBLESHOOTS Solve client lagging
Solve client lagging
Cause of the client
For the problems caused by the client itself, the causes can be found in the following aspects:
Causes of the client network card
- Network card brand: the network card is divided into 100Mbps network card, 1000Mbps network card, independent network card and integrated network card. The 1000Mbps network card is better than the 100Mbps network card. The independent network card is better than the integrated network card. The diskless systems are recommended to use the 1000Mbps network card, for example, the Realtek 8111 series, Realtek 8169 series, the NF, Atheros brands are not recommended.
- Network card driver: The same network card differs in performance if using different drivers.
- Optimization of network card: The optimization methods of different network cards have great influence on the performance of clients. Please refer to "Client OS system optimization" for details.
- If the client has virus the it will use up all system resources, CPU and RAM and cause the client to slow down and lag while playing games:
To fix this, run virus scan on the image using antivirus program or delete the file infected by the virus and re install the files
Cause of the client write-back speed
- CCBootCloud software can use the client's RAM to set up the client write cache. Please refer to the "Client Cache" chapter.
- CCBootCloud can identify the remaining physical RAM which can be used to set up the client write cache.
Problem of the image package
If the image package is not optimized, it will cause the lag on the client. Please refer to the "Client OS system optimization" for optimizing clients before image upload.
Cause of server
- The server system is not optimized.
- The network card of the server is not optimized. Please refer to "Server and client network optimization".
- The hard disk speed of the server influences the client directly. Use the HDTune tool to test the speed of the hard disk of the server. If the speed is less than 100 MB/s, then it should be replaced into a faster hard disk.
- The all disk should be formatted NTFS with a 32K allocation unit..
- The idleness rate of the disk influences greatly on the smoothness of the client. Use the CCBoot to "check the disk performance" and the load and cluster size can be checked.
Note: Allocation units also play a significant role in game performance, as we have found some games will experience lag if allocation unit is 4K, after changing to 32K the lag experienced was resolved.
Use the Cloud Panel to check the disk performance.
On the Boot page, click the disk tab and note the "Cluster" and idle (%) at the right (Figure 1).
In the diagram above, the second indicator shows the idleness rate of the disk. The bigger the percentage is, the smaller the load pressure of the disk is. The first indicator shows the size of the cluster. The recommended size is 32K.
If the idleness of any of the disk is lower than 70% for a long time, then you need to redo the cache settings and optimize the RAM cache for each disk. Normally increasing the RAM cache size helps.
Cause of the network
Problem of the quality of the switch
- The quality of the main switch and the sub switch's hardware can influence the speed of the client directly.
- If the switch is aging, a new switch is needed to replace it.
The setup of the parameters of switch
- Smart switches have flow control functions, which can influence the speed of clients, so the function should be disabled.
- Some advanced routers have the flow control and terminal control function, these should also be disabled.
Problem of the Internet
- The test of the hard disk speed of the client has two kinds of situations: The first kind is to use the switch to test the hard disk speed of the client that is connected to the server with the switch. The other kind is to connect the client with the server directly without the switch to test the hard disk speed of the client. By comparing the test results, we can check whether it’s the problem of the network.
- Use HDTune tools to test the speed of the client game disk and the system disk. If the hard disk speed of the client can’t reach 20MB/S, then the cause of lag is the network.
Cause of the third-party software
Because of the third party software, the browsing of the web by the client can slow down and the web games will not be smooth.
If the latest "Thunder Kankan" software is installed, the operation of the client will not be smooth. If the third-party software is needed to be installed, then the following procedures can be referred to:
- Boot one client with a superclient.
- After booting the diskless client, install the latest "Thunder Kankan" and reboot the client.
- After rebooting the client, offload the "Thunder Kankan" player, reboot the client and shut off the client.
- Disable the super client on the CCBootCloud server.
After booting the client diskless, the Thunder Kankan player doesn’t exit, but the plugins of Thunder Kankan still remain in the system, which doesn’t influence watching films online, but playing web games can be unsmooth.
Some software caused big write-back data. You can find and stop/remove them. Please refer to "Find Large Write-back Speed Program"