Abhik SARKAR - Foster City CA, US Jiwei LU - Pleasanton CA, US Palanivelrajan Rajan SHANMUGAVELAYUTHAM - San Jose CA, US Jason M. AGRON - San Jose CA, US Koichi YAMADA - Santa Clara CA, US
International Classification:
G06F 9/50 G06F 12/08 G06F 9/445 G06F 12/02
Abstract:
Technologies for partial binary translation on multi-core platforms include a shared translation cache, a binary translation thread scheduler, a global installation thread, and a local translation thread and analysis thread for each processor core. On detection of a hotspot, the thread scheduler first resumes the global thread if suspended, next activates the global thread if a translation cache operation is pending, and last schedules local translation or analysis threads for execution. Translation cache operations are centralized in the global thread and decoupled from analysis and translation. The thread scheduler may execute in a non-preemptive nucleus, and the translation and analysis threads may execute in a preemptive runtime. The global thread may be primarily preemptive with a small non-preemptive nucleus to commit updates to the shared translation cache. The global thread may migrate to any of the processor cores. Forward progress is guaranteed. Other embodiments are described and claimed.