summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2018-01-24 11:35:12 -0800
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-08 17:20:18 +0000
commit84082c960a14d3fbb6fb8324c3bd6ea4f547b594 (patch)
tree1f3e0fa22a48ef1381569b7630db3f910512f66e /meta-phosphor/common/recipes-phosphor
parent778f1cff7ba0e85dc6f604a511b37eee9b4f808c (diff)
downloadtalos-openbmc-84082c960a14d3fbb6fb8324c3bd6ea4f547b594.tar.gz
talos-openbmc-84082c960a14d3fbb6fb8324c3bd6ea4f547b594.zip
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>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service2
-rw-r--r--meta-phosphor/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service2
-rw-r--r--meta-phosphor/common/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service2
-rw-r--r--meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service2
-rw-r--r--meta-phosphor/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service2
-rw-r--r--meta-phosphor/common/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service2
6 files changed, 12 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service
index f57e9d849..aad06b102 100644
--- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service
+++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service
@@ -8,6 +8,8 @@ SyslogIdentifier=chassis_control.py
Type=dbus
BusName={BUSNAME}
Environment="PYTHONUNBUFFERED=1"
+Nice=19
+TimeoutStartSec=180s
[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service
index 4a9232b84..442ed8479 100644
--- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service
+++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service
@@ -8,6 +8,8 @@ SyslogIdentifier=inventory_items.py
Type=dbus
BusName={BUSNAME}
Environment="PYTHONUNBUFFERED=1"
+Nice=19
+TimeoutStartSec=180s
[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/meta-phosphor/common/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service b/meta-phosphor/common/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service
index f3ff75dfe..0dc959d25 100644
--- a/meta-phosphor/common/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service
+++ b/meta-phosphor/common/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service
@@ -8,6 +8,8 @@ SyslogIdentifier=download_manager.py
Environment="PYTHONUNBUFFERED=1"
Type=dbus
BusName={BUSNAME}
+Nice=19
+TimeoutStartSec=180s
[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service b/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service
index 92f68dbbc..b9da01e03 100644
--- a/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service
+++ b/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service
@@ -8,6 +8,8 @@ SyslogIdentifier=sensor_manager2.py
Type=dbus
BusName={BUSNAME}
Environment="PYTHONUNBUFFERED=1"
+Nice=19
+TimeoutStartSec=180s
[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/meta-phosphor/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service b/meta-phosphor/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service
index b0f4a5d28..fbb64d581 100644
--- a/meta-phosphor/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service
+++ b/meta-phosphor/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service
@@ -11,6 +11,8 @@ Environment="PYTHONUNBUFFERED=1"
Restart=always
Type=dbus
BusName={BUSNAME}
+Nice=19
+TimeoutStartSec=180s
[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/meta-phosphor/common/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service b/meta-phosphor/common/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service
index b5f6b3f2a..b2354ab5f 100644
--- a/meta-phosphor/common/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service
+++ b/meta-phosphor/common/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service
@@ -10,6 +10,8 @@ SyslogIdentifier=system_manager.py
Type=dbus
BusName={BUSNAME}
Environment="PYTHONUNBUFFERED=1"
+Nice=19
+TimeoutStartSec=180s
[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}
OpenPOWER on IntegriCloud