[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/5] x86/mwait-idle: update ICX C6 data


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 6 Sep 2021 15:01:12 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gXqC7kdE6vgcxzHsZu6LKPSCCwekAZOdkt0dRfJilCw=; b=Hc02hEB4Ogp1mEAvFDowtjsJA98bTzyr1E/ahMO1JN3d0GewcSEFwl9NeHAvXQboEPS2A6tX1ArvVagrydPWp57slRMa9qYg7NNfCjN7tDCNpSNMRhGZp7F6bCV1sjOvxWUK4CoThYJpFPN7czwXTBZysHYNNweOTmS8vhi40jcmhvDgho9U15zGAR64xcDw9dc74Rhny8deo84Wc+qieTrA+oeHgD29998eZbgVNHth657OcAiC4nt68jvYqupWLZEiqIrF44HDL6EAXxPNU2/oLV6E1iTzvX8FMbvZjRgPs8FnMdUAfuZGf1wFx0+iVHerZMqCSJT5sZl4155ACA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OQ1hhvpzshOWV7M8HGtnj/xEGUliPqE+LcKtpQ9eTUvHV5LNbZzIAHP7dZsySbv1uMF328nXodfDda0OqBvFrE10edK+XIcNXYzvcsBAlNcPkw7Su5JhKA6/J6CQN8eQdpczJC5t2FWtKD9UM33HkaY8aQQem7Yu2nz9zFE8cbBv9ld+4zndlbw/Ag2SSg8PWixxSYFXpK/FI5VrTLGKGAk7BOqcJt6LP/VRRK5v+qpYC1DjfKf+zc1ZcgiEXmQtG0RMdqmY4BgwEPX59Dsvw+khjgvylPJbVeFZ8E3ETDbblvW8+Xka5Qq3P+9fJmwV21rZ5BI+eNuBNtL2REUeFA==
  • Authentication-results: citrix.com; dkim=none (message not signed) header.d=none;citrix.com; dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Mon, 06 Sep 2021 13:01:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

From: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>

Change IceLake Xeon C6 latency from 128 us to 170 us. The latency
was measured with the "wult" tool and corresponds to the 99.99th
percentile when measuring with the "nic" method. Note, the 128 us
figure correspond to the median latency, but in intel_idle we use
the "worst case" latency figure instead.

C6 target residency was increased from 384 us to 600 us, which may
result in less C6 residency in some workloads. This value was tested
and compared to values 384, and 1000. Value 600 is a reasonable
tradeoff between power and performance.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>
Acked-by: Zhang Rui <rui.zhang@xxxxxxxxx>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
[Linux commit: d484b8bfc6fa71a088e4ac85d9ce11aa0385867e]
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/xen/arch/x86/cpu/mwait-idle.c
+++ b/xen/arch/x86/cpu/mwait-idle.c
@@ -574,8 +574,8 @@ static const struct cpuidle_state icx_cs
        {
                .name = "C6-ICX",
                .flags = MWAIT2flg(0x20) | CPUIDLE_FLAG_TLB_FLUSHED,
-               .exit_latency = 128,
-               .target_residency = 384,
+               .exit_latency = 170,
+               .target_residency = 600,
        },
        {}
 };




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.