Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp901209pxu; Fri, 23 Oct 2020 16:47:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzns/2x9J6AIHIU/p3DbKxyZIB7aF189E7oButM2qy+ABITY/KEHLR/ylJ2vfVD2HCeLMmG X-Received: by 2002:a17:906:1955:: with SMTP id b21mr4643469eje.42.1603496847824; Fri, 23 Oct 2020 16:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603496847; cv=none; d=google.com; s=arc-20160816; b=rpr86laCa/cB2l9hcoPR2V8Jdoxn6VbIqLHP0hVLQVeq9ulVt1bZ8CzHe3grJFhsBy W/UBDLIG36SBgV8sbyDGe/ddO4kYe3RrFBnuGbFO4rD7mg4+dFJziOG7JP5INnJmkvzv FHcvO6HccuCd3EWlQF3reY2UVIgZqTlOkiZvNRv9QcRyILLoGCym9zhHMRGyZiZopiIV ktdFZgPWYAEyQqDo/NQtEkAfn3eaqhxl/hHnmzz90QUJJCe8/4aiKKAExH9i95nkC5sC ILbGHek+7YdksOuK3+pWefQMnaZa0Dhe/vZzJVg4FCLUNs9TbNhTCKHJJsoqP62JwSWC 2rbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:in-reply-to:cc:references:message-id:date :subject:mime-version:from:content-transfer-encoding:dkim-signature; bh=oo0JalTi67g9ZbGeniubeZCk3VUuNT+Cn8+MsUJc5v8=; b=hriYaA04Tnjsq41tf4IreXEIQM6wkDfyO463d7rxmYrccm9Q7Q/hCHX7dKXTNffaQ8 VGkNI1jMFE8gLMC1zR7zpEFngvJxvf7Urx4wW9kuTnSYHeCnPOzNtJm/AgGotnLNVFDF d0gGh6WeYi9mTBcNEHbop6P1PrTDrRIcpR9f+t4xc8jnc3F+SEm1QZAeDrzUgKB2vRNb UyKB1ntYRb68m3vHijZTjhtbG605Rf5Xp8/Ew+4thv/A4H6qn4/kT+FKAq6irm+tPzE6 BWMyEFB5T2befOeNWSg0KyWo8ROSnm9m5RSCIczs4JbgvQwqdDmslvl531/kFxiF+96X L9+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fSwuWWUm; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si2320732ejm.502.2020.10.23.16.47.05; Fri, 23 Oct 2020 16:47:27 -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=@redhat.com header.s=mimecast20190719 header.b=fSwuWWUm; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754914AbgJWTq0 (ORCPT + 99 others); Fri, 23 Oct 2020 15:46:26 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:58815 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754901AbgJWTq0 (ORCPT ); Fri, 23 Oct 2020 15:46:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603482384; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oo0JalTi67g9ZbGeniubeZCk3VUuNT+Cn8+MsUJc5v8=; b=fSwuWWUmwucMcndUyMBk2+zwXZtpt3ajon2cbnhec4diXe9NQRUdi2JB+j/K7p68nvzuzt eFzuAr6iT7Rh5bjfGueS1Qyi98sRfBUlkxvtIeiChL/bqXNEa3xiM0GeFLP012ij1zyKEv +LxTCXS0Og4BhqO7Hr8t6guDAS0//lE= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-157-CfJHSN4VOJGpC46kKPHYnA-1; Fri, 23 Oct 2020 15:46:21 -0400 X-MC-Unique: CfJHSN4VOJGpC46kKPHYnA-1 Received: by mail-wr1-f69.google.com with SMTP id 33so967342wrf.22 for ; Fri, 23 Oct 2020 12:46:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=oo0JalTi67g9ZbGeniubeZCk3VUuNT+Cn8+MsUJc5v8=; b=Vt/2C80EJZxv6TlymkMeryJo36AGVoz/+Ipyf3yX8kgV4g6tPODiU/FBwLIVDVYkkB lvbLkrpkx1G+ZKzx4ywcChNYUhRtkURTz6fzArsmD6PsWHN5VWN0VPlGGnVHwMF39owl y2KJnDDTHErtKrwVxsUZ0DmaSsj/UYwbD7qaeH64lGu+UJ9zHemlhaZzIvWVRpRyMrNp eBbLWPvyeTFiJzAdzhEc/sbjBw52N5W2yGnL60vXCm+PrI3b8b71sllhsd4udkdhhSDZ c1azb2W+oU/+m7kMg91whw77V4S32vOrf/qP9Cm5xOFz2Jd2ubfsp6Z9FyjMrbox4Vfs bE+Q== X-Gm-Message-State: AOAM531Ru8R2DwIw28SBmYcWq+Tf7kF8gMHtWqocmkFFEuetDqryj3kW H3DwmywbtmnUGepDlGFZ9CPTQbgT5hjGWBzIIO+allIckSIGbh/vYhbsLC6tR1ICMirxJ6EeT/D B2nky0GLiH5atpqMzkRclGkPA X-Received: by 2002:adf:f54c:: with SMTP id j12mr4229761wrp.413.1603482380410; Fri, 23 Oct 2020 12:46:20 -0700 (PDT) X-Received: by 2002:adf:f54c:: with SMTP id j12mr4229747wrp.413.1603482380210; Fri, 23 Oct 2020 12:46:20 -0700 (PDT) Received: from [192.168.3.114] (p5b0c6b29.dip0.t-ipconnect.de. [91.12.107.41]) by smtp.gmail.com with ESMTPSA id c185sm5341371wma.44.2020.10.23.12.46.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Oct 2020 12:46:19 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: David Hildenbrand Mime-Version: 1.0 (1.0) Subject: Re: [mm/page_alloc] 7fef431be9: vm-scalability.throughput 87.8% improvement Date: Fri, 23 Oct 2020 21:46:18 +0200 Message-Id: <9F5E9E0C-A367-49EE-8764-58555C742F1E@redhat.com> References: Cc: kernel test robot , Axel Rasmussen , Kevin Ko , David Hildenbrand , Linus Torvalds , Andrew Morton , Vlastimil Babka , Oscar Salvador , Wei Yang , Pankaj Gupta , Michal Hocko , Alexander Duyck , Mel Gorman , Dave Hansen , Mike Rapoport , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Matthew Wilcox , Michael Ellerman , Michal Hocko , Scott Cheloha , LKML , lkp@lists.01.org, lkp@intel.com, ying.huang@intel.com, feng.tang@intel.com, zhengjun.xing@intel.com In-Reply-To: To: David Rientjes X-Mailer: iPhone Mail (18A393) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 23.10.2020 um 21:29 schrieb David Rientjes : >=20 > =EF=BB=BFOn Wed, 21 Oct 2020, kernel test robot wrote: >=20 >> Greeting, >>=20 >> FYI, we noticed a 87.8% improvement of vm-scalability.throughput due to c= ommit: >>=20 >>=20 >> commit: 7fef431be9c9ac255838a9578331567b9dba4477 ("mm/page_alloc: place p= ages to tail in __free_pages_core()") >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master >>=20 >>=20 >> in testcase: vm-scalability >> on test machine: 192 threads Intel(R) Xeon(R) Platinum 9242 CPU @ 2.30GHz= with 192G memory >> with following parameters: >>=20 >> runtime: 300s >> size: 512G >> test: anon-wx-rand-mt >> cpufreq_governor: performance >> ucode: 0x5002f01 >>=20 >> test-description: The motivation behind this suite is to exercise functio= ns and regions of the mm/ of the Linux kernel which are of interest to us. >> test-url: https://git.kernel.org/cgit/linux/kernel/git/wfg/vm-scalability= .git/ >>=20 >=20 > I'm curious why we are not able to reproduce this improvement on Skylake=20= > and actually see a slight performance degradation, at least for=20 > 300s_128G_truncate_throughput. >=20 > Axel Rasmussen can provide more details on our=20= > results. >=20 As this patch only affects how we first place pages into the freelists when b= ooting up, I=E2=80=98d be surprised if there would be observable change in a= ctual numbers. Run your system for long enough and it=E2=80=98s all going to= be random in the freelists anyway. Looks more like random measurement anomalies to me. But maybe there are corn= er cases where the initial state of the freelists affects a benchmark when r= un immediately after boot?=