forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting api to sync when hint is latency in benchmark_app (openvinoto…
…olkit#29060) ### Details: Now the default setting of latency mode in benchmark_app is aync mode. So when we run benchmark_app on dual socket platform with latency hint, OV RT create stream on socket that benchmark_app is running on. However, thread of benchmark_app may be scheduled to other socket by OS during inference. Then performance will drop. After changing the default setting to sync mode, the benchmark_app thread becomes one of the inference threads. This reduces cross-socket switching, leading to more stable performance results. - *Setting api to sync when hint is latency* ### Tickets: - *CVS-154111* --------- Co-authored-by: Wanglei Shen <[email protected]>
- Loading branch information
1 parent
c3d0954
commit 9980e86
Showing
6 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters