commit | ff710fb2bb8e6192e3bdacea0e3874c4a17f23f4 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Wed Jan 24 11:35:12 2018 -0800 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Feb 08 17:20:18 2018 +0000 |
tree | 1ec8554d6cb5e71daf50b91013b27f9433e218eb | |
parent | ae27e703ba15a79b0eff0f922d99384debc97235 [diff] |
Run legacy services with lowest priority The early boot of the BMC sees a lot of processes start at the same time (right after mapper completes). The loading of these legacy python services contributes a lot of un-needed workload to the CPU during this time. The eventual goal is to simply remove these services but until that is done, ensure they run with the lowest priority. Resolves openbmc/openbmc#2825 Change-Id: I71e14b02ec943ebe3f64e1818c4fbd7699e690bf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service b/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service index f57e9d8..aad06b1 100644 --- a/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service +++ b/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service
@@ -8,6 +8,8 @@ Type=dbus BusName={BUSNAME} Environment="PYTHONUNBUFFERED=1" +Nice=19 +TimeoutStartSec=180s [Install] WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service b/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service index 4a9232b..442ed84 100644 --- a/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service +++ b/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service
@@ -8,6 +8,8 @@ Type=dbus BusName={BUSNAME} Environment="PYTHONUNBUFFERED=1" +Nice=19 +TimeoutStartSec=180s [Install] WantedBy={SYSTEMD_DEFAULT_TARGET}