From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6727917447142178816 X-Received: by 2002:aa7:d058:: with SMTP id n24mr41029798edo.143.1566475933109; Thu, 22 Aug 2019 05:12:13 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6402:1598:: with SMTP id c24ls1923198edv.3.gmail; Thu, 22 Aug 2019 05:12:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDOohbfSYrlAbJPsxQpZ6iMXjl45pTOxC1HbK5yd1wwfg4Oeto4HR2C6hrYofp+p3sL0E2 X-Received: by 2002:a50:ba68:: with SMTP id 37mr41485250eds.216.1566475932455; Thu, 22 Aug 2019 05:12:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566475932; cv=none; d=google.com; s=arc-20160816; b=uE1xe8lBsqZfGIf8hObQOS43jn4tIVF/TuAzYpNIW9tHsGLop7bY2mz3CcMvYiLtFc gw3cpOpG0vEU9FdQd0ElXyByt7/h7WVrF2nI0SlHHPp8lMlbIk7zRUUo5CPdSw0DDgry QUEFR/oIo4jfSnu/F5N3bSDgydDyIkCnc5ajMBtuvTvPIgF/RoqJwD9IxKsXNnE1co45 LGRObWnEIkUdtrEWgRQD1EvMBO3pYkblKRfsijwO8JMXnxglG71/9jJnnNGSF8tTyfVS 5MCsssfdXfG2Ix9kPxvGoYZT+7aVbbdPEp0fz+MX0tB5w63QNiindjt1Kl13RzzihZem Qiqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject; bh=wyF+OXhFKF542fFxLcP+vEWOTz7H5GuB5o7cyLz65Fk=; b=Yt6rU4o1t40i527EPAll6X2qdFBHo+Rot+zsX51pPSMXj6MHAbCALaSXlH8iJ6rFtg 5btE2w7n/WtkuiNiutX209wiwFwmBykY0AYc8Obzr7l+wisUESw4ZSIXwX3ig+Bn7xwy ITCGSm9FD2R2uiNP2euBiYK5nkQEkw+xXMHKfcV+IB8WpNbGAQ+L+VRDLFNOyis6uOLW cU8ESeYYUjCx9ABzABeR2pigbO/uYap+XvKiZg+ZRBEh0mj2psioBuC1LB66PTchRtRI 9M+c6lrfXNYjb65qkMnnD1Emqbqx7R7t/ieT0113bfcmlkXqljS7Hhk3bg1keyezhZdk hY2A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id m16si1586083edv.2.2019.08.22.05.12.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Aug 2019 05:12:12 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id x7MCCB9e004354 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 22 Aug 2019 14:12:12 +0200 Received: from [139.25.68.37] (md1q0hnc.ad001.siemens.net [139.25.68.37] (may be forged)) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x7MCCBcw016718; Thu, 22 Aug 2019 14:12:11 +0200 Subject: Re: [PATCH] bitbake.conf: set BB_NICE_LEVEL to lower task prios To: "[ext] Henning Schild" , Baurzhan Ismagulov Cc: isar-users@googlegroups.com References: <20190822091546.21698-1-henning.schild@siemens.com> <20190822131521.5116d6f7@md1za8fc.ad001.siemens.net> <20190822112411.GH20236@yssyq.m.ilbers.de> <20190822140303.5cb82737@md1za8fc.ad001.siemens.net> From: Jan Kiszka Message-ID: <798d0abc-3598-2517-340f-628ea81c85a6@siemens.com> Date: Thu, 22 Aug 2019 14:12:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190822140303.5cb82737@md1za8fc.ad001.siemens.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: QqaD28mLgwPN On 22.08.19 14:03, [ext] Henning Schild wrote: > Am Thu, 22 Aug 2019 13:24:11 +0200 > schrieb Baurzhan Ismagulov : > >> On Thu, Aug 22, 2019 at 01:15:21PM +0200, Henning Schild wrote: >>>>> +BB_NICE_LEVEL ?= "10" >>>> >>>> Not set by OE by default. Isn't that something for local tuning? >>> >>> I know. But we either carry it in all kas files or centrally in the >>> bitbake.conf. This could also be a default for kas local.conf >>> creation ... Just wanted to propose it and hear the feedback. >> >> I also think kas could be a better candidate. Performance is the >> last, but important goal of Isar, why reduce it by default for new >> users if more experienced users can easily do it locally. > > If you are not doing anything else on your machine the niceness will > not decrease the performance. BTW, I never experience major issues with running full load like this in parallel to editors or browsers. Of course, if you have a time sensitive application running, multimedia etc., you feel the difference. Then I'm usually just doing "docker update --cpus ". And I suspect "--cpu-shares " will do similar things as this nice level, just never tried. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux