SYMMETRIC MULTI-PROCESSOR LOCK TRACING
First Claim
1. A method of testing, comprising:
- determining, by a lock testing tool, when a particular thread of an executing program in a multi-processor system reaches a predetermined spin threshold; and
commencing, by the lock testing tool, a lock trace operation in response to the particular thread reaching the predetermined spin threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
A symmetric multi-processor SMP system includes an SMP processor and operating system OS software that performs automatic SMP lock tracing analysis on an executing application program. System administrators, users or other entities initiate an automatic SMP lock tracing analysis. A particular thread of the executing application program requests and obtains a lock for a memory address pointer. A subsequent thread requests the same memory address pointer lock prior to the particular thread release of that lock. The subsequent thread begins to spin waiting for the release of that address pointer lock. When the subsequent thread reaches a predetermined maximum amount of wait time, MAXSPIN, a lock testing tool in the kernel of the OS detects the MAXSPIN condition. The OS performs a test to determine if the subsequent thread and address pointer lock meet the list of criteria set during initiation of the automatic lock trace method. The OS initiates an SMP lock trace capture automatically if all criteria or the arguments of the lock trace method are met. System administrators, software programmers, users or other entities interpret the results of the SMP lock tracing method that the OS stores in a trace table to determine performance improvements for the executing application program.
25 Citations
20 Claims
-
1. A method of testing, comprising:
-
determining, by a lock testing tool, when a particular thread of an executing program in a multi-processor system reaches a predetermined spin threshold; and commencing, by the lock testing tool, a lock trace operation in response to the particular thread reaching the predetermined spin threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An information handling system (IHS), comprising
a multi-processor system, a memory coupled to the multi-processor system, the memory being configured with a lock tracing tool that: -
determines when a particular thread of an executing program in the multi-processor system reaches a predetermined spin threshold; and commences a lock trace operation in response to the particular thread reaching the predetermined spin threshold. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product stored on a computer operable medium, comprising:
-
instructions that determine when a particular thread of an executing program in a multi-processor system reaches a predetermined spin threshold; and instructions that commence a lock trace operation in response to the particular thread reaching the predetermined spin threshold. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification