[GLLUG] Initialising /sys
Alain Williams
addw at phcomp.co.uk
Sun Jul 14 20:51:42 UTC 2013
I am running Centos 6, I wish to tweak something under /sys on boot, what is the
best way of doing it ?
If I want to initialise something under /proc I can put it into /etc/sysctl.conf
--- is there something equivalent for /sys ?
OK: I can always write my own init script, but ....
What I want to achieve is:
echo 1 > /sys/devices/system/cpu/sched_smt_power_savings
which will:
One core will be filled with tasks before tasks will be moved to other
cores. The idea is to concentrate the running tasks on a relatively small
number of cores, allowing the others to remain idle.
Tia
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>
More information about the GLLUG
mailing list