System and method for increasing OS idle loop performance in a simulator
First Claim
1. A computer-implemented method of improving performance in a simulator environment operable to simulate a platform having a plurality of simulated processors, said platform running an Operating System (OS) program, the method comprising:
- skipping ahead said OS program'"'"'s flow on a first simulated processor by an amount of time (TΔ
) in response to said OS program entering an idle loop condition at time T0 on said first simulated processor, thereby avoiding said idle loop condition by said OS program such that execution of instructions is inhibited on said first simulated processor; and
continuing to execute said OS program on said first simulated processor after skipping ahead by said amount of time TΔ
, whereby system resources associated with a host system upon which said simulator environment is executed are conserved.
4 Assignments
0 Petitions
Accused Products
Abstract
A system and method for increasing Operating System (OS) idle loop performance in a simulator environment. Upon encountering an OS idle loop condition on a processor, OS program flow is skipped ahead by an amount of time, thereby conserving the host machine'"'"'s resources that would otherwise have been spent in supporting the OS idle loop execution. If another processor initiates an inter-processor message directed to a processor whose OS program flow has been skipped forward, that processor is capable of skipping backward in time, if necessary, to service the inter-processor message.
-
Citations
29 Claims
-
1. A computer-implemented method of improving performance in a simulator environment operable to simulate a platform having a plurality of simulated processors, said platform running an Operating System (OS) program, the method comprising:
-
skipping ahead said OS program'"'"'s flow on a first simulated processor by an amount of time (TΔ
) in response to said OS program entering an idle loop condition at time T0 on said first simulated processor, thereby avoiding said idle loop condition by said OS program such that execution of instructions is inhibited on said first simulated processor; andcontinuing to execute said OS program on said first simulated processor after skipping ahead by said amount of time TΔ
, whereby system resources associated with a host system upon which said simulator environment is executed are conserved. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-implemented system for improving performance in a simulator environment operable to simulate a platform having a plurality of simulated processors, said platform running an Operating System (OS) program, the system comprising:
-
means for skipping ahead said OS program'"'"'s flow on a first simulated processor by a predetermined amount of time TΔ
in response to said OS program entering an idle loop condition at time T0 on said first simulated processor, thereby avoiding said idle loop condition by said OS program such that execution of instructions is inhibited on said first simulated processor; andmeans for continuing to execute said OS program on said first simulated processor after skipping ahead by said amount of time TΔ
, whereby system resources associated with a host system upon which said simulator environment is executed are conserved. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer-implemented method of improving performance in a simulator environment operable to simulate a multiprocessor platform, said multiprocessor platform running an Operating System (OS) program, the method comprising:
-
upon encountering an OS idle loop condition at time T0 on a first simulated processor, skipping ahead said OS program'"'"'s flow on said first simulated processor by an amount of time TΔ
to time TA, thereby avoiding said idle loop condition by said OS program such that execution of instructions is inhibited on said first simulated processor; andresponsive to a second simulated processor initiating an inter-processor message directed to said first processor at time T1, where T1 is between T0 and TA, skipping backward said OS program'"'"'s flow on said first simulated processor to time T1, servicing said inter-processor message by said first simulated processor, and thereafter, skipping forward said OS program'"'"'s flow on said first simulated processor to time TA, whereby system resources associated with a host system upon which said simulator environment is executed are conserved. - View Dependent Claims (20, 21, 22, 23, 24, 25)
-
-
26. A computer-implemented system for improving performance in a simulator environment operable to simulate a multiprocessor platform, said multiprocessor platform running an Operating System (OS) program, the system comprising:
-
means for skipping ahead said OS program'"'"'s flow on a first simulated processor by an amount of time TΔ
to time TA upon encountering an OS idle loop condition at time T0 on said first simulated processor, thereby avoiding said idle loop condition by said OS program such that execution of instructions is inhibited on said first simulated processor;means for skipping backward said OS program'"'"'s flow on said first simulated processor to time T1, which is between T0 and TA, said means operating responsive to a second simulated processor initiating an inter-processor message directed to said first simulated processor at time T1; and means for skipping forward said OS program'"'"'s flow on said first simulated processor to time TA upon servicing said inter-processor message by said first simulated processor, whereby system resources associated with a host system upon which said simulator environment is executed are conserved. - View Dependent Claims (27, 28, 29)
-
Specification