Mailinglist Archive: opensuse-buildservice (348 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH 3/6] obsworker: use nice level 18 by default, not 19
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Tue, 13 Apr 2010 10:50:05 +0200
  • Message-id: <201004131050.06175.adrian@xxxxxxx>

merged.

Am Montag, 12. April 2010 22:27:52 schrieb Jan Engelhardt:
perl's testsuite for example depends on the level after the nice
switch it does be lower than before - which is not the case when run
with 19.

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
---
dist/obsworker | 2 +-
dist/sysconfig.obs-worker | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/dist/obsworker b/dist/obsworker
index 295f19c..ad2f82d 100755
--- a/dist/obsworker
+++ b/dist/obsworker
@@ -54,7 +54,7 @@ fi
if [ -n "$OBS_WORKER_NICE_LEVEL" ]; then
OBS_NICE=$OBS_WORKER_NICE_LEVEL
else
- OBS_NICE=19
+ OBS_NICE=18
fi

if [ -n "$OBS_REPO_SERVERS" ]; then
diff --git a/dist/sysconfig.obs-worker b/dist/sysconfig.obs-worker
index 3838d3c..b5e9345 100644
--- a/dist/sysconfig.obs-worker
+++ b/dist/sysconfig.obs-worker
@@ -118,13 +118,16 @@ OBS_CACHE_SIZE=""
## Path: Applications/OBS
## Description: Defines the nice level of running workers
## Type: integer
-## Default: 19
+## Default: 18
## Config: OBS
#
# Nicenesses range from -20 (most favorable scheduling) to 19 (least
# favorable).
+# Default to 18 as some testsuites depend on being able to switch to
+# one priority below (19) _and_ having changed the numeric level
+# (so going from 19->19 makes them fail).
#
-OBS_WORKER_NICE_LEVEL=19
+OBS_WORKER_NICE_LEVEL=18

## Path: Applications/OBS
## Description: Set used VM type by worker



--

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >