Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1384362ybs; Mon, 25 May 2020 14:50:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtR2Ps42xPRsjqyXLO4fnvViRd5iqK7j9Z9DUGBNGUlIJSEW7NK0RKhtR/hGhaxltnVJGt X-Received: by 2002:a05:6402:2c3:: with SMTP id b3mr17792722edx.66.1590443424342; Mon, 25 May 2020 14:50:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590443424; cv=none; d=google.com; s=arc-20160816; b=ABEYK1TgFID+sABfVq0MJVoqxN/zOvDu28/NASuvQ9sl5w5ZygdLcbeuYm1Dyxoi1F DKHLKYqE5qTGop+HdRZsxR/gqb8eHIOUUIvEX2bPYYclfnLTUTNf+bh/rzJTdSE2qADV gRf0ivMccjZufLl7y6sB4UsF0G0SpQ+Twnc/VnLSD01iN7zsW9kE3il0/NIuzFaenGWD /N8XJ6PAUlWj+v8bSi20c6YcAno+Woha4nkPQUcvpVKpdBOIu1jZMdxDiCPftqq3VYPF Bkf/fsTSUPWoU4PIwt6y3YeGeuxwE6KHD41NPFjqYNGWO24axq/wG3yc0GEdi4QYz/3u cTng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:content-language :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dkim-signature; bh=DwnlgWYFEihSUuio0v01s3xTbjhMAeUb4PFpGrp4bzA=; b=r/y2VMhexwm9IUx+Wv6co3DQ8NVuAmCmjCWzwmU8ge5IpLW7vq4sS2UQ5d0F4aD7OW GV2fJochaWWnQ3aCW+IBh/wcmZ3oKkq+zRuc/dizT5P9qTQhJiTxlbMhbJmchj8ORfNY sVczOlajZMNwG1QAlUli3Zlecnaieq73+3ckOwRT3dcrEE+4gWsa9d38YpK4apZPWvY4 RNXkUgLwGf1pwsss9Wcihhi9HvykrMIDypj6huiP7V3NNvNWl4IG2wiBKoaiWT2c4EVM ehPN9pTv3Sydeur5Z8pKZbsCCrnqsPFWdP8UwZtec8Wmk/iysAQ9cgI2ERc2MYcI1BRP fJhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@telus.net header.s=neo header.b=odVXyK1l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=telus.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si3524890edl.138.2020.05.25.14.50.00; Mon, 25 May 2020 14:50:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@telus.net header.s=neo header.b=odVXyK1l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=telus.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389615AbgEYScP (ORCPT + 99 others); Mon, 25 May 2020 14:32:15 -0400 Received: from cmta17.telus.net ([209.171.16.90]:54385 "EHLO cmta17.telus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389505AbgEYScO (ORCPT ); Mon, 25 May 2020 14:32:14 -0400 Received: from dougxps ([173.180.45.4]) by cmsmtp with SMTP id dHtPjpLAEmjwfdHtRjRAEl; Mon, 25 May 2020 12:32:12 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=neo; t=1590431532; bh=DwnlgWYFEihSUuio0v01s3xTbjhMAeUb4PFpGrp4bzA=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=odVXyK1lhlR7GKXmOmPIXqLafNJylQPzNHQOUpZOlhJ1dPRAu8BU11Os9UcF+GA+4 XcKiz78SZ984L9O6G4GvLrzRELImoq4CrpOhRoHhk9VJU2kj+QMIt91HOqzJOdd5iW JwhVnh+3RHNQICM3S80qFkKujXP6rPbXmdGNkleHMsgMYGbhKx0LoVTqSvHKHuYV4O PyWxNcCmIhyL2hvFi9OlsMtjX8nBjy8SNcjvRijDHTChBzgX5UdqhEU9TDkcFyq+vw XjPb2mab2WOABR/5WUZ+kiAF7V+dRtDsyk+gQ+YDOL82Kz8OTughRtwAGyAHv55In/ Wb19bVINUfi3A== X-Telus-Authed: none X-Authority-Analysis: v=2.3 cv=ea5DgIMH c=1 sm=1 tr=0 a=zJWegnE7BH9C0Gl4FFgQyA==:117 a=zJWegnE7BH9C0Gl4FFgQyA==:17 a=Pyq9K9CWowscuQLKlpiwfMBGOR0=:19 a=IkcTkHD0fZMA:10 a=D19gQVrFAAAA:8 a=8GfnRiUhAAAA:20 a=FGbulvE0AAAA:8 a=6A1WGPImOnARz27ZNyMA:9 a=QEXdDO2ut3YA:10 a=W4TVW4IDbPiebHqcZpNg:22 a=svzTaB3SJmTkU8mK-ULk:22 From: "Doug Smythies" To: "'Pratik Sampat'" Cc: , , , , , , , , References: <20200511141055.43029-1-psampat@linux.ibm.com> <000101d62c76$a16ac360$e4404a20$@net> In-Reply-To: Subject: RE: [RFC 0/1] Alternate history mechanism for the TEO governor Date: Mon, 25 May 2020 11:32:06 -0700 Message-ID: <000901d632c2$cda7f8b0$68f7ea10$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-ca Thread-Index: AdYvYELpjVNlGEUnTX63IAsG8BP+SQDX7CYQ X-CMAE-Envelope: MS4wfIddEKNJ3KXDE3ES5FExA9vWHLzTR8M0Zb3Hc/T0BPqdq78mItLU8YlIRa2nFqyA9lrY/T5CgEdyYTsmyIcxtVAwE3WQJ+csbijtLSWUgV6z2L9oa91+ CcAg8Z9mzMIx0nRbtZh/7yK9vlXZuBlNyn0+GF8cjJLV1S51o6Sy5jCYGTzueNy9d5qV81dMKzYOJp3OvI28t6uw/1yMGwScH/ZDLXjGEK+Xcj7/K4Xa1NNA rb+NNvr5bShsdSR3PEl0dRWaUyMSr+RwN/u9E4ao9oSqScHmdYZ+PoS5J2imsyS6QG5DTSaudmRIJiY4NLKrNagj1GbfEqLOpYxQIN6ZGcF7vp1OUu+c5Whp XdoTTBCFVwEY3pX3OFgOAQIGG2iWlf+tZ3G6iB7OzbhCR9Bm7eKf4hGyrqjF2xh6bc+W7wt+J53MEhrBZYHIajtsdjXTw3ktmtqhWtuyTYf7SvwBV7QYlpyn kQscPhzvYfFNDqk5vQDF7U2EoDtH7h0gI+c2lg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020.05.21 04:09 Pratik Sampat wrote: > On 17/05/20 11:41 pm, Doug Smythies wrote: > > On 2020.05.11 Pratik Rajesh Sampat wrote: > >> First RFC posting:https://lkml.org/lkml/2020/2/22/27 > > Summary: > > > > On that thread I wrote: > > > > > I have done a couple of other tests with this patch set, > > > but nothing to report yet, as the differences have been > > > minor so far. > > > > I tried your tests, or as close as I could find, and still > > do not notice much difference. > > That is quite unfortunate. At least it doesn't seem to regress. Yes, while I have not been able to demonstrate improvement, I have not found any regression. > > Nevertheless, as Rafael suggested aging is crucial, this patch doesn't age > weights. I do have a version with aging but I had a lot of run to run variance > so I had refrained from posting that. > I'm tweaking around the logic for aging as well as distribution of weights, > hopefully that may help. O.K. I am putting this testing aside for now. I like the set of tests, as they really show the differences between menu and teo governors well. > >> > >> Sleeping Ebizzy > >> --------------- > >> Program to generate workloads resembling web server workloads. > >> The benchmark is customized to allow for a sleep interval -i > > I found a Phoronix ebizzy, but without the customization, > > which I suspect is important to demonstrate your potential > > improvement. > > > > Could you send me yours to try? > > Sure thing, sleeping ebizzy is hosted here: > https://github.com/pratiksampat/sleeping-ebizzy > > > > > ebizzy (records per second, more is better) > > > > teo wtteo menu > > 132344 132228 99.91% 130926 98.93% O.K. yours is way different than what I was using. Anyway, results still are not very different between teo and wtteo. Some tests are showing a little difference between above/below statistics [1] [1] http://www.smythies.com/~doug/linux/idle/wtteo/ebizzy-interval/2_below.png By the way, and likely not relevant, your sleeping-ebizzy test seems extremely sensitive to the interval and number of threads. It is not clear to me what settings I should use to try to re-create your results. [2] is an interesting graph of records per second verses intervals verses threads. [2] http://www.smythies.com/~doug/linux/idle/wtteo/doug08/sleeping-ebizzy-records-intervals-threads.png