Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

update document for latency configuration for multi numa nodes on one socket (#26944)

Wanglei Shendbc14b2c166f
diff --git a/docs/articles_en/openvino-workflow/running-inference/inference-devices-and-modes/cpu-device/performance-hint-and-thread-scheduling.rst b/docs/articles_en/openvino-workflow/running-inference/inference-devices-and-modes/cpu-device/performance-hint-and-thread-scheduling.rst
index a440f77bc79..46b541d84d4 100644
--- a/docs/articles_en/openvino-workflow/running-inference/inference-devices-and-modes/cpu-device/performance-hint-and-thread-scheduling.rst
+++ b/docs/articles_en/openvino-workflow/running-inference/inference-devices-and-modes/cpu-device/performance-hint-and-thread-scheduling.rst
@@ -63,19 +63,19 @@ the model precision and the ratio of P-cores and E-cores.
Then the default settings for low-level performance properties on Windows and Linux are as follows:
-+--------------------------------------+------------------------------------------------------------------------+--------------------------------------------------------------------+
-| Property | Windows | Linux |
-+======================================+========================================================================+====================================================================+
-| ``ov::num_streams`` | 1 | 1 |
-+--------------------------------------+------------------------------------------------------------------------+--------------------------------------------------------------------+
-| ``ov::inference_num_threads`` | is equal to the number of P-cores or P-cores+E-cores on one socket | is equal to the number of P-cores or P-cores+E-cores on one socket |
-+--------------------------------------+------------------------------------------------------------------------+--------------------------------------------------------------------+
-| ``ov::hint::scheduling_core_type`` | :ref:`Core Type Table of Latency Hint <core_type_latency>` | :ref:`Core Type Table of Latency Hint <core_type_latency>` |
-+--------------------------------------+------------------------------------------------------------------------+--------------------------------------------------------------------+
-| ``ov::hint::enable_hyper_threading`` | No | No |
-+--------------------------------------+------------------------------------------------------------------------+--------------------------------------------------------------------+
-| ``ov::hint::enable_cpu_pinning`` | No / Not Supported | Yes except using P-cores and E-cores together |
-+--------------------------------------+------------------------------------------------------------------------+--------------------------------------------------------------------+
++--------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
+| Property | Windows | Linux |
++======================================+=======================================================================+=======================================================================+
+| ``ov::num_streams`` | 1 | 1 |
++--------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
+| ``ov::inference_num_threads`` | is equal to the number of P-cores or P-cores+E-cores on one numa node | is equal to the number of P-cores or P-cores+E-cores on one numa node |
++--------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
+| ``ov::hint::scheduling_core_type`` | :ref:`Core Type Table of Latency Hint <core_type_latency>` | :ref:`Core Type Table of Latency Hint <core_type_latency>` |
++--------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
+| ``ov::hint::enable_hyper_threading`` | No | No |
++--------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
+| ``ov::hint::enable_cpu_pinning`` | No / Not Supported | Yes except using P-cores and E-cores together |
++--------------------------------------+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
.. note::
@@ -91,6 +91,16 @@ Then the default settings for low-level performance properties on Windows and Li
enabled on Linux. Such default settings are aligned with typical workloads running
in the corresponding environments to guarantee better out-of-the-box (OOB) performance.
+.. note::
+
+ Starting from 5th Gen Intel Xeon Processors, new microarchitecture enabled new sub-NUMA clusters
+ feature. A sub-NUMA cluster (SNC) can create two or more localization domains (numa nodes)
+ within a socket by BIOS configuration.
+ By default OpenVINO with latency hint uses single NUMA node for inference. Although such
+ behavior allows to achive best performance for most of the models, there might be corner
+ cases which require manual tuning of ``ov::num_streams`` and ``ov::hint::enable_hyper_threading parameters``.
+ Please find more detail about `Sub-NUMA Clustering <https://www.intel.com/content/www/us/en/developer/articles/technical/xeon-processor-scalable-family-technical-overview.html>`__
+
Throughput Hint
#####################
diff --git a/docs/articles_en/openvino-workflow/running-inference/optimize-inference/high-level-performance-hints.rst b/docs/articles_en/openvino-workflow/running-inference/optimize-inference/high-level-performance-hints.rst
index 26a09214ea4..e45f51a37af 100644
--- a/docs/articles_en/openvino-workflow/running-inference/optimize-inference/high-level-performance-hints.rst
+++ b/docs/articles_en/openvino-workflow/running-inference/optimize-inference/high-level-performance-hints.rst
@@ -119,9 +119,6 @@ The hints are used on the presumption that the application queries ``ov::optimal
While an application is free to create more requests if needed (for example to support asynchronous inputs population) **it is very important to at least run the** ``ov::optimal_number_of_infer_requests`` **of the inference requests in parallel**. It is recommended for efficiency, or device utilization, reasons.
-Keep in mind that ``ov::hint::PerformanceMode::LATENCY`` does not necessarily imply using single inference request. For example, multi-socket CPUs can deliver as many requests at the same minimal latency as the number of NUMA nodes in the system.
-To make your application fully scalable, make sure to query the ``ov::optimal_number_of_infer_requests`` directly.
-
.. _prefer-async-api:
Prefer Async API