From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTP id 2756CADE for ; Mon, 12 May 2014 17:31:46 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id C4DEB20352 for ; Mon, 12 May 2014 17:31:45 +0000 (UTC) From: "Iyer, Sundar" To: Preeti U Murthy , Morten Rasmussen Date: Mon, 12 May 2014 17:30:58 +0000 Message-ID: <2FABAEF0D3DCAF4F9C9628D6E2F9684533B51950@BGSMSX102.gar.corp.intel.com> References: <2FABAEF0D3DCAF4F9C9628D6E2F9684533B4C781@BGSMSX102.gar.corp.intel.com> <536B477B.2030800@linux.vnet.ibm.com> <20140512111407.GB5540@e103034-lin> <53710132.60506@linux.vnet.ibm.com> In-Reply-To: <53710132.60506@linux.vnet.ibm.com> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "Brown, Len" , "ksummit-discuss@lists.linuxfoundation.org" , Peter Zijlstra , Daniel Lezcano , Ingo Molnar Subject: Re: [Ksummit-discuss] [TECH(CORE?) TOPIC] Energy conservation bias interfaces List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > -----Original Message----- > From: Preeti U Murthy [mailto:preeti@linux.vnet.ibm.com] > Sent: Monday, May 12, 2014 10:43 PM > To: Morten Rasmussen >=20 > You are right. We shouldn't be exposing so many knobs to user-space and > expect the kernel to make good decisions based on these knobs being > tweaked by user space. How about a high level classification of profiles = like > balanced, performance, powersave? These alone can be chosen by the user > and the lower end tunings left to the discretion of the kernel. Also, may I suggest to try to limit the discussion preliminary to CPU only?= Should we try to see if we can get a detailed policy, conditions specifically w.r.= t CPU scheduling? I am trying to sum up thoughts in my mind; please correct/add/edit as neede= d. Scheduler options: a. Spread wide: Utilize as much as CPUs as possible for tasks b. Limit Local: Utilize as less as CPUs as possible. Resources impacting these options: a. if CPUs share common resources like power; b. if CPUs share common cache; OIOW, cost of moving data around CPUs c. CPU Energy efficiency profiles (BIG or little or xyz) Factors affecting these options: Ideally, we would like to spread wide if: a. tasks/processes are heavily multi-threaded and parallelized; b. asynchronous tasks that are single threaded and shifting them to multipl= e CPUs will avoid boosting CPU load and hence P-states; c. there is explicit hint from the application/user space about lack of dat= a dependency; does the list seem good to start? Cheers!