Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3901421imm; Mon, 4 Jun 2018 11:07:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJJDYR7ZjA4Vz9kWmkP9V7a0J+HI8c8OS5j7ag/EmXyBHvl7bFF1T8oeFoLn0ornL0OHMuM X-Received: by 2002:a63:65c2:: with SMTP id z185-v6mr16475361pgb.163.1528135674923; Mon, 04 Jun 2018 11:07:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528135674; cv=none; d=google.com; s=arc-20160816; b=OGbZNvD/YnT7ZiEw1U5RQeqWFwGrOLlM62bH92ClC4sPQCayzl9c/dzVIf+ILskxEj 05cJ6upBciLeW+oHDEgDKGc5h9/a/q6EOf4XwR9EORHBaI+P6b1/g8hjpGzM0SKP3VIa C/o3Hou1yctJU02Oq9TrviYhgh3zuunRae4D3YHya3F1lekEujU62R30gABLLd+4A10a lya+Bf16Z/4Q2ZU9Z8tjZn0NI+3iQIEcMe30Tvm3XFzPJX9KdCQL0OhbShdmImpvAszz NnzVB3zzbP95i121I0Sau97QQ5EMuqZt1crBietfOKH9Nj4qQTu4L6kFh+XgjohGsgFf vN6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=wVUpt3+aaYSTqMC/dF6zd5kLmzU7O/hi6HTgxr9PtH8=; b=RbCNGFX11wSoVFbu47G1NkfKP4pa/mcM1coLxNjg+KU442AxKnLLKKRRsKTuNZ58Dk XjoIpaVtWz7VTvQt74NJY27PXb9PZamC1myPfWibUaX4czvNMGAEOEY83cJK2S7gNJ1q wv2D7AMTt//e1Px2RoMse4rA9FN/iVr7nxbPZuR2Gs7IxSSw75RiQdLCqsEwptcjZR8N lUBDHP/i4ezRJJ9P3T+fkWMPAUHDG7irq2hBej9MrlwoWv9QGzmNaXcZ49/IJsrjTUQR XeKdp+T6ehhV7dbdC3O2d0YZsHuvlQHB4G9s2UukiBaEdUMvXtk1EocKlrUvPMXxJAI+ FW+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=Ir1Ny6VC; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a64-v6si47961967pla.530.2018.06.04.11.07.40; Mon, 04 Jun 2018 11:07:54 -0700 (PDT) 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=@oracle.com header.s=corp-2017-10-26 header.b=Ir1Ny6VC; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751191AbeFDSGx (ORCPT + 99 others); Mon, 4 Jun 2018 14:06:53 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:47774 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbeFDSGw (ORCPT ); Mon, 4 Jun 2018 14:06:52 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w54I5XXO096648; Mon, 4 Jun 2018 18:06:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : content-transfer-encoding : in-reply-to; s=corp-2017-10-26; bh=wVUpt3+aaYSTqMC/dF6zd5kLmzU7O/hi6HTgxr9PtH8=; b=Ir1Ny6VCPDCKi4Pid43khF0waDDPLvFgQCy34QwyNQqSJ0Ysu1SFQAW1Wgpc9hl4Tn4e q5GkR7hBZIHtQFxMxTDtTjT466RBTcT9iS6lfs9W9pwuNpqXBD1GCLlFta4KoQtCDI8M 6Z4KbSYna9Y7vtvB/5kj+47sE6pRToZt2L+goyFiV7ObLHLyPfzDJms8itx5K0+0T7Ga llUc5QiiojM9rgJG99Bf7i6JNH5va+nSjdDfARDy5oPv3wx5OwZpLqsloBzahCqo8Vqo zlVpW9mOf/ZVgbkAkgo4AAkeVt3A4QEsJpUOzBB+k625qNH18KmSFmvDNli8dZ9CF/TH ZA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2jbvypcpk3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 04 Jun 2018 18:06:48 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w54I6mFo006701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 4 Jun 2018 18:06:48 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w54I6mY2016366; Mon, 4 Jun 2018 18:06:48 GMT Received: from ca-dmjordan1.us.oracle.com (/10.211.9.48) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 04 Jun 2018 11:06:47 -0700 Date: Mon, 4 Jun 2018 11:06:42 -0700 From: Daniel Jordan To: "Huang, Ying" Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -mm -V3 00/21] mm, THP, swap: Swapout/swapin THP in one piece Message-ID: <20180604180642.qexvwe5dqvkgraij@ca-dmjordan1.us.oracle.com> References: <20180523082625.6897-1-ying.huang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180523082625.6897-1-ying.huang@intel.com> User-Agent: NeoMutt/20180323-268-5a959c X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8914 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806040208 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 23, 2018 at 04:26:04PM +0800, Huang, Ying wrote: > And for all, Any comment is welcome! > > This patchset is based on the 2018-05-18 head of mmotm/master. Trying to review this and it doesn't apply to mmotm-2018-05-18-16-44. git fails on patch 10: Applying: mm, THP, swap: Support to count THP swapin and its fallback error: Documentation/vm/transhuge.rst: does not exist in index Patch failed at 0010 mm, THP, swap: Support to count THP swapin and its fallback Sure enough, this tag has Documentation/vm/transhuge.txt but not the .rst version. Was this the tag you meant? If so did you pull in some of Mike Rapoport's doc changes on top? > base optimized > ---------------- -------------------------- > %stddev %change %stddev > \ | \ > 1417897 ? 2% +992.8% 15494673 vm-scalability.throughput > 1020489 ? 4% +1091.2% 12156349 vmstat.swap.si > 1255093 ? 3% +940.3% 13056114 vmstat.swap.so > 1259769 ? 7% +1818.3% 24166779 meminfo.AnonHugePages > 28021761 -10.7% 25018848 ? 2% meminfo.AnonPages > 64080064 ? 4% -95.6% 2787565 ? 33% interrupts.CAL:Function_call_interrupts > 13.91 ? 5% -13.8 0.10 ? 27% perf-profile.children.cycles-pp.native_queued_spin_lock_slowpath > ...snip... > test, while in optimized kernel, that is 96.6%. The TLB flushing IPI > (represented as interrupts.CAL:Function_call_interrupts) reduced > 95.6%, while cycles for spinlock reduced from 13.9% to 0.1%. These > are performance benefit of THP swapout/swapin too. Which spinlocks are we spending less time on?