发明名称 |
Method for managing a processor, lock contention management apparatus, and computer system |
摘要 |
A method for managing a processor includes: obtaining an online request of a processor of a computer system; collecting lock contention information of the computer system if a lock contention status flag indicates a non-lock thrashing status; determining whether the computer system is in a lock thrashing status according to the lock contention information; and accepting the online request if it is determined that the computer system is in a non-lock thrashing status. By using the management method according to embodiments of the present application, processor performance degradation and a waste of idle processor resources that are caused by the case that the computer system is in a lock thrashing status are prevented, thereby improving utilization efficiency of processor resources and promoting overall performance of the computer system. |
申请公布号 |
US9164765(B2) |
申请公布日期 |
2015.10.20 |
申请号 |
US201414274294 |
申请日期 |
2014.05.09 |
申请人 |
Huawei Technologies Co., Ltd. |
发明人 |
Zhang Xiaofeng;Zheng Han |
分类号 |
G06F9/52;G06F9/30 |
主分类号 |
G06F9/52 |
代理机构 |
Brinks Gilson & Lione |
代理人 |
Brinks Gilson & Lione |
主权项 |
1. A method for managing a processor of a computer system, comprising:
obtaining an online request of a processor, the online request requesting an online status of the processor; collecting lock contention information of the computer system if a lock contention status flag of the computer system indicates a non-lock thrashing status; determining whether the computer system is in a lock thrashing status according to the lock contention information; and accepting the online request of the processor, which is in an available status in the computer system when it is determined that the computer system is in the non-lock thrashing status. |
地址 |
Shenzhen CN |