Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MojitOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sepia-pub
MojitOS
Commits
c348a8df
Commit
c348a8df
authored
1 year ago
by
Georges Da Costa
Browse files
Options
Downloads
Patches
Plain Diff
Corrects the documentation on how to use RAPL on Intel as user
parent
2370da82
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#9154
passed
1 year ago
Stage: build-option
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-4
4 additions, 4 deletions
README.md
with
4 additions
and
4 deletions
README.md
+
4
−
4
View file @
c348a8df
...
...
@@ -77,7 +77,7 @@ make
```
You may want to run
`./configure.sh --help`
to see configuration options.
To use
`amd_rapl`
you have to load the module
`msr`
To use
`amd_rapl`
you have to load the module
`msr`
and use mojitO/S as root
```
bash
sudo
modprobe msr
```
...
...
@@ -85,10 +85,10 @@ To execute mojitos without being root to monitor performance counters
```
bash
sudo
sh
-c
'echo 0 >/proc/sys/kernel/perf_event_paranoid'
```
To execute mojitos without being root for accessing RAPL
To execute mojitos without being root for accessing RAPL
on Intel
```
bash
sudo chmod
a+
w
/sys/class/powercap/intel-rapl/
*
/
*
sudo chmod
a+
w
/sys/class/powercap/intel-rapl/
*
/
*
/
*
sudo chmod
a+
r
/sys/class/powercap/intel-rapl/
*
/
*
sudo chmod
a+
r
/sys/class/powercap/intel-rapl/
*
/
*
/
*
```
For now likwid backend needs mojitos to run root privileges
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment