Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp241189lqt; Thu, 18 Apr 2024 13:44:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURKAaEa6LFZBK8MY2oL1HC4tshRXjiw1GDVzgSR2ikJlRJkqJVN42665B5t1DCTIrUaimkg+ua+DniIB2j3QWn2/g/5C0mcGFf2meA2A== X-Google-Smtp-Source: AGHT+IFGyKiG+I+bOOT1I8pmSi9upsCc37xuRx4vZ4rxDUzEhAZNGVfB6PXEIP1wzS7y//hTUQ/K X-Received: by 2002:a17:902:6804:b0:1e3:e1c4:eaf3 with SMTP id h4-20020a170902680400b001e3e1c4eaf3mr187810plk.43.1713473061180; Thu, 18 Apr 2024 13:44:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713473061; cv=pass; d=google.com; s=arc-20160816; b=Q8QKz2LvO4oWVf5daCu/J4nrwYPz09R1JDbXEUEfDMXocv2XY971/nNGklm/oOJWbt zm4Lxo08U3TlHsYBjBRqyDLjdY2KFcNcN85jYE5/+RgSNe5H2Sh1AmFSq3iyPKulzNuF LMHsvtE4pw8P6YNefNreff72rshEpGaTL5IH9VUrVlvjQlc2SD5k3Zw0aCzPiHDVwboR lB6YXw0pSZtGWYHFTf4/USQp9LJddgBGeYgNfV1e5aIXUh3PtOb+ajs/eM/dB92kt9Ms gUdqtTRDvISojn2vJE4ULWWcVc2+8fiZ5/P/pdrOUPA/z0CuaX2bwrjdMsJoItTTRC1I jvag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=UxBCb6vS5bjA5dA5tbjIxtykXTv9+5pzmAznnoeeJSQ=; fh=38Ksgsz2PcIyEsP9FiNz1hI9sSPHkiSVIK/+CGdTC/c=; b=IRog/RkkIjga2f5XsqcJA6pbBv89q16I8dK+3kYbLE7+2NRgxDHsC6Bdhd/4+rtQ4k +nwm3XkeeHMAIGrhv4xYjN/bI5gfN5Vn8DJnEvBc8AskTFElqizHxau0dxvVJY/S547D SP/2MmXZt51r0yLaZp7Xtw6kmK+OOIMi9LImRLILXnWH7YL/BFwO7+P7Z7DOC0Ps/ny2 2hd1vDBvT6Qc7GKUYdD3g/Y9/fOGLT/ePUhIb7uGZ6woZGzxbjiyJ/yHdmyOhC3C2/y1 bS88bFXBua885VagMaCNGksYgqZxUld82b04uBudrr5kfZFJv2vq7tBmTvWD1n9QSQF6 wEWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=NraMZAa9; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-150740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150740-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l8-20020a170903244800b001e3e24562b3si2068506pls.123.2024.04.18.13.44.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 13:44:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=NraMZAa9; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-150740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150740-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0481BB24233 for ; Thu, 18 Apr 2024 20:18:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B3B217F394; Thu, 18 Apr 2024 20:18:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="NraMZAa9" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9220F15CD43 for ; Thu, 18 Apr 2024 20:17:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713471479; cv=none; b=bpMBConQF9/IwDahyP1g7L0b9tcYYCToF28NYfn0uNYwP+tzDftr3dkqWzLUeQKKhJFeBPbGXZSaxdBhglbd/oBFPliJJbhX61CdK/PzyASS2TrGN8maPzHt+JDfGAqkwMCTVKU8N/Y7n+gV8GQ/Fw8MY3iZERpheMPflaPoicM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713471479; c=relaxed/simple; bh=2+Iu6rboHTU4pX23XKc3js0Lcx0WQKJI0I/FuIkKTMI=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=YXyYxSA6UXK6ZnGnFh8+RyyUnO/yCKpf3ZXP9fDxDuAFJ1idBEWNrf8odf52KUQgSMWcyuWn6d1tsaXlFGQJChqcxV+1MICtVG6cssjbnRKYhMX7A9kkBIm+sMCU5oULWK2zBxvx71CxEap0D87k4XBHpONA+BvMVR7TCwp77MQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=NraMZAa9; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88D87C113CC; Thu, 18 Apr 2024 20:17:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1713471479; bh=2+Iu6rboHTU4pX23XKc3js0Lcx0WQKJI0I/FuIkKTMI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NraMZAa9mMPDgVOfAPJlJzcl/uoR8Q3StueDMKYV9BNc+RLuv/17p36JUBkEnyN3e 6YcvzIiVUnL5IaKZkGA7Cmf9W+wD80jOi2lJctETtTfuSIHS0H/hY+k8vEoUbeiveR EiqtHO3PM82Zw8VXCcU+tYG3t4us67xEkEgw3F8s= Date: Thu, 18 Apr 2024 13:17:57 -0700 From: Andrew Morton To: Byungchul Park Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel_team@skhynix.com, ying.huang@intel.com, vernhao@tencent.com, mgorman@techsingularity.net, hughd@google.com, willy@infradead.org, david@redhat.com, peterz@infradead.org, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, rjgolo@gmail.com Subject: Re: [PATCH v9 rebase on mm-unstable 0/8] Reduce tlb and interrupt numbers over 90% by improving folio migration Message-Id: <20240418131757.cd05a8e7c7e66b3e90508c11@linux-foundation.org> In-Reply-To: <20240418061536.11645-1-byungchul@sk.com> References: <20240418061536.11645-1-byungchul@sk.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 18 Apr 2024 15:15:28 +0900 Byungchul Park wrote: > $ time XSBench -t 16 -p 50000000 > > BEFORE > ------ > Threads: 16 > Runtime: 968.783 seconds > Lookups: 1,700,000,000 > Lookups/s: 1,754,778 > > 15208.91s user 141.44s system 1564% cpu 16:20.98 total > > AFTER > ----- > Threads: 16 > Runtime: 913.210 seconds > Lookups: 1,700,000,000 > Lookups/s: 1,861,565 > > 14351.69s user 138.23s system 1565% cpu 15:25.47 total Well that's nice. What exactly is XSBench doing in this situation? What sort of improvements can we expect to see in useful workloads? I see it no longer consumes an additional page flag, good. The patches show no evidence of review activity and I'm not seeing much on the mailing list (patchset title was changed. Previous title "Reduce TLB flushes under some specific conditions"). Perhaps a better description of the overall benefit to our users would help to motivate reviewers.