Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp736294ybl; Wed, 11 Dec 2019 06:47:00 -0800 (PST) X-Google-Smtp-Source: APXvYqzgrkluYRl6e9KEltFVSi9hwHo/YmkjV90VnoUzU5HWfPrgX18BxguRFHcvyEFjSsy2EBIw X-Received: by 2002:a9d:4c12:: with SMTP id l18mr2604058otf.140.1576075620398; Wed, 11 Dec 2019 06:47:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576075620; cv=none; d=google.com; s=arc-20160816; b=fcjRl9ZJY7sppAxbK9J3rLrH77ssNk2KG4VGsG2T7poNQcU8801EjeDpexu7vp9piL pkQaeAaOwjOkg+T7a4QGarojGblo+JcwWo/XP33f6ZlWq85uAPGT/sdIi/QouFzPjKhc Ivv1TxBfLB/Tlw/08FgUylYeDfzSkGutPFpkyiomsUxay8532RnzS/uPmmftUNLjW0PZ ytHnR6lU2w/2ls9cYbFh3konpODnxHuGtnffnxuW7XOo2mNkSHIZbMzIya+x5fmGiexg KaJMVW6LBOF0SeqOMbvOeTQZhypKWEexCvPr65yfWwxMA2ZFChZpKmvZtn7N2oTzUwOM O9OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=TSJbxM+42Pr4avIFYwLsy80a4SqiL2svbW+an6gl92U=; b=C9JocVoZu8vu4JK8ycwvccRRCxyTF4O0TTyb0zx4jzJHr8CWKbR9Skid23BMkZzFwl yDkUFschYomrSoKrkxKw49YCOjpLcANr+N5rZ4oWtcK5CuDy5VR9h7wxsRLtvFHtfZTB Sn+NBsUUZsqcLIq0U+1lCpd4RQFsVRwcdrWu4zxCQfy73Tn1pi2TJG+OzFouur5Qmeih zorV6cmJFE7+A4yXRd4wdeD9g91ZDtePlknG5rNglGW+JF1xN/tGUhkXY50fRdMMVRkd cwIp1a3UBfHcDD4/B65z8ZQtxLAQLVAwFUUJvL9/GjuMVZidYs4xDwPy0vdmz2voPfgS T8Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2VBTltrE; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m82si1234083oig.129.2019.12.11.06.46.46; Wed, 11 Dec 2019 06:47:00 -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=@kernel.org header.s=default header.b=2VBTltrE; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729841AbfLKOqR (ORCPT + 99 others); Wed, 11 Dec 2019 09:46:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:43336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729689AbfLKOqR (ORCPT ); Wed, 11 Dec 2019 09:46:17 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8A2BD208C3; Wed, 11 Dec 2019 14:46:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576075577; bh=XUPg0jKEJbOe5bostq1S7exSkK2zO+9rqUlma2uNRcw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2VBTltrES4sUwFNPERJVMiY/DKSZlenMMgpcxjxDdM1Tmbz5J/w4HyvjWPCnpAl3z FiDvTwNQ/UWLO69RVIKyOsbMYNfkgTmnCeYKt2DzN9a/1h+l6TQkjF0k/YiZtDB0gY yFstLUgP12iqfq8U9/xH3i8pNeIycO8ekT3RKpu0= Date: Wed, 11 Dec 2019 15:46:14 +0100 From: Greg KH To: "zhangyi (F)" Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, cl@linux.com, mgalbraith@suse.de, mhocko@suse.com, torvalds@linux-foundation.org, umgwanakikbuti@gmail.com, wagi@monom.org, stable-commits@vger.kernel.org, "Wangkefeng (Maro)" , Xie XiuQi Subject: Re: Patch "mm, vmstat: make quiet_vmstat lighter" has been added to the 4.4-stable tree Message-ID: <20191211144614.GA637714@kroah.com> References: <156442332854185@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 11, 2019 at 10:32:49PM +0800, zhangyi (F) wrote: > Hi, all > > We find a performance degradation under lmbench af_unix[1] test case after > mergeing this patch on my x86 qemu 4.4 machine. The test result is basically > stable for each teses. > > Host machine: CPU: Intel(R) Xeon(R) CPU E5-2690 v3 > CPU(s): 48 > MEM: 193047 MB > > Guest machine: CPU: QEMU Virtual CPU version 2.5+ > CPU(s): 8 > MEM: 26065 MB > > Before this patch: > [root@localhost ~]# lmbench-3.0-a9/bin/x86_64-linux-gnu/lat_unix -P 1 > AF_UNIX sock stream latency: 133.7073 microseconds > > After this patch: > [root@localhost ~]# lmbench-3.0-a9/bin/x86_64-linux-gnu/lat_unix -P 1 > AF_UNIX sock stream latency: 156.4722 microseconds > > If we set task to a constant cpu, the degradation does not appear. > > Before this patch: > [root@localhost ~]# lmbench-3.0-a9/bin/x86_64-linux-gnu/lat_unix -P 1 > AF_UNIX sock stream latency: 17.9296 microseconds > > After this patch: > [root@localhost ~]# lmbench-3.0-a9/bin/x86_64-linux-gnu/lat_unix -P 1 > AF_UNIX sock stream latency: 17.7500 microseconds > > We also test it on the aarch64 hi1215 machine with 8 cpu cores. > > Before this patch: > [root@localhost ~]# ./lat_unix -P 1 > AF_UNIX sock stream latency: 30.7 microseconds > > After this patch: > [root@localhost ~]# ./lat_unix -P 1 > AF_UNIX sock stream latency: 37.5 microseconds > > Accessories included my reproduce config for x86 qemu. Any thoughts? This fixes a bug, as reported by Daniel Wagner. So it's probably better to have a stable system instead of a broken one, right? :) Daniel can provide more information if needed. What about when you run your tests on a 4.9 or newer kernel that already has this integrated? thanks, greg k-h