-
Notifications
You must be signed in to change notification settings - Fork 307
Launcher: fix iomp5, add transparent hugepage and add debug option #143
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
Conversation
|
@liangan1 May I know if there is any UT that can cover the launcher? |
liangan1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no UT to cover the launcher.
| if not arg: return | ||
| if os.path.exists(THP_LOC): | ||
| os.system("sync;echo 3 > /proc/sys/vm/drop_caches") | ||
| os.system(f"echo {arg} > {THP_LOC}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it general to all Linux platform about the setting for transparent hugepage ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a kernel feature, so it usually common for all linux distros.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok. thx
@liangan1 We'd better add UT to cover the basic functionalities. |
|
@jgong5 ok |
No description provided.