Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp49525rwe; Wed, 31 Aug 2022 16:11:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR57MZ1NeS4KZV4y26PNtmLG3I3vcPLQRiW85lQhXGkeq5CSZz/0KghJ6zChIDGGCaQNF8U2 X-Received: by 2002:a17:907:e94:b0:741:6f75:48e4 with SMTP id ho20-20020a1709070e9400b007416f7548e4mr13488615ejc.331.1661987480845; Wed, 31 Aug 2022 16:11:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661987480; cv=none; d=google.com; s=arc-20160816; b=cmlhi61KXyMUWeAFJBIe/TNbfPFSUPTBgyEdElB8pbnRkloCprQubq6p6a8oncvJ5n w+3fyAidSsfXILiCb9MuUJoDuCkeFFHqAr1idum8jF+YQ/div0n0BSN40PHqu8T6/dT1 L2Wxlc01s09BhsSsGDKodiHfphgu0Gu/6CiOx5FZbYwYsx/vTIfVzC/xDi9hwPKro0CO LyuDufhjW54Y5Rq68v4GL0X4+SS5S7NDXzZEbNeu1ht0tbHAcH5VH/ZKKjT8iW1zim/r f42/DVmJBRM3wfa8CwiKX0IE9EECnrO5Qx1wxYQ6UJ4k7gmSKrBJdLhWONF2U9bj9emW yPiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=AWZYQnfan1bJ9GVCNBmyZROKJBcbdAllrd1bujLULUY=; b=qtzGfHLFqMTRvy6FZZyaAdQk656yMgYgnFx0ZSLe/8yXLKgoG88wod/eFxjJGymhhV tSi7+IN6VR5w6AlX1Nm0O0J+a6IS8uqS8AcF3L6QgWOLQSmevzs0wKAESzEaWQDkoOQn LyHpfYvp5hAgaoyfuuzXH7K/sYTzCxRttlw4fY/hX/w3crXX4ze0zFy/gyKmuIksfdxn 610LnRtAnnI2Uqd4bZkCLClSsgRPDcfzKfvNG2B7HEkPe5yGcKPrbGOXHtzZ4us6IS9N scdbb+7wRwozvtru3KptsIwTxt3zSjbsllvsNP8uEZ4Tt8s0SqaCU5iw1tyZIr3uDr8g KvDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=dIvdefwa; 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=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id la26-20020a170907781a00b00726b4f91300si12438237ejc.269.2022.08.31.16.10.55; Wed, 31 Aug 2022 16:11:20 -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=@google.com header.s=20210112 header.b=dIvdefwa; 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=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232244AbiHaWTd (ORCPT + 99 others); Wed, 31 Aug 2022 18:19:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbiHaWTb (ORCPT ); Wed, 31 Aug 2022 18:19:31 -0400 Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10A40EA89D for ; Wed, 31 Aug 2022 15:19:30 -0700 (PDT) Received: by mail-vs1-xe2d.google.com with SMTP id k66so10366847vsc.11 for ; Wed, 31 Aug 2022 15:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=AWZYQnfan1bJ9GVCNBmyZROKJBcbdAllrd1bujLULUY=; b=dIvdefwaZbVNNqxh58j/aN2+eJRZ99cdEUmZC1J0cvPnn8cQuWt1+PInXHWHuD86Ro kUUwpAt8eLCA1sOqsb23HOTSSSoFU8FV9mURgEs1ycFph/6ImAZMOpyQGA2HHzU/WQj6 qbvtJIAFvKWzXCkus1+g/Ks1t9ag0iaV+KhvBBU/KEtVQ1oxAITPF8No6eMViA8oktNL fj+WxeXrs49XTdF0UWkU474Bg5OYUt/4xAyqLxWNwsHFVm9wECowDjpI1a6GFj+otplu VlhUILHGh6hu65+zZSjlpg2G2QL32OR+YKzids3xS0QPdZFGBnezavGjEnHtulocVp+C BmeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=AWZYQnfan1bJ9GVCNBmyZROKJBcbdAllrd1bujLULUY=; b=4jr5xFyACUc/OTVsXa/mXoPBkn6fSRl0z9tmTng9EyMjsL8a0kQAtnqpnsrIlG01KA iRqhTwG4P5sA0IHWPdoldB8Uk/J3vDjzeHHaxcqd5SNpCgRaFbyzOMTh88+vmbA5Nwyq Z4ruW7Tc2CuplHJmDUNePa+FO5fBZSvgU+JQ9In4Hx4mRNmA9wSLi26AVWKrdlwI3s4g EGAYLzQ2zkiLbz6VgVok+7K6t0rD9NT1+UMdEeYzgKUVKjrtd3r7HV8DHSMj8K0+QZ/w tiWQoyY1Hm7GCCtnYxh3IEIPwKyG23QZGAS7YZo9wOo8NtoHWcBbX30mSVriK5sMVQqr DQvg== X-Gm-Message-State: ACgBeo2P8h8n1ewyAEGMLVoly38cChZN/9g3PBkAaHAFf+opGe12T0sM GK/XRkySyY16Fb5BR2bdNL2oIRmZjNJuYUj3JwBGVQ== X-Received: by 2002:a67:f909:0:b0:390:e960:7f5a with SMTP id t9-20020a67f909000000b00390e9607f5amr4984075vsq.50.1661984369049; Wed, 31 Aug 2022 15:19:29 -0700 (PDT) MIME-Version: 1.0 References: <20220815071332.627393-1-yuzhao@google.com> <20220831041731.3836322-1-yuzhao@google.com> In-Reply-To: <20220831041731.3836322-1-yuzhao@google.com> From: Yu Zhao Date: Wed, 31 Aug 2022 16:18:50 -0600 Message-ID: Subject: Re: OpenWrt / MIPS benchmark with MGLRU To: Arnd Bergmann , Dave Hansen Cc: Linux-MM , Andrew Morton , Andi Kleen , Aneesh Kumar , Catalin Marinas , Dave Hansen , Hillf Danton , Jens Axboe , Johannes Weiner , Jonathan Corbet , Linus Torvalds , Matthew Wilcox , Mel Gorman , Michael Larabel , Michal Hocko , Mike Rapoport , Peter Zijlstra , Tejun Heo , Vlastimil Babka , Will Deacon , Linux ARM , "open list:DOCUMENTATION" , linux-kernel , "the arch/x86 maintainers" , Kernel Page Reclaim v2 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Tue, Aug 30, 2022 at 10:17 PM Yu Zhao wrote: > > TLDR > ==== > RAM utilization Throughput (95% CI) P99 Latency (95% CI) > ---------------------------------------------------------- > ~90% NS NS > ~110% +[12, 16]% -[20, 22]% > > Abbreviations > ============= > CI: confidence interval > NS: no statistically significant difference > DUT: device under test > ATE: automatic test equipment > > Rational > ======== > 1. OpenWrt is the most popular distro for WiFi routers; many of its > targets use big endianness [1]. > 2. 4 out of the top 5 bestselling WiFi routers in the US use MIPS [2]; > MIPS uses software-managed TLB. > 3. Memcached is the best available memory benchmark on OpenWrt; > admittedly such a use case is very limited in the real world. Thanks. My goal is to encourage MM people to extend their test coverage to some commonly used but less tested configurations. I carefully constructed this benchmark with the balance between its representativeness and the effort to reproduce. When I wear my MM hat, I see ER-8 as the ideal choice because it comes with a serial port, a replaceable memory DIMM and one of the two cores that can be disabled. The same SoC is also what the Debian MIPS port mainly uses for their testing [1]. So if I need help, I might be able to get it from them. From OpenWrt's / MIPS OEMs' POVs, I do see ER-8 as an uninteresting platform. Currently the best selling WiFi router on Amazon US is Archer A7, a knockoff of Archer C7. The latter comes with not only the serial port header but also the JTAG header, and that's what I use. But I seriously doubt showing how I work on C7 would encourage MM people to try it. I snapped a pictures of it during lunch: https://drive.google.com/file/d/1rYBwLOyMqBSr6WKUZd7Gbf9RfwA641X5/ And other boards I routinely test the MM performance on: https://drive.google.com/file/d/1yBMx9OPWw-5czvz3maNUy6WBFwPvAqG5/ All the way dates back to this vintage: https://drive.google.com/file/d/12N21qiWSoyJgZwVkwAhY8_5Fj4dKftqD/ [1] https://wiki.debian.org/MIPSPort