Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3107818rwp; Fri, 14 Jul 2023 17:54:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlHXnSL5dX/slNO2OEADj8VqFJx1XxavBRjI7z/MqfZP/6U2QhfMOLJsmRTGwCYSav5AXJDt X-Received: by 2002:a17:902:d482:b0:1b8:50a9:6874 with SMTP id c2-20020a170902d48200b001b850a96874mr609470plg.5.1689382446878; Fri, 14 Jul 2023 17:54:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689382446; cv=none; d=google.com; s=arc-20160816; b=nJ6HamnBKDYx08g4w5g5nb3WsiV51UDYzVTHCEX/nOw+yTuhoMwfSeHtZZ4+PqA2r0 u1LqAlmENHN6HKpvRLLq2ehqxnhLc/sVHjF0uMNWQulV2FHYHUqzGIMt/YRQaM6vxd30 +2rWONjMcqIhN8fM/eWfPn9L9s0YLJ6Hi57ligTtrexuzbBsBloNSgffRrAOS0ocPWtq wDRX3oIhnkBLjx8pTp9SbKiWMBCS1LkVh4VaJwlWpnuMiB+d61XwyGnafOGGGBaXu35W GTfsZLtxsjsLhLT0fCSeepg4w1MvMGUK4I1QIIl7bnz/jL8ULtpOsnA0FHdPjW0q/Me5 nsrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=rHB6MmDpW6mOW/AgkDp+ObJjFMKRQPqgz5eDHwER+yU=; fh=LZDPhNPqW1GmK5p6oXx4QkGphKHb8qs//UvjsF3K/9U=; b=VT92iaDn2C5m4X/R3ygIh/S/vgSXPDyqt0x4o/GOfTP1F7K5aPxky8q2Kwt11xWXai liqJd300IbbDgpjVDCuHmoQNoO7y787+/ZR8PfmUirkqht5xOxHQvwkO43BrL8FRbCHx SHHZjY6T/VR870UmV/rpOhy0Nm4tj267N/Cc3SR6poawYWM3qZUwyz8rty8uZp/fUad9 HHhf50sGe3KdlqYH/g/dJHgLaBzUW1l77HgDMwA3XqUUdBf74MH2KJWUE3bFBBu9FUWq x741hFeB3bXCdK2A5+H8rE5T26EmqszEl0QZVDyPN975Yd74zLGeIyhG5ToTWXCgiTCB GGFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google header.b=W6GGyrjn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u15-20020a170902a60f00b001b8b37f0ab0si3105784plq.280.2023.07.14.17.53.54; Fri, 14 Jul 2023 17:54:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google header.b=W6GGyrjn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229580AbjGOAOe (ORCPT + 99 others); Fri, 14 Jul 2023 20:14:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbjGOAOd (ORCPT ); Fri, 14 Jul 2023 20:14:33 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E77E3A91 for ; Fri, 14 Jul 2023 17:14:32 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3159da54e95so2452565f8f.3 for ; Fri, 14 Jul 2023 17:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; t=1689380070; x=1691972070; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rHB6MmDpW6mOW/AgkDp+ObJjFMKRQPqgz5eDHwER+yU=; b=W6GGyrjngXNyfkKbzBP757uoR9/rxEagoiMv4f1IGMSJeGCDSjINCa5zj4OukJxmlx v8tWhz33W130IhEua5jQxOvZvUXYTWOPem8PhPVPjpiqqQoGCgraF3LsNYGKV4SQ/+Xn SbbRovXFK1Nzj4i3EBYMzf5xIjum6gRDURoHo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689380070; x=1691972070; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rHB6MmDpW6mOW/AgkDp+ObJjFMKRQPqgz5eDHwER+yU=; b=X0dedOMR6j+jVrmJBmcxK+B9ENraahFkckjHzd4Jymb7Y1mXS0bUL1pJkSfGz+gPF7 26aU4sPLI+WGWbnE/KKyip3vn0DssbXbOm+WbFGlMlSGddUfFbXzEHcb4pGjhCuQ/jTb CQgkS3Y4bNsmuuDazRz7wksY/fRF+HGZ+9BYzuNXQR7KuuhBbf2IrFKHaTp89TWh2J1O V9w1kaMRTfsSGygwD656hzkNmhSpH6RQeh+/4C0OjGvZHNdj4o0MEmqWGSKL9pNOUs/i jW0qhDRo34O+GLjVG0Kyxn2R6s1g+M2dOoUCW8Qp2CqpUTJO0qO8IdwiuYASgSge2f59 qV5g== X-Gm-Message-State: ABy/qLZyUlykl7T4N9Ob5s6K6M7nSHjB1WpYJhT04hKXo6X8o1xro0SZ 3GiTvMjXLf4o97bBlYFYhALp10ADJL1zpYFcU+mXkKykMixezuPKHq8ahA== X-Received: by 2002:a5d:5485:0:b0:313:ee69:fb21 with SMTP id h5-20020a5d5485000000b00313ee69fb21mr5399250wrv.62.1689380070674; Fri, 14 Jul 2023 17:14:30 -0700 (PDT) MIME-Version: 1.0 References: <20230706062045.xwmwns7cm4fxd7iu@google.com> In-Reply-To: From: Ivan Babrou Date: Fri, 14 Jul 2023 17:14:19 -0700 Message-ID: Subject: Re: Expensive memory.stat + cpu.stat reads To: Shakeel Butt Cc: cgroups@vger.kernel.org, Linux MM , kernel-team , Johannes Weiner , Michal Hocko , Roman Gushchin , Muchun Song , Andrew Morton , linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 10, 2023 at 4:21=E2=80=AFPM Ivan Babrou w= rote: > The fast one is v6.1.37 and the slow one is v6.1.25. I'm not sure if > the kernel version makes a difference or if it's a matter of uptime / > traffic profile. The data is from two different locations. The fast > location has gone through an expansion, which meant a full reboot with > a kernel upgrade, so maybe that affected things: > > * https://i.imgur.com/x8uyMaF.png > > Let me try to reboot the slow location and see if there's any lasting > improvement. There is no correlation with the kernel version, v6.1.38 is slow too: completed: 23.09s [manual / cpu-stat + mem-stat] completed: 0.30s [manual / mem-stat] completed: 0.64s [manual / cpu-stat]