diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-07-17 13:09:25 +0100 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-07-17 13:09:25 +0100 |
commit | 377582782379c0e2c23fe4e5362154376b6a79e6 (patch) | |
tree | 8d9b0c598ceee0701ac5387a2a7bd5ed3c672095 | |
download | bsp-support-377582782379c0e2c23fe4e5362154376b6a79e6.tar.gz |
Add unit to set cpu frequency governor
This unit sets the cpu frequency scaling governor to on demand.
-rw-r--r-- | nv-ondemand-cpufreq-governor.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nv-ondemand-cpufreq-governor.service b/nv-ondemand-cpufreq-governor.service new file mode 100644 index 0000000..3ea2808 --- /dev/null +++ b/nv-ondemand-cpufreq-governor.service @@ -0,0 +1,10 @@ +[Unit] +Description=NVIDIA Jetson on-demand CPU frequency scaling governor +DefaultDependencies=no + +[Service] +RemainAfterExit=yes +ExecStart=/bin/sh -c 'echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor' + +[Install] +WantedBy=sysinit.target |