发明名称 Method, apparatus, and computer program product for dynamically tuning a data processing system by identifying and boosting holders of contentious locks
摘要 A method, apparatus, and computer program product are disclosed for a simultaneous multithreading (SMT) data processing system for modifying the processing of software threads that acquire a contentious software lock. The system includes a processor that is capable of concurrently executing multiple different threads on the processor. The processor is also capable of utilizing hardware thread priorities assigned to each thread the processor is processing by granting a greater, disparate amount of resources to the highest priority thread. A hardware priority is assigned to each one of the SMT threads. A contentious lock is identified. Ones of the multiple threads are identified that attempt to acquire the contentious lock. These threads are dynamically redirected to special code for handling contentious locks. The hardware priority of a thread acquiring a contentious lock is then boosted. According to the preferred embodiment, the present invention redirects callers of a locking function to a "hot" locking function when the lock they are acquiring has been classified as "hot", and vice versa.
申请公布号 US7458076(B2) 申请公布日期 2008.11.25
申请号 US20040912500 申请日期 2004.08.05
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 SWANBERG RANDAL CRAIG;WARRIER SURESH ESWARA
分类号 G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址