Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp440599rwe; Wed, 31 Aug 2022 05:34:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR6LfO9MMkAYGVSTqWPVCPuaLwU6CuDaU2fjCS64Tq4AJ+wSi30RSz8rjPf/yRlt8b7RAmp9 X-Received: by 2002:a63:8a43:0:b0:42b:345e:a52c with SMTP id y64-20020a638a43000000b0042b345ea52cmr21436392pgd.524.1661949269096; Wed, 31 Aug 2022 05:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661949269; cv=none; d=google.com; s=arc-20160816; b=CfcGc9EHqDIUx7d4lLSMB0RB0oBLqlbl8L7YSlOtwso3nKnxmYHWmxbUnBAwcnahw0 vo3ufvp/hFijAV15e9XXOI+wC1/7sz38GjDNpR3+T8ig2lEgLc7TLjqSIMnuZtmX+om1 A3HiA/t1n8QGmGTD8/+H6sus1iKPxduX/eiji06zb8gUGj3EFpHDAPEQgPAieSEetMuW GBa5e5GlQmD6i7uo3iQqYAla9kmy0kKXSiTgocKF3J7hObcGUO6kNEutBiynA1/Eboq+ r6l6c3vvHanB1/2vyKUodTUAWi6nggAyTFgtoMNXSX2d3xWEb/DslKKvi/kn49sOL/Hj iEvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=PwHKpVPJmMUmUrzEC5wfEwU2vtgowOlvFWw9meu7ZZI=; b=LCxN/nTbVFP2B4U8ILKkFdP7OA34Tb5OobvBDBqp0ayxdn0rOLN1b3MvXtBT5/JOsE 0VlGumSY5Z3iV0tER30Ou492T2d4QfZmFgcyQh7eQH/++D96A9gxmjKJWE6AeLFbS86c h0Kpw3d+0rwVWYMYWLVsK4uX7oTDNVR6GgOnBKi2MJ4LgyWnQCJEk3j3eEXXB8kg8Le8 ERJ0xd5lURz61dJ4s9UFRd1jDsci7TGYbxZhkIZi5mTTwYEKo+g5T1oox8bKZJsYyJBF dQZb1fqELGDitwCaJ42Na7ou5bltbuRaYd7gKwlaN4vFmTBDARYZ1XvealN8/7bS/avp Sd3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=LnQqu8M2; dkim=pass header.i=@messagingengine.com header.s=i56a14606.fm1 header.b=JulZysPI; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z13-20020aa7888d000000b0053abe946910si1733681pfe.349.2022.08.31.05.34.18; Wed, 31 Aug 2022 05:34:29 -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=@arndb.de header.s=fm1 header.b=LnQqu8M2; dkim=pass header.i=@messagingengine.com header.s=i56a14606.fm1 header.b=JulZysPI; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230029AbiHaMN0 (ORCPT + 99 others); Wed, 31 Aug 2022 08:13:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229814AbiHaMNZ (ORCPT ); Wed, 31 Aug 2022 08:13:25 -0400 Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23FA9D2769 for ; Wed, 31 Aug 2022 05:13:24 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id D8463580469; Wed, 31 Aug 2022 08:13:20 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Wed, 31 Aug 2022 08:13:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1661948000; x=1661951600; bh=PwHKpVPJmM UmUrzEC5wfEwU2vtgowOlvFWw9meu7ZZI=; b=LnQqu8M2MveQUmyS+/mKijGNEZ LvA1dXxbxJ5tbX8N7d5ECV86C6tCcYUvSm7qbdusUJZczGN+O276+pTomUqApjYc 2iDIzyCJw57HNp4k5oew9PCTBl4U6XGh4HfFLkMgxs7xfs/N32MHV1JvuYdClnTG gZVx5Jovcgvk79mmUaEI+ovyXtHPCbtojR/6ZmFfC9fiE9MbhC+LHs5e1qktbRj3 oInoXOk2+AWsJRNNTgbuuqlrP/rxN3on+Ziy+YbvI7LFzOktv/75PlYoWqr+v/8t eznmjPvhQQ/sXgrJ7GbB3AjNg/fyXqP6xqaguqjAUb/KNIoPv3f8wcyxDuSg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= i56a14606.fm1; t=1661948000; x=1661951600; bh=PwHKpVPJmMUmUrzEC5 wfEwU2vtgowOlvFWw9meu7ZZI=; b=JulZysPIyyY6WOOwRIu/Dzy6xwpTz6y+C9 q4OioxpJwBb2rStOMqN3hfKZ+CnFOnGdgembcokJNJ/lFXrKfwu7QK0BDw5m+Tje +gp2c4yO+YeVNlHA25CWbDhj1LEfD1EJAU/yAJ4yK/9K29qXeFY0drrz+2X2VUuz X7aFoO9jGvsbAl//27gZQzBwKadANCClBHNdOwSg+wZttvxW3uDdNn9yJJKGIdkV 0JX5pwsoWuDl6gb3mGVS0ef/ZFAHGiixiRFz3VOTnrKicox47QU5897yrN+xCkZZ bUcLKmyCI0R8CY9JtlwJKZgz9Y+pAhvfYDgtg2XCOjstN1UjI49A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdekiedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 360BEB60083; Wed, 31 Aug 2022 08:13:19 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Mime-Version: 1.0 Message-Id: In-Reply-To: <20220831041731.3836322-1-yuzhao@google.com> References: <20220815071332.627393-1-yuzhao@google.com> <20220831041731.3836322-1-yuzhao@google.com> Date: Wed, 31 Aug 2022 14:12:59 +0200 From: "Arnd Bergmann" To: linux-arm-kernel@lists.infradead.org, "Yu Zhao" Cc: "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-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, page-reclaim@google.com Subject: Re: OpenWrt / MIPS benchmark with MGLRU Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Wed, Aug 31, 2022, at 6:17 AM, Yu Zhao wrote: > > 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. > > Hardware > ======== > DUT: Ubiquiti EdgeRouter (ER-8) [3] I don't know if it makes any difference to your findings, but I would point out the test hardware is neither representative of most devices supported by OpenWRT, nor those on the amazon best-seller list that I see looking from Germany: Five of the top-10 devices on that list are arm64 (little-endian, hardware TLB walker, typically 512MB of RAM), the others are mips32 (typically only 128MB, mostly single-core) and only the oldest one (Archer C7) of them is big-endian. I would not expect endianness to make any difference, but the 16x smaller memory of typical mips devices (ath79, mt76) might. Arnd