From patchwork Fri Sep 3 09:03:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 506481 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp825581jai; Fri, 3 Sep 2021 02:11:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJya5IHl23kPr8ZfzLvPgFI7o+jCqrYurzuubKwWqzcTTp/WaSwn4xN1ZLl9PdXjjXOOSS3q X-Received: by 2002:a1f:9412:: with SMTP id w18mr1588528vkd.16.1630660300823; Fri, 03 Sep 2021 02:11:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630660300; cv=none; d=google.com; s=arc-20160816; b=B1WmQmsWvtnEm18gPFsmc5rq72tZqhUoY0XjEByDFUApfhvsT00wBwYw/aK+JVGJit zG334/X5Vhbv2GR5FREjPQxOwPwyZaGzSK5MtLnxmA3eegieji9FfNYKCUkvm+IzTQtR B1V2xx8gFVnwPOtzCXgEpA72Y8e1t40Euuf5aL/VM0+VMPOMx5h22q7Q6qt5PtY3wwgr OBRT6QLyCXHqlX2BwvArQxQDGTl3Mqthesx31KWDoTGKoMs5GbQFFS9rQdaFqIl9YCQO oR1nw3RiAHJMkoPCzUyrcmT7b9yJfAPQ+6X5QMZoB7TVzumpyK48P1D/7rn5Mbe4up0u Pynw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=oeQeR+eEGJXX3Wt57/hk38LlH5xv/1yOOnlDT6GieeU=; b=HkT3+6sVk1GJ3XNZFOMTqbSA2aSYWvI1RYEG2Oks8yAVFMYuUFh7A7UqPPJd57Xh8u ktZft6Z8TWTWP24TOwfvLfpvlomes9qgtrP/9SfVIyoCTpnKyUF75P5eG0T9j4AsMcrr KBzJTUdShzCGpRhzC6K9vkMCLOuvg2YPr75323A14uhfd2LUVdjm0GgDIVXLVVwczCTo LdNLYKN+u+1pmasv4g0BrpW+5KqW2KqJTF1Z0lrfMXytTNuybr0trMn8dEzggNOdqIo5 d9PEprmPvtxSjlWTycP6gOTqH9Yr/TW6G2vHWUSVuHgLtujTCdSMLbSeNRkUQJOuWfOb ETXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ZmfGX2u3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m9si2204967vsj.162.2021.09.03.02.11.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Sep 2021 02:11:40 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ZmfGX2u3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:51036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mM5Ea-0000Uz-5k for patch@linaro.org; Fri, 03 Sep 2021 05:11:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mM57A-0006B0-5D for qemu-devel@nongnu.org; Fri, 03 Sep 2021 05:04:00 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:56052) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mM577-0005dl-CQ for qemu-devel@nongnu.org; Fri, 03 Sep 2021 05:03:59 -0400 Received: by mail-wm1-x335.google.com with SMTP id g135so3013600wme.5 for ; Fri, 03 Sep 2021 02:03:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oeQeR+eEGJXX3Wt57/hk38LlH5xv/1yOOnlDT6GieeU=; b=ZmfGX2u3UOC7TRoGp3IbzEOLhoSKfyMlLSzH9mr7LpCbaS2f50P19uac7tj9cK2sIw P+q3LZxBcR5NhngK0/AmGM6HndVK7H8fucqfCQhA608foew3tCtlMFeHieS4BVKsF8in 7WgAIYeQbp5m2Uc4ScBRcYsGEuJCGmrs5gmHesPEIS6VW3D/feXyLF4N2y59JthOpU2T Iauk9DC+CiyjR+xjZln8cfVYuogt3BuDbqIT5uXZQMdWPwLFri+AEwLjKJbC9nFiXZBL bLX9/BHXYrsyXSuoM4e85fUWp5+/uA4iKG8mJ7BBf8wKvPL56fy7jtGu1rIEhiYzasab Zubg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oeQeR+eEGJXX3Wt57/hk38LlH5xv/1yOOnlDT6GieeU=; b=at25htJV7xd2vBvaqY799A2gq0Xcl/jKKD9mXFDoB4e0TVjvcoTgb1ndXKDcK+psgr Eb5CgpW5rz7QYmGwWgAsidG/Ba18gW2u0JECS+5FPwWOXouIRTwct8aw5ByriWYYlXty RpjjYr71NEEuxZjPqnEq9zTUCUbHuMghxBIlROICq16qXie0XR6tTVZuiVVLysk+IhO5 j6gy1hNwtXzgxt37tSB3kAEJGtU2uem38fUWe1vmjilOvW1Njcf0IFebVdACOdT5xp2r Ur0j24bGpBNVcqPzEHWZiYnkawLW3fVYhlDq4c3qt/1i61VVdx3545oeYiGkhgLX3p0M VklQ== X-Gm-Message-State: AOAM5302EIbOCNn24VN9bjxhi9LT/OsneJQkZNDELv0DqHQWHI/iNRPC jcGQ7eMc9MGUuLwRkAmfNUPoqA== X-Received: by 2002:a05:600c:2250:: with SMTP id a16mr2254455wmm.72.1630659833286; Fri, 03 Sep 2021 02:03:53 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j20sm4084619wrb.5.2021.09.03.02.03.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 02:03:48 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7A7CE1FF9F; Fri, 3 Sep 2021 10:03:40 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 08/22] docs/devel/tcg-plugins: added cores arg to cache plugin Date: Fri, 3 Sep 2021 10:03:25 +0100 Message-Id: <20210903090339.1074887-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210903090339.1074887-1-alex.bennee@linaro.org> References: <20210903090339.1074887-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Iooss , Mahmoud Mandour , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Mahmoud Mandour Signed-off-by: Mahmoud Mandour Message-Id: <20210803151301.123581-3-ma.mandourr@gmail.com> Signed-off-by: Alex Bennée -- 2.30.2 diff --git a/docs/devel/tcg-plugins.rst b/docs/devel/tcg-plugins.rst index 047bf4ada7..2d29a8972b 100644 --- a/docs/devel/tcg-plugins.rst +++ b/docs/devel/tcg-plugins.rst @@ -355,11 +355,8 @@ configuration when a given working set is run:: will report the following:: - Data accesses: 996479, Misses: 507 - Miss rate: 0.050879% - - Instruction accesses: 2641737, Misses: 18617 - Miss rate: 0.704726% + core #, data accesses, data misses, dmiss rate, insn accesses, insn misses, imiss rate + 0 996695 508 0.0510% 2642799 18617 0.7044% address, data misses, instruction 0x424f1e (_int_malloc), 109, movq %rax, 8(%rcx) @@ -403,3 +400,9 @@ The plugin has a number of arguments, all of them are optional: Sets the eviction policy to POLICY. Available policies are: :code:`lru`, :code:`fifo`, and :code:`rand`. The plugin will use the specified policy for both instruction and data caches. (default: POLICY = :code:`lru`) + + * arg="cores=N" + + Sets the number of cores for which we maintain separate icache and dcache. + (default: for linux-user, N = 1, for full system emulation: N = cores + available to guest)