The invention discloses a
network performance adjusting and optimizing method and
system after an
operating system is upgraded, the method is applied to stock equipment after the
operating system is upgraded, and the method comprises the following steps: acquiring a time
delay value interval of a network card
chip, and detecting a
network connection state; if the network is connected, traversing all the time
delay values in the time
delay value interval to detect the
network connectivity, adding the time delay values with normal
network connectivity into an available time delay
value set, and calculating
network performance scores of all the time delay values in the available time delay
value set; selecting the time delay value with the highest
network performance score, writing the time delay value into a corresponding register, and associating the time delay value with a corresponding link connection event; and if the network is not connected, performing a single-
machine loopback test on the time delay values with abnormal
network connectivity, adding the time delay values with normal single-
machine loopback test into an available time delay
value set, selecting an intermediate value in the available time delay value set, writing the intermediate value into a corresponding register, and associating the intermediate value with a corresponding link connection event. According to the method and the device, network abnormity
recovery or performance optimization after
system upgrading can be completed without depending on an external test tool.