Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp874671ybx; Thu, 31 Oct 2019 02:13:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqy6rL9Kum6ym/z/ntndeGR0g5SWlRXBuM+ZhTk9Z6SH3APChkOrUG4IRjfFoDlL9iajjgjK X-Received: by 2002:a17:907:2113:: with SMTP id qn19mr2663060ejb.83.1572513206735; Thu, 31 Oct 2019 02:13:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572513206; cv=none; d=google.com; s=arc-20160816; b=0NQzDSwfRqhnlaiJp9ZBf59Hyk8MUycS9X3w8XQwS8hYdw//dzEyW1clQhoiOne5to QeOZdG1HSABpFqsISH3AF/jq0x/B7x/Q2WS8Qb41HM+oA4YHt/HYBVekbfHoZezQsdaD kpFlXnsOCLEq6U2VuEh5vRnykpF0meKs9RhuReNCvjJ8jF6deuuz4LTK0FsrTVoji4n9 56EIkR+QxH8SbN5XSwH8diVIWOuZe8pgE1zSinO2EMaS+FP1PhW8FtRftfWV6yNtipDC K0EmWqP/LGt/bBAcnRHYljawCrKc9zvxt2MN30xKtMYDNy9IKYzPFWpHopA0J90IEYFJ sYew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/Lv73JiCWLtWEy3FTQd5lrp9xehnWHWF4XPkKNuD8mk=; b=y0/EM31Kd2DtPAvs8LLAz+kL2b2FY4ru9u5dc4j2RDoeGCycG7TGSVnbKrDG9cPp6U w6sthgrZ/TXq03324wSvOhGoNkeLNxIas+8Nrc5TaZmZvlTc+2WtOEe4AbpkuS9rKJtg aujNUOnjVcCssBFhVDut+5/Geib6EPo/qlmAURTe4EVeATffw9ln7wiJuJOfaQ6M1qM4 5t6cN/PWnZpwoM4uh2yh+6rH2uRIVqYeQxxoTwXJ3hux8UDp0dAXqTY9pVx4V33jkz1I cvRiUN/VOSExGanOW2I5tFQhIjFh6CZZHy7OM1zOad35sTt/26pnnYnrIOpjLOMb0vQ9 ql9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d413wvAa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6si3723565edl.442.2019.10.31.02.13.02; Thu, 31 Oct 2019 02:13:26 -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; dkim=pass header.i=@linaro.org header.s=google header.b=d413wvAa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726982AbfJaJMQ (ORCPT + 99 others); Thu, 31 Oct 2019 05:12:16 -0400 Received: from mail-il1-f193.google.com ([209.85.166.193]:41171 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726776AbfJaJMQ (ORCPT ); Thu, 31 Oct 2019 05:12:16 -0400 Received: by mail-il1-f193.google.com with SMTP id z10so4706995ilo.8 for ; Thu, 31 Oct 2019 02:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/Lv73JiCWLtWEy3FTQd5lrp9xehnWHWF4XPkKNuD8mk=; b=d413wvAa80v4t9WpIAhVU5WrSgcRhEoG1wqderlTcVxTEhPKdUhGRNSrdi0TNzc/CE qrkw169FM2yEwPxLe9F0W3u9H4U7huhPt75shmNH9GyTP62O/ueRAep0lDUfGw9bmvi8 OOFppavA/c3e1s9m1TO1qk5v0NBBFl2vbwLnQMo54fvqU4vTLVzSN70X2fDVI+ZeptiR dF3bwq3rLcKfzvaBkE/D3Z1P5gS38yVPLt8MlqwOsAMha1Dw+AZfOjeqqCmp99yEe+Wk 5Ms4uamyqLBYwELFj8wDnNwXdEW2WstZ+dVmYVA7YXr954pxXmWSk1XZgRSEmwKWTuZw uo6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/Lv73JiCWLtWEy3FTQd5lrp9xehnWHWF4XPkKNuD8mk=; b=iqWA7t3LvjTUhqOGo3OIuStI85vDAiOwN4XTS5B6qkZFpFla8xCJL9u+8rCvp3jWxq 99DmhJShgbmLcY2lsuEWkJBWSQPC2lFX6d8xzFLp7JRWfF3rf5HWGNyxxw+96Flb3qPB QvBPeFNGU+XHBjgIVQ6AH3/cxd1fAjYhAsPgnji1in3NMQ+hhQd+x7kTJSjg13uvyOpj MeKGdBTglVNnrxRzcBRTrZmz7Stn5no/Ud9EpGYwQFyFkE2RW7EVNG9lbCLYXc6WiyH4 hxLw1Ihywc6bx54+p98MCyOKV+RdcYhjFbEvoCoa+aonEhQGE7vJxR8gg3IQLcsXpuMf XNGQ== X-Gm-Message-State: APjAAAUJ0NBFY7BO67AofV+MMebpWpJ3q3c1RJ+9H7L5bf3xA5OCSJIy Fo0PmiM5/c/uHu3tCOxMoWLoaf3fkZvpfMwc6pudvA== X-Received: by 2002:a92:af99:: with SMTP id v25mr5251483ill.167.1572513135396; Thu, 31 Oct 2019 02:12:15 -0700 (PDT) MIME-Version: 1.0 References: <5eba2fb4af9ebc7396101bb9bd6c8aa9c8af0710.1571899508.git.viresh.kumar@linaro.org> <20191030164714.GH28938@suse.de> In-Reply-To: <20191030164714.GH28938@suse.de> From: Viresh Kumar Date: Thu, 31 Oct 2019 14:42:03 +0530 Message-ID: Subject: Re: [PATCH] sched/fair: Make sched-idle cpu selection consistent throughout To: Mel Gorman Cc: Ingo Molnar , Peter Zijlstra , Vincent Guittot , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Oct 2019 at 22:17, Mel Gorman wrote: > As the patch stands, I think a fork-intensive workload where each > process is doing small amounts of work will suffer from overloading > domains and have variable performance depending on how quickly the load > balancer reacts. Just wanted to clarify this slightly in case it is confusing. Once a newly forked (non SCHED_IDLE) task gets placed on a sched-idle CPU, it won't remain sched-idle anymore and we will again start looking for a fully idle CPU. So, we won't put everything on a small set of CPUs, but just one SCHED_NORMAL task on a CPU unless we are out of idle CPUs. Do you have some specific test in mind which I can run to test this ? -- Viresh