Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp354464pxa; Wed, 19 Aug 2020 03:17:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOqioHM5saVUO6hpuy6QI4RaNmvCUwEZV3e0DT7tdYl6NTqRpcwHpKvHeE2SPf/govkmyD X-Received: by 2002:a17:906:35ce:: with SMTP id p14mr25448390ejb.276.1597832245445; Wed, 19 Aug 2020 03:17:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597832245; cv=none; d=google.com; s=arc-20160816; b=w9mjlyHXS0r2WD1wMVMfaIQiqgVtThL2iJ/7AmZd/u7DMkdXf/Evivda++FfPlp3DX qYFm8bYkLxIkBmcrDaWOoX+dB0/cxmsWt3uePdbYkgFYiDNW7jAGii5f7XRzDTT5msZ1 AQOVHTQxmz8Fno7vyXINN0UprqD2ZQcXZBMqTryqFTK1ZAVnNtP7Pz3btNYMa8e0cv2K o7XgRsEGWB5AoPrIfdzSwbPDTl4o7eJUJMlX5k0bsZugSewN+oiPKJ4rNcvxheJEX/cT /zTayjydoXyJ/OefusYaxfqV0XRUQIrnqdwh5u60/HZ9Rxfeklg9U6A4wTcBB8vys0lF XrNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=PmuNCA8C1J0O1Ha2312XfEb0igOWHqaUnPbG9bzLCNc=; b=yE+w6jrAwYCb26NoDl0nKMy1rz2J8LieV63PCu8JHWCT3zvhUmU/KAoH+2UAeOa1C0 Ck9D5mLaXfCh9PU9tW9cgZ53fDBNvbXjdt/Vg6a3A6ApHvmihHTYgBSqkPDpOOx+mVN2 i36JwxOPZH/uOqGkHjvge+knSMlA4RJ/kzNMH4cJ+BbIa7qfLy1gB+vCnAW7qsOoSf+i 79W/Scvg1Ylpu2maQ7YMvDIWV8ETjcAdOOSJzaSLvsM9y68PWVu4uhLQ8laY5u/g9URN xIB9DDeDTOrL95PR9ogP4sYna5PIbjUS/yEGVNIwEKrRp0Z5XBrz3bqhzjgCknKyLdoG Hcqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oT2sQNKH; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo25si14799811edb.186.2020.08.19.03.17.01; Wed, 19 Aug 2020 03:17:25 -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 header.i=@gmail.com header.s=20161025 header.b=oT2sQNKH; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727053AbgHSKQW (ORCPT + 99 others); Wed, 19 Aug 2020 06:16:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726702AbgHSKQU (ORCPT ); Wed, 19 Aug 2020 06:16:20 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DDBDC061757; Wed, 19 Aug 2020 03:16:20 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id f26so24733178ljc.8; Wed, 19 Aug 2020 03:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=PmuNCA8C1J0O1Ha2312XfEb0igOWHqaUnPbG9bzLCNc=; b=oT2sQNKHBwoqtocu5xss6pTe050xjKx7Xm6n8w1yeKBnDOZCKLy+jdONHu71a00DG4 NseI1U26kkBM6w4vofkOT1JKfYrhdieK9LoNp0+ceTS2+Fdx3mQUQXhxJ0Og2twf7poc CBuDPmt2eQH38F0STOKfnsmXXamHU3tnxKRWNlse/6a9856MYEPo3Gnh0n77ILDxBML7 9gSPiyo4qSeUXfZ7jhZjJv/IjjON9M3vsBK1y5k2ICpYiSTpclDUMacCXnOily5TELuM JDNchGPNrWUzPnfDbDKyi1TMZ9DGapn8gfavtBXg4RN6yAUXUIvUUcb1PlFCPZbHUxgu oyQQ== 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:content-transfer-encoding; bh=PmuNCA8C1J0O1Ha2312XfEb0igOWHqaUnPbG9bzLCNc=; b=Tks7G4B7PAsQcUOxvNZoHeFLOxocwCe6c4EQVnflNV5Q8VH4r9NnJ/6NfC8QGNTpEx ptAzj1wzc72xJPt8ey//I5qU4LaR1glFOafBWrNnd454ExhOjF/cFLCfsyyVE8IZVh10 OK9EPSTxv0KmInTC/85SkNlYSm2Dqh61fwIubtxbwRZ8cYxLzMZr2bhTvo9RRIs7IT3t 4JRnbMv/FzL8jMNeLCEZloCRoTis6hgvlUJjHae0F12m/1BHL2pNRrqzwMakOf/N/6X2 8DcuGSBM4M3aIzxGEQ+wFyoDP5K2ZZnwdXpLjpPqXQ4bQyP3GB1u5ndUhitLpT5vgVlR Z5BA== X-Gm-Message-State: AOAM530CVFScWv1/zRheoN6mrSXvRJCMSjlKdznkZRpQ81VMFxDG0Jea eS7ljhrVqnSbk3ilsi8oGRyvZamNEy4qz0DHJQzQFuKBq0w= X-Received: by 2002:a2e:3817:: with SMTP id f23mr10937015lja.118.1597832178487; Wed, 19 Aug 2020 03:16:18 -0700 (PDT) MIME-Version: 1.0 References: <20200818143633.GA628293@kroah.com> <20200818171457.GA736234@kroah.com> <20200818173656.GA748290@kroah.com> <84362b8b-971f-fb89-115d-41d2457c24fd@sony.com> In-Reply-To: <84362b8b-971f-fb89-115d-41d2457c24fd@sony.com> From: Muni Sekhar Date: Wed, 19 Aug 2020 15:46:06 +0530 Message-ID: Subject: Re: Scheduler benchmarks To: peter enderborg Cc: Greg KH , kernelnewbies , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 18, 2020 at 11:45 PM peter enderborg wrote: > > On 8/18/20 7:53 PM, Muni Sekhar wrote: > > On Tue, Aug 18, 2020 at 11:06 PM Greg KH wrote: > >> On Tue, Aug 18, 2020 at 11:01:35PM +0530, Muni Sekhar wrote: > >>> On Tue, Aug 18, 2020 at 10:44 PM Greg KH wrote: > >>>> On Tue, Aug 18, 2020 at 10:24:13PM +0530, Muni Sekhar wrote: > >>>>> On Tue, Aug 18, 2020 at 8:06 PM Greg KH wrote: > >>>>>> On Tue, Aug 18, 2020 at 08:00:11PM +0530, Muni Sekhar wrote: > >>>>>>> Hi all, > >>>>>>> > >>>>>>> I=E2=80=99ve two identical Linux systems with only kernel differe= nces. > >>>>>> What are the differences in the kernels? > >>>> You didn't answer this question, is this the same kernel source bein= g > >>>> compared here? Same version? Same compiler? Everything identical? > >>> Both systems are having exactly the same hardware configuration. > >>> Compiler and kernel versions are different. One system has Ubuntu > >>> 16.04.4 LTS(4.4.0-66-generic kernel with gcc version 5.4.0) kernel an= d > >>> the other one has Ubuntu 18.04.4 LTS(4.15.0-91-generic kernel with gc= c > >>> version 7.5.0). > >> Those are _very_ different kernel versions, with many years and tens o= f > >> thousands of different changes between them. > >> > >> Hopefully the newer kernel is faster, so just stick with that :) > > But unfortunately the newer kernel is very slow, that is the reason > > for starting this investigation :) > > Any type of help, and guidelines to dive deeper will be highly appreci= ated. > > On the 4.4 kernel you dont have > > +CONFIG_RETPOLINE=3Dy > +CONFIG_INTEL_RDT=3Dy Thanks! That is helpful. Yes, I see 4.4 kernel don't have the above two config options. What analysis can be done to narrow down the root cause? Any example of reference could be helpful to understand. > > And your base is very different two. > > Try to use mainline on both system and see. > > You can also use the same base kernel version from ubuntu and > > run your test. > > > >> greg k-h > > > > > --=20 Thanks, Sekhar