From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23CE4C07E9B for ; Wed, 21 Jul 2021 10:54:29 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C2A2660720 for ; Wed, 21 Jul 2021 10:54:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C2A2660720 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:45486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m69rv-0005un-OQ for qemu-devel@archiver.kernel.org; Wed, 21 Jul 2021 06:54:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m69aw-0004Gu-0F for qemu-devel@nongnu.org; Wed, 21 Jul 2021 06:36:54 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:41594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m69at-00059l-Jb for qemu-devel@nongnu.org; Wed, 21 Jul 2021 06:36:53 -0400 Received: by mail-wr1-x431.google.com with SMTP id k4so1631033wrc.8 for ; Wed, 21 Jul 2021 03:36:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jcYcrXSu+KqlQ/6QrGFdUV6rCUe9Kbh1qvz/TUIqCys=; b=tvIUUkCIuv8pOzB2FUz5EiTHZpdeISfZ2Y99V9NNtZRU+4s4j4+wXIShaO5KZ0oRzB qdTZIIH6gan3ZxQsLrlZhZbChdyggsLOmx2cXHdot8MkP8idGt17Ath398Nhfgf+4LnC 9+mQZa87bmjlBnCI8CBbiVW/K6D1WjjQkd//ev6Ee4LutEjChpF12wTVjIwatdRTIp/a kIJPpkMVUg7dcZK7QdSDdW/ZzAfHD72CZ0EyQhg0DKkDHzkjCEqnK3a3yFkpkGwQh6jy V77QY09rKAsHZxMyft+HEQJtBMRtI1tsQcTErmA08WBwF+MyfFMIpG+RZy4hBBxyDhNk hObQ== 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=jcYcrXSu+KqlQ/6QrGFdUV6rCUe9Kbh1qvz/TUIqCys=; b=Y6IFZb9iTM4f2pWMPb5J661jTCMqYnTeYg7zRuPEpqLRZTattprgztRZT24HuyySWw DJyBKIGWGCyQgQ3MuuN6A6RjVoGKPDC3koG70CBF3IO86fAmfv24O1gpUWKwSFctTkNc Ekbxrk7QjDKdvKdh1WftyclSm4xUd7Ok+Wek9jiVf0ES+kAUftas57LoXHvYYLk9bDEP fLFcil9s+SCmk2JBHZ7dk7X4LRy8vFHAZcuPabd8Ob19yGtXJromDHNRjAH95qeZW4+B BOLyKQJVjPeSGTmhuqXiBAE/cKMcKE3SYQ0F9EHmChNdOqB2Tte3SOhhvck2KGp+EFyM 6j3A== X-Gm-Message-State: AOAM531rrMT4RhQ5EzX/RllxBbiXMMaf330l7GPQb6f0S2RWPZsCzSat J3BNNcWwY12an8eKI5irvFo2O9OT0ns= X-Google-Smtp-Source: ABdhPJykPWW6v4IoecSxgjiZgJVBFLgkTj+g/+FW9/jU/SbO1xhXTS6Z6QRL2wcCAIQR3KASAm9ISg== X-Received: by 2002:adf:f54e:: with SMTP id j14mr41443082wrp.91.1626863810035; Wed, 21 Jul 2021 03:36:50 -0700 (PDT) Received: from localhost.localdomain ([102.47.167.62]) by smtp.gmail.com with ESMTPSA id s24sm28854019wra.33.2021.07.21.03.36.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 03:36:49 -0700 (PDT) From: Mahmoud Mandour To: qemu-devel@nongnu.org Subject: [PATCH v2 4/5] docs/devel/tcg-plugins: added cores arg to cache plugin Date: Wed, 21 Jul 2021 12:36:10 +0200 Message-Id: <20210721103612.48844-5-ma.mandourr@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210721103612.48844-1-ma.mandourr@gmail.com> References: <20210721103612.48844-1-ma.mandourr@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=ma.mandourr@gmail.com; helo=mail-wr1-x431.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, FREEMAIL_FROM=0.001, 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: Mahmoud Mandour , cota@braap.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Mahmoud Mandour --- docs/devel/tcg-plugins.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/devel/tcg-plugins.rst b/docs/devel/tcg-plugins.rst index 595b8e0ea4..370c11373f 100644 --- a/docs/devel/tcg-plugins.rst +++ b/docs/devel/tcg-plugins.rst @@ -330,11 +330,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) @@ -378,3 +375,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) -- 2.25.1