Skip to content

JIT deepest function firstly #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

JIT deepest function firstly #12

wants to merge 1 commit into from

Conversation

wxue1
Copy link
Owner

@wxue1 wxue1 commented Mar 28, 2023

Duplicated JITTed code brings overhead for the instruction cache. This patch reduces duplication by JITting deepest inline function first because the same function is JITTed in different root trace or side trace sometimes.
It increases 3% the performance of our workload in tracing mode.

Duplicated JITTed code brings overhead for the instruction cache.
This patch reduces duplication by JITting inlined function
separately if trace is too long because the same function is
JITTed in different root trace or side trace sometimes.
It increases 2%~3% performance of our workload in tracing mode.

Signed-off-by: Wang, Xue   <xue1.wang@intel.com>
Signed-off-by: Yang, Lin A <lin.a.yang@intel.com>
Signed-off-by: Su, Tao     <tao.su@intel.com>
@wxue1 wxue1 force-pushed the JIT_duplication branch from b4abcf6 to 2d9784b Compare June 13, 2023 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant