[Starlingx-discuss] vcpus didn't recognize correctly after turning on hyper-threading
Xu, YizhouX
yizhoux.xu at intel.com
Mon Jul 8 10:44:15 UTC 2019
Hi all:
I'm testing with a AIO node(iso version:20190607T142331Z). To meet increasing vcpu requirments, I turn on hyper-threading(ht) in BIOS configuration.
Now the cpu num of system have been twice as much as before(12), but the num of vcpu did not changed(still 4).
Relating to problem:
1. The num of cpu is correct in libvirtd container, check it with 'kube exec -it pod_id lscpu'
2. Checking cpu with `system host-cpu-list` ,and seems it had allocated new added cpu to applications and platform separately correct.
[wrsroot at controller-0 ~(keystone_admin)]$ system host-cpu-list controller-0
+--------------------------------------+-------+-----------+-------+--------+------------------------------------------+-------------------+
| uuid | log_c | processor | phy_c | thread | processor_model | assigned_function |
| | ore | | ore | | | |
+--------------------------------------+-------+-----------+-------+--------+------------------------------------------+-------------------+
| e7e806d7-10c2-44bd-9577-fef092b7bd75 | 0 | 0 | 0 | 0 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Platform |
| 10ba7e55-742a-400d-8e41-15b5e7632c9f | 1 | 0 | 1 | 0 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Platform |
| 075e8684-43b0-43e9-b8cd-2cbcc6cf06d9 | 2 | 0 | 2 | 0 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Shared |
| 44c91151-5d32-4510-9003-6466fb9416a4 | 3 | 0 | 3 | 0 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications |
| b44109e1-fa68-49dd-9d0c-317f4e9dd657 | 4 | 0 | 4 | 0 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications |
| dc415b71-181b-4af4-886a-1a6361de027b | 5 | 0 | 5 | 0 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications |
| eb176953-6675-4dbc-88ea-2b5776fea851 | 6 | 0 | 0 | 1 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Platform |
| 8494b17a-bc06-4400-b4cb-55413d05d653 | 7 | 0 | 1 | 1 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Platform |
| 32dacf3f-1248-45ea-a122-a4925604ab42 | 8 | 0 | 2 | 1 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Shared |
| 966d3b34-7a61-4b6b-9c46-b30ece4b27b1 | 9 | 0 | 3 | 1 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications |
| c6f57b41-5a41-4536-9221-b111511306ad | 10 | 0 | 4 | 1 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications |
| ffd2eb6f-7ebe-4ce6-95b0-066d6ab47f56 | 11 | 0 | 5 | 1 | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications |
+--------------------------------------+-------+-----------+-------+--------+------------------------------------------+-------------------+
3. Item "cpu_allocation_ratio" in nova.conf ' is 16,seem it not works
Best Regards,
Xu, YiZhou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190708/07f9f812/attachment-0001.html>
More information about the Starlingx-discuss
mailing list