Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3473381ybn; Fri, 27 Sep 2019 06:56:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqynJXc7rCI67dOSMcq0g4lkfguANl7jgXNkQKx3GdwMRa8KB9fnDlVT6hEY1AykbemP9rxS X-Received: by 2002:a50:ab58:: with SMTP id t24mr4686227edc.131.1569592602406; Fri, 27 Sep 2019 06:56:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569592602; cv=none; d=google.com; s=arc-20160816; b=0WAvM0X2O8/ROAXXClNuhhF4FVIKAdJ56OiI7KvInzrpTit8QLuSoKQb+N9tqN4PlQ uSJeJplJUwyeTNC6zN52TrMQvhTnOcrMwdvF9pRH4EWIj/N39IznIwxDVO8avfkDRonj lbzPnz2h+DDxq0z7JchZOZu9L9DRZfXhwaRdi3FkNnAnllgnrRaZFgy8CYYoa1Q4QGTK 5o2yjvLlEdXCt3iSrwUo5NxIw+e2USWcHs2O1ZT6gXNi2fjXVRQJy2/7owzGoNASfUAq LfudVjvYcrq6Ykg9L8KTCHHZE80ifyz3D2+HiXoJUoDXzg6q8ElGGIGI0zUhzG8iWkLV oNig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=bJj1PpPUvUSBtA4XOMgx2WNCDCx+6TVX7kHQnwJsCkU=; b=1El7YSQ1lEf2LreWg307O82xF3ZQ1dzhi0wq9i5bU8z6Z1kqguulH50SXZQZ/uTPft TqJK8dbs8W6BcdSbQMimQ8F8GlHixsEf8i5yT8YcFNEoJjw8Mei81lACaWbiGGyS7OFX nUckgY6r14BCwIIM4ISYTb33dbwLYATZSzSDyq6PLWGjVU6dWj4aSlcba/uGkzeZIjrQ l1QXlniWmqzdGceQvIEKkmOmvw8wNOfleE8UpaZFjjDlWfLiNOJEqRmUpoxOAhq/n+qX EHtiF7vCxtdTCGIK3v0PLGJmH33LeCIinIebPbOSaEuhL9OMVlOtw2bvnf/A0KFdqZOQ 3XTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s2si2772872ejj.327.2019.09.27.06.56.17; Fri, 27 Sep 2019 06:56:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727640AbfI0NxI (ORCPT + 99 others); Fri, 27 Sep 2019 09:53:08 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:60707 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbfI0NxI (ORCPT ); Fri, 27 Sep 2019 09:53:08 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id DB93D80551; Fri, 27 Sep 2019 15:52:51 +0200 (CEST) Date: Fri, 27 Sep 2019 15:53:00 +0200 From: Pavel Machek To: Parth Shah Cc: Valentin Schneider , Patrick Bellasi , linux-kernel@vger.kernel.org, Peter Zijlstra , subhra mazumdar , tim.c.chen@linux.intel.com, mingo@redhat.com, morten.rasmussen@arm.com, dietmar.eggemann@arm.com, pjt@google.com, vincent.guittot@linaro.org, quentin.perret@arm.com, dhaval.giani@oracle.com, daniel.lezcano@linaro.org, tj@kernel.org, rafael.j.wysocki@intel.com, qais.yousef@arm.com, Patrick Bellasi Subject: Re: Usecases for the per-task latency-nice attribute Message-ID: <20190927135259.GB3557@bug> References: <3e5c3f36-b806-5bcc-e666-14dc759a2d7b@linux.ibm.com> <87woe51ydd.fsf@arm.com> <77457d5b-185e-1548-4a5c-9b911b036cec@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > I don't want to start a bikeshedding session here, but I agree with Parth > > on the interpretation of the values. > > > > I've always read niceness values as > > -20 (least nice to the system / other processes) > > +19 (most nice to the system / other processes) > > > > So following this trend I'd see for latency-nice: > > > So jotting down separately, in case if we think to have "latency-nice" > terminology, then we might need to select one of the 2 interpretation: > > 1). > > -20 (least nice to latency, i.e. sacrifice latency for throughput) > > +19 (most nice to latency, i.e. sacrifice throughput for latency) > > > > 2). > -20 (least nice to other task in terms of sacrificing latency, i.e. > latency-sensitive) > +19 (most nice to other tasks in terms of sacrificing latency, i.e. > latency-forgoing) For the record, interpretation 2 makes sense to me. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html