Received: by 10.223.185.116 with SMTP id b49csp4219142wrg; Mon, 26 Feb 2018 13:25:39 -0800 (PST) X-Google-Smtp-Source: AH8x226FvWYRCYvQQZ+UN4e1y6viGYmcdv0pKjMQqGXV295BEQXo5d3Ak9SYchMYLf6wV9jzAWHs X-Received: by 2002:a17:902:9042:: with SMTP id w2-v6mr11739940plz.156.1519680339353; Mon, 26 Feb 2018 13:25:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519680339; cv=none; d=google.com; s=arc-20160816; b=lxI0yBKBGCwwtXHuU+v9iofCqdlZUtqaPxB1vOJ/sAg7+htID2pvVDjAodIaQlK3lI it9t0wLehPWa7X7/+XkWwzunP45PZflPlvfzEiIF2E4Z1t0UZjwGBsPSPPEuMriAuLu8 DtioijLXfeXdKvQwhtuUOaCHeTsulqqecGdOMUMnQT1QP19y8hRQy7xiU2Gb+Eu8xUm9 06DpFUaN6e2Wcht2YyQ7BH/S3L/G39b4OZH5CwurfiAEMl/CAZ/1FYANgL1anL/nYnmj 5lRcQrzFI7Tuhofm2/a/hFFLJNTaNQciHqEKJDJoz+dOfj7lJuYXci2SKmtifvTeF3pK olIg== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=CILjwUdcz4Z08Q5SiBLdgeOFjT88NDQ9JX/U5wYfUqU=; b=maj3/16TjVUt6k2eE61YMLB99Arg6H48arO8lVuZhMbxldu6vbs9PmJcD5LtxMvseb jlvxLCmu9/bryKL+vdPVi7Rk315hsLN320bkF/Izf5aY6H/MAUEo9kENkTT3v9/cyjKs BOtRSaD1HSfkfGA2IN5/imMZa8vruguloGrii1BLUe/YsK1pUcjPyeM9EnSbxXW1g9bm h+MFEyp4WC/JQ6awZoArQMitodwMxj/ZttkUB7At/piH8yKrdtzVgod6F5btFlZ2x9fF /SKEa3V/VqXRkmnekArdu0fe3FNr5EmGdnyama+MCTZRnMOD9QB/bIdXd8JfAYNr4vpK 6rzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=a3yUrRvF; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a8-v6si7244777ple.435.2018.02.26.13.25.22; Mon, 26 Feb 2018 13:25:39 -0800 (PST) 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=@google.com header.s=20161025 header.b=a3yUrRvF; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751550AbeBZVYF (ORCPT + 99 others); Mon, 26 Feb 2018 16:24:05 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:50379 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750877AbeBZVYD (ORCPT ); Mon, 26 Feb 2018 16:24:03 -0500 Received: by mail-wm0-f65.google.com with SMTP id w128so14225200wmw.0 for ; Mon, 26 Feb 2018 13:24:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CILjwUdcz4Z08Q5SiBLdgeOFjT88NDQ9JX/U5wYfUqU=; b=a3yUrRvFsOw+VEAYuElh8KU8EX1yahE0eI0rd5NpSlLqbUyj/hrlhS6khW+71mXe16 V4Z2ZS+SjxzQ4NexPvP5CfH3PJuljAkfMj0IOPG7kmYgPZr0sKlV9NfSZYcoD2Wxz7pB mKpJLzCSmSWfIVSZm1lk/eTfFpX66DYvBt/Vb7Q9j3tCmV0eijEdKnLPeKMWA14MDY+D X58v84FCWZQnRrkI32SVbImNaQNDhee5vGHoH1be1L7X2quzELJOmFQXWrbTTDG4PgRM wrPtYNeUAZr6O9P5WXbigecZlctbYzQN3N472tnh2+KmTmLqSvdOITA2W2iG4vki1Jmt 34pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CILjwUdcz4Z08Q5SiBLdgeOFjT88NDQ9JX/U5wYfUqU=; b=GEwfKWQzr2Fy7MpXPdSTcbOQv9C6LcLkGFwXaL556Qoq7r36EmHbyxfv0uRY+ozkHx LjurfYDW5bRyBq5D39l1I5U0v92nObIAbbDGne/ZQamzFgIdBJrGKyi8nhD9kzKbEbVM CtkZt/M/R0HqzmEbhvOaoeRUEkDfKcC0E6A89ZZX2Wdwpt2fviqbXETHHYXwXXX50L3H MCIWgp3+fKqArxVemwxtwwrHFufFFwpGP3Sg+1QZfZXVBsUFEe7Z994ZqXmL2BEMPATv R2uA4SBo2UdC+VMOMkIFnn9Yo8YplZj9JJCg2fPwnumc49/2FFheFXSfOkLtmRvbfDN5 PsDw== X-Gm-Message-State: APf1xPAsWvMYl2kq/hwAdBX7MZl1o2n3/qXc3+yYJBDIG7PsGK4ATcRs enVXtfsabyI+y6g7UzdsSzp6IZdcLMI1SPYpRAVFJA== X-Received: by 10.28.14.6 with SMTP id 6mr7018530wmo.2.1519680241524; Mon, 26 Feb 2018 13:24:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.184.12 with HTTP; Mon, 26 Feb 2018 13:24:00 -0800 (PST) In-Reply-To: <20180226045645.GE3019@yexl-desktop> References: <20180225144421.GB7144@yexl-desktop> <20180226025728.GA8942@yexl-desktop> <20180226045645.GE3019@yexl-desktop> From: Shakeel Butt Date: Mon, 26 Feb 2018 13:24:00 -0800 Message-ID: Subject: Re: [LKP] [lkp-robot] [mm, mlock, vmscan] 9c4e6b1a70: stress-ng.hdd.ops_per_sec -7.9% regression To: Ye Xiaolong Cc: Jan Kara , Linus Torvalds , Balbir Singh , Johannes Weiner , Hugh Dickins , LKML , Nicholas Piggin , Michal Hocko , lkp@01.org, Minchan Kim , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Mel Gorman , Shaohua Li , Greg Thelen , Dan Williams , Tim Chen , Andrew Morton , Vlastimil Babka 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 Sun, Feb 25, 2018 at 8:56 PM, Ye Xiaolong wrote: > On 02/26, Ye Xiaolong wrote: >>Hi, Shakeel >> >>On 02/25, Shakeel Butt wrote: >>>On Sun, Feb 25, 2018 at 6:44 AM, kernel test robot >>> wrote: >>>> >>>> Greeting, >>>> >>>> FYI, we noticed a -7.9% regression of stress-ng.hdd.ops_per_sec due to commit: >>>> >>>> >>>> commit: 9c4e6b1a7027f102990c0395296015a812525f4d ("mm, mlock, vmscan: no more skipping pagevecs") >>>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master >>>> >>>> in testcase: stress-ng >>>> on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 128G memory >>>> with following parameters: >>>> >>> >>>Hi Xiaolong, >>> >>>Is there a way I can get the output of "perf record -a -g" running in >>>parallel to the actual test on this machine. As I have mentioned >>>before I am not able to reproduce this issue. However I am trying to >>>repro on a VM with 4 vcpus and 4 GiB memory and I don't see any >>>difference. I am suspecting that it may repro on a larger machine but >>>I don't have access to one. >>> >> >>perf.data attached. It was generated via `perf record -q -ag --realtime=1 -m 256` > > Attached perf-profile.gz is the result of `perf report` result. > Hi Xiaolong, Can you please give me the actual full stress-ng command used in this test? I have run following command on linux tree (with top commit being 4c3579f6cadd5e) with and without my patch on a 72 thread machine. $ stress-ng --sequential 0 --class io -t 10s --times --verify --metrics-brief Result without the patch: stress-ng: info: [16828] successful run completed in 97.90s (1 min, 37.90 secs) stress-ng: info: [16828] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s stress-ng: info: [16828] (secs) (secs) (secs) (real time) (usr+sys time) stress-ng: info: [16828] aio 44928 10.00 0.00 0.00 4492.79 0.00 stress-ng: info: [16828] aiol 155 15.52 0.00 0.00 9.98 0.00 stress-ng: info: [16828] hdd 71136 14.25 0.00 2.78 4991.33 25588.49 stress-ng: info: [16828] rawdev 16681 10.07 0.00 0.00 1656.10 0.00 stress-ng: info: [16828] readahead 383446363 10.00 340.42 327.13 38330308.93 574408.45 stress-ng: info: [16828] revio 40008242 10.00 12.27 704.03 4000263.49 55854.03 stress-ng: info: [16828] seek 1807314 10.58 1.02 22.24 170899.04 77700.52 stress-ng: info: [16828] sync-file 1730 10.05 0.00 0.67 172.20 2582.09 stress-ng: info: [16828] for a 97.90s run time: stress-ng: info: [16828] 7048.63s available CPU time stress-ng: info: [16828] 355.18s user time ( 5.04%) stress-ng: info: [16828] 1059.33s system time ( 15.03%) stress-ng: info: [16828] 1414.51s total time ( 20.07%) stress-ng: info: [16828] load average: 53.40 28.06 14.48 Result with the patch: stress-ng: info: [31637] successful run completed in 94.40s (1 min, 34.40 secs) stress-ng: info: [31637] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s stress-ng: info: [31637] (secs) (secs) (secs) (real time) (usr+sys time) stress-ng: info: [31637] aio 44928 10.00 0.00 0.00 4492.79 0.00 stress-ng: info: [31637] aiol 138 14.26 0.00 0.00 9.68 0.00 stress-ng: info: [31637] hdd 75305 13.77 0.00 2.82 5467.52 26703.90 stress-ng: info: [31637] rawdev 13309 10.05 0.00 1.29 1323.72 10317.05 stress-ng: info: [31637] readahead 373902555 10.00 323.52 316.95 37382265.90 583794.02 stress-ng: info: [31637] revio 45142381 10.00 13.73 702.51 4513648.49 63026.89 stress-ng: info: [31637] seek 3046010 10.32 1.83 23.92 295270.48 118291.65 stress-ng: info: [31637] sync-file 1858 10.03 0.00 0.65 185.17 2858.46 stress-ng: info: [31637] for a 94.40s run time: stress-ng: info: [31637] 6796.83s available CPU time stress-ng: info: [31637] 340.50s user time ( 5.01%) stress-ng: info: [31637] 1050.70s system time ( 15.46%) stress-ng: info: [31637] 1391.20s total time ( 20.47%) stress-ng: info: [31637] load average: 51.64 26.97 14.28 What should I be looking at in the results? Also please note that I have to compile stress-ng statically to run on these machines and skip the lkp framework. thanks, Shakeel