Commit a5be820
Update threading configuration for NVL and PTL (#36367)
### Details:
- *Update threading configuration for NVL and PTL*
1. Improve hybrid CPU latency heuristics to enable more ALL/AUTO
configurations on high LP E-core-share platforms.
2. Add new model-profile-based AUTO rules using lp_ecore_share, memory
tolerance, convolution pressure, and GEMM ratio.
3. Refine latency stream sizing so model_prefer_threads is honored when
building single-stream ALL core configurations.
4. Extend CPUStreamsExecutor internal stream metadata from a single core
type to multiple core types.
5. Update task arena creation logic to bind streams by the actual set of
eligible core types instead of forcing a single-type binding.
6. Add unit coverage for mixed-core stream metadata and stream type
selection behavior.
Dependency PR:
[PR#36286](#36286)
### Tickets:
- CVS-183947
- CVS-180761
### Test data:
Machine:
1.NVL windows from validation team (8Pcores+16Ecores+4LPEcores),
2.PTL X7 358H 32GB windows (4Pcores+8Ecores+4LPEcores)
Models: 209 static models from WW05_static_2026.0.0-20947
The geomean of latency with PR vs master:
NVL: 0.97583
PTL: 0.92095
The performance data for all models:
<img width="285" height="188" alt="image"
src="https://github.com/user-attachments/assets/d6046306-e68e-4a9a-8f3b-dfe616539805"
/>
The performance data for the models with **threads and partitioner
changed in current PR**:
<img width="284" height="165" alt="image"
src="https://github.com/user-attachments/assets/e869d620-e743-4dd0-b649-b66ca6ffe713"
/>
---------
Co-authored-by: Chen Peter <peter.chen@intel.com>1 parent b308ae2 commit a5be820
8 files changed
Lines changed: 600 additions & 122 deletions
File tree
- src
- inference
- dev_api/openvino/runtime/threading
- src/dev/threading
- tests/unit
- plugins/intel_cpu
- src
- tests/unit/streams_info
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | | - | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | | - | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
Lines changed: 67 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
102 | 140 | | |
103 | 141 | | |
104 | 142 | | |
105 | | - | |
| 143 | + | |
106 | 144 | | |
107 | 145 | | |
108 | 146 | | |
109 | 147 | | |
110 | 148 | | |
111 | 149 | | |
| 150 | + | |
112 | 151 | | |
113 | 152 | | |
114 | 153 | | |
115 | 154 | | |
116 | 155 | | |
117 | | - | |
| 156 | + | |
118 | 157 | | |
119 | 158 | | |
120 | 159 | | |
| |||
124 | 163 | | |
125 | 164 | | |
126 | 165 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 166 | + | |
| 167 | + | |
134 | 168 | | |
135 | | - | |
136 | | - | |
137 | | - | |
| 169 | + | |
138 | 170 | | |
139 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
140 | 177 | | |
141 | 178 | | |
142 | 179 | | |
| |||
150 | 187 | | |
151 | 188 | | |
152 | 189 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
161 | 204 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | 205 | | |
167 | 206 | | |
168 | 207 | | |
| |||
180 | 219 | | |
181 | 220 | | |
182 | 221 | | |
183 | | - | |
| 222 | + | |
184 | 223 | | |
185 | 224 | | |
186 | 225 | | |
| |||
195 | 234 | | |
196 | 235 | | |
197 | 236 | | |
198 | | - | |
| 237 | + | |
199 | 238 | | |
200 | 239 | | |
201 | 240 | | |
| |||
205 | 244 | | |
206 | 245 | | |
207 | 246 | | |
208 | | - | |
| 247 | + | |
209 | 248 | | |
210 | 249 | | |
211 | 250 | | |
| |||
Lines changed: 35 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
26 | 41 | | |
27 | 42 | | |
28 | 43 | | |
29 | | - | |
| 44 | + | |
30 | 45 | | |
31 | 46 | | |
32 | 47 | | |
| |||
35 | 50 | | |
36 | 51 | | |
37 | 52 | | |
38 | | - | |
| 53 | + | |
39 | 54 | | |
40 | 55 | | |
41 | 56 | | |
42 | 57 | | |
43 | 58 | | |
44 | 59 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 60 | + | |
48 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
49 | 65 | | |
50 | 66 | | |
51 | 67 | | |
52 | 68 | | |
53 | 69 | | |
54 | 70 | | |
55 | 71 | | |
| 72 | + | |
56 | 73 | | |
57 | 74 | | |
58 | 75 | | |
59 | 76 | | |
60 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
61 | 82 | | |
62 | 83 | | |
63 | 84 | | |
64 | 85 | | |
65 | 86 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
74 | 93 | | |
75 | 94 | | |
76 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
0 commit comments