<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Аспро: ЛайтШоп [тема: Ubuntu VM: ядра оффлайном.]</title>
		<link>http://proxmox.su</link>
		<description>Новое в теме Ubuntu VM: ядра оффлайном. форума Proxmox Виртуальная Среда на сайте Аспро: ЛайтШоп [proxmox.su]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Thu, 30 Apr 2026 02:40:32 +0300</pubDate>
		<item>
			<title>Ubuntu VM: ядра оффлайном.</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message310706/75779-ubuntu-vm_-yadra-offlaynom.">Ubuntu VM: ядра оффлайном.</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			У меня похожая проблема с сервером, в котором два процессора AMD EPYC 9654. Ubuntu 24.04.2 VM видит только 256 ядер (я также пробовал 22.04 с ядрами 5.15, 6.5 и 6.8). Есть ограничение в 256 vCPU на сокет, поэтому если разделить vCPU на 2 сокета по 128 ядер каждый - всё загружается нормально, но если общее число vCPU превышает 256, то все vCPU на втором ноде отключаются. Dmesg показывает "CPU has invalid APIC ID" в VM для каждого vCPU на узле 1 (узел 0 работает нормально). Проверил, что в этом случае все vCPU на узле 1 имеют нумерацию 0x0100, 0x0101 и т.д. Это кажется неправильным для VM: Code: [    2.360444] smpboot: CPU 192 has invalid APIC ID 100. Aborting bringup<br />[    2.360643] smpboot: CPU 193 has invalid APIC ID 101. Aborting bringup<br />[    2.360920] smpboot: CPU 194 has invalid APIC ID 102. Aborting bringup<br />... на ядре 5.15 это действительно показывает raw APIC index: Code: [ 0.005258] SRAT: PXM 1 -&gt; APIC 0x0100 -&gt; Node 1 Proxmox сервер работает со всеми 384 ядрами отлично, целевая VM должна суметь работать с большим количеством CPU, я пробовал самый свежий hwe kernel для 22.04 и 24.04 Ubuntu server: Code: # grep CONFIG_NR_CPUS /boot/config-$(uname -r)<br />CONFIG_NR_CPUS_RANGE_BEGIN=8192<br />CONFIG_NR_CPUS_RANGE_END=8192<br />CONFIG_NR_CPUS_DEFAULT=8192<br />CONFIG_NR_CPUS=8192 Целевая VM показывает, что у неё есть поддержка x2apic: Code: # dmesg | grep x2apic<br />[    0.000202] x2apic: enabled by BIOS, switching to x2apic ops<br />[    0.005437] APIC: Switched APIC routing to: cluster x2apic<br />[    8.096206] APIC: Switched APIC routing to: physical x2apic Proxmox сам отлично работает с большим количеством ядер. Буду очень благодарен за любые советы, так как неиспользование всех ядер — это очень болезненно. <br />
			<i>08.06.2025 13:51:00, petrufel.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message310706/75779-ubuntu-vm_-yadra-offlaynom.</link>
			<guid>http://proxmox.su/forum/messages/forum63/message310706/75779-ubuntu-vm_-yadra-offlaynom.</guid>
			<pubDate>Sun, 08 Jun 2025 13:51:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Ubuntu VM: ядра оффлайном.</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message310705/75779-ubuntu-vm_-yadra-offlaynom.">Ubuntu VM: ядра оффлайном.</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Привет! У тебя x2APIC включен в BIOS и не отключен через командную строку ядра? Если память не изменяет, это требуется для процессоров AMD с &gt; 255 потоками, когда гостевой системе назначается больше vCPU (спасибо @mira за информацию). <br />
			<i>04.09.2024 11:27:00, fiona.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message310705/75779-ubuntu-vm_-yadra-offlaynom.</link>
			<guid>http://proxmox.su/forum/messages/forum63/message310705/75779-ubuntu-vm_-yadra-offlaynom.</guid>
			<pubDate>Wed, 04 Sep 2024 11:27:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Ubuntu VM: ядра оффлайном.</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message310704/75779-ubuntu-vm_-yadra-offlaynom.">Ubuntu VM: ядра оффлайном.</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Если запускаешь VM из CLI (qm start VMID), появляются какие-то сообщения или предупреждения? Есть ли в системе какие-нибудь логи, связанные с этим? Помню баг-репорт в Ubuntu, где максимальное количество CPU для VM было 288 [1]. Кажется, там это исправили, но не знаю, исправлено ли это в основной ветке. Не смог найти баг-репорт в QEMU. Судя по исходникам, PVE использует ту же самую максималку в 288 CPU [2] (может, я не в том месте ищу, я не разработчик). Заполнил баг-репорт с вопросом об этом [3]. @Kingneutron Иногда для VM может понадобиться "вся машина", чтобы всё равно можно было использовать виртуализацию: живые миграции, резервное копирование, управление жизненным циклом… Могут быть другие подходы, например, использовать больше экземпляров приложения в меньших VM, но иногда сложно добиться правильной настройки. @ITxD Мне тоже интересно это конкретное использование! [1] <noindex><a href="https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2012763" target="_blank" rel="nofollow" >https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2012763</a></noindex> [2] <noindex><a href="https://git.proxmox.com/?p=mirror_q...c18d7de54c112281f74c70c2a699e150;hb=HEAD#l424" target="_blank" rel="nofollow" >https://git.proxmox.com/?p=mirror_q...c18d7de54c112281f74c70c2a699e150;hb=HEAD#l424</a></noindex> [3] <noindex><a href="https://bugzilla.proxmox.com/show_bug.cgi?id=5671" target="_blank" rel="nofollow" >https://bugzilla.proxmox.com/show_bug.cgi?id=5671</a></noindex> <br />
			<i>23.08.2024 11:46:00, VictorSTS.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message310704/75779-ubuntu-vm_-yadra-offlaynom.</link>
			<guid>http://proxmox.su/forum/messages/forum63/message310704/75779-ubuntu-vm_-yadra-offlaynom.</guid>
			<pubDate>Fri, 23 Aug 2024 11:46:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Ubuntu VM: ядра оффлайном.</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message310703/75779-ubuntu-vm_-yadra-offlaynom.">Ubuntu VM: ядра оффлайном.</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Я вообще не понимаю, если вы задействовали весь CPU-пространство под (1) VM, почему не запустили bare metal? Зачем вам вообще Proxmox в этом случае? <br />
			<i>23.08.2024 06:25:00, Kingneutron.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message310703/75779-ubuntu-vm_-yadra-offlaynom.</link>
			<guid>http://proxmox.su/forum/messages/forum63/message310703/75779-ubuntu-vm_-yadra-offlaynom.</guid>
			<pubDate>Fri, 23 Aug 2024 06:25:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Ubuntu VM: ядра оффлайном.</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message310702/75779-ubuntu-vm_-yadra-offlaynom.">Ubuntu VM: ядра оффлайном.</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Заметил, что показывает только 1 сокет. Я попробовал снизить количество ядер до 128 (256) + 2 сокета. И теперь вижу, что все ядра активны, и команда lscpu также показывает 2 сокета вместо 1.<br /><br />---------------------------------------------------------------------------------<br />Архитектура: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; x86_64<br />Режимы работы CPU: &nbsp; &nbsp; &nbsp; &nbsp; 32-разрядный, 64-разрядный<br />Размеры адресов: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;52 бита физической, 57 битов виртуальной<br />Порядок байтов: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Little Endian<br />CPU(s): &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 256<br />Список активных CPU: &nbsp; &nbsp;0-255<br />Vendor ID: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AuthenticAMD<br />Название модели: &nbsp; &nbsp; &nbsp; &nbsp; AMD EPYC 9754 128-Core Processor<br />Семья CPU: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 25<br />Модель: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;160<br />Потоков на ядро: &nbsp; 1<br />Ядер на сокет: &nbsp; 128<br />Сокет(ов): &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2<br />Stepping: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2<br />BogoMIPS: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4493.24<br />Флаги: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw perfctr_core ssbd ibrs ibpb stibp ibrs_enhanced vm mcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512_bf16 clzero xsaveerptr wbnoinv d arat npt lbrv nrip_save tsc_scale vmcb_clean flushbyasid pausefilter pfthreshold v_vmsave_vmload vgif vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpi d fsrm flush_l1d arch_capabilities<br />Виртуализация:<br />Виртуализация: &nbsp; &nbsp; &nbsp; &nbsp; AMD-V<br />Vendor гипервизора: &nbsp; &nbsp; &nbsp;KVM<br />Тип виртуализации: &nbsp; &nbsp;полная<br />Кэш (общая сумма):<br />L1d: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;16 MiB (256 экземпляров)<br />L1i: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;16 MiB (256 экземпляров)<br />L2: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 128 MiB (256 экземпляров)<br />L3: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4 GiB (256 экземпляров)<br />NUMA:<br />NUMA узлов: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2<br />NUMA узел0 CPU(s): &nbsp; &nbsp; &nbsp;0-127<br />NUMA узел1 CPU(s): &nbsp; &nbsp; &nbsp;128-255<br />Уязвимости:<br />Сбор данных по выборке: &nbsp; Не затронуто<br />Itlb многохит: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Не затронуто<br />L1tf: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Не затронуто<br />Mds: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Не затронуто<br />Meltdown: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Не затронуто<br />Mmio устаревшие данные: &nbsp; &nbsp; &nbsp; &nbsp;Не затронуто<br />Сбор данных по регистровому файлу: Не затронуто<br />Retbleed: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Не затронуто<br />Переполнение стека инструкций: &nbsp; В уязвимому состоянию: Safe RET, отсутствует микрокод<br />Обход спекулятивного сохранения: &nbsp; &nbsp;Смягчение; Speculative Store Bypass отключен через prctl<br />Spectre v1: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Смягчение; usercopy/swapgs barriers и __user pointer sanitization<br />Spectre v2: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Смягчение; Enhanced / Automatic IBRS; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Не затронуто; BHI Не затронуто<br />Srbds: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Не затронуто<br />Tsx асинхронный отказ: &nbsp; &nbsp; &nbsp; &nbsp;Не затронуто <br />
			<i>23.08.2024 00:13:00, ITxD.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message310702/75779-ubuntu-vm_-yadra-offlaynom.</link>
			<guid>http://proxmox.su/forum/messages/forum63/message310702/75779-ubuntu-vm_-yadra-offlaynom.</guid>
			<pubDate>Fri, 23 Aug 2024 00:13:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Ubuntu VM: ядра оффлайном.</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message310701/75779-ubuntu-vm_-yadra-offlaynom.">Ubuntu VM: ядра оффлайном.</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Привет, мы установили Proxmox на HPE ProLiant сервере с 2 процессорами (128*2=256|512 виртуальных ядер). Создали Ubuntu 24.04 VM и выделили ей 254 ядра (508 виртуальных ядер). Заметили, что VM видит все ядра, но только половина работает. Смотри вывод ниже для более подробной информации: Что мы упускаем? Как включить остальные ядра?<br /><br /><img class="lazyload "  src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="/upload/forum/proxmox/73174-8a3055697f842c303776aa0da1657593.jpg" alt="Пользователь добавил изображение" border="0" /><br /><br />Архитектура: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; x86_64<br />CPU op-mode(s): &nbsp; &nbsp; &nbsp; &nbsp; 32-bit, 64-bit<br />Размеры адресов: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;52 бита физические, 57 битов виртуальные<br />Порядок байтов: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Little Endian<br />CPU(s): &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 508<br />Список онлайн CPU: &nbsp; &nbsp;0-253<br />Список оффлайн CPU: &nbsp; 254-507<br />Vendor ID: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AuthenticAMD<br />Model name: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AMD EPYC 9754 128-Core Processor<br />CPU family: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 25<br />Model: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;160<br />Thread(s) per core: &nbsp; 1<br />Core(s) per socket: &nbsp; 254<br />Socket(s): &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1<br />Stepping: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2<br />BogoMIPS: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4493.24<br />Flags: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw perfctr_core ssbd ibrs ibpb stibp ibrs_enhanced vm mcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512_bf16 clzero xsaveerptr wbnoinv d arat npt lbrv nrip_save tsc_scale vmcb_clean flushbyasid pausefilter pfthreshold v_vmsave_vmload vgif vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpi d fsrm flush_l1d arch_capabilities<br />Virtualization features:<br />Virtualization: &nbsp; &nbsp; &nbsp; &nbsp; AMD-V<br />Hypervisor vendor: &nbsp; &nbsp; &nbsp;KVM<br />Virtualization type: &nbsp; &nbsp;full<br />Кэш (сумма всего):<br />L1d: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;15.9 MiB (254 экземпляра)<br />L1i: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;15.9 MiB (254 экземпляра)<br />L2: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 127 MiB (254 экземпляра)<br />L3: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4 GiB (254 экземпляра)<br />NUMA:<br />NUMA node(s): &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2<br />NUMA node0 CPU(s): &nbsp; &nbsp; &nbsp;0-253<br />NUMA node1 CPU(s):<br />Уязвимости:<br />Gather data sampling: &nbsp; Not affected<br />Itlb multihit: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Not affected<br />L1tf: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Not affected<br />Mds: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Not affected<br />Meltdown: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Not affected<br />Mmio stale data: &nbsp; &nbsp; &nbsp; &nbsp;Not affected<br />Reg file data sampling: Not affected<br />Retbleed: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Not affected<br />Spec rstack overflow: &nbsp; Vulnerable: Safe RET, no microcode<br />Spec store bypass: &nbsp; &nbsp; &nbsp;Mitigation; Speculative Store Bypass disabled via prctl<br />Spectre v1: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Mitigation; usercopy/swapgs barriers and __user pointer sanitization<br />Spectre v2: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Mitigation; Enhanced / Automatic IBRS; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected<br />Srbds: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Not affected<br />Tsx async abort: &nbsp; &nbsp; &nbsp; &nbsp;Not affected<br />(base) vmadmin@pdva-prod-vm3:~ <br />
			<i>22.08.2024 23:52:00, ITxD.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message310701/75779-ubuntu-vm_-yadra-offlaynom.</link>
			<guid>http://proxmox.su/forum/messages/forum63/message310701/75779-ubuntu-vm_-yadra-offlaynom.</guid>
			<pubDate>Thu, 22 Aug 2024 23:52:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
	</channel>
</rss>
