Nachträgliche CPU Erhöhung einer VirtualBox-VM kommt nicht im Windows Gast an

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
burnersk
Beiträge: 125
Registriert: 22.10.2008 21:32:16
Lizenz eigener Beiträge: MIT Lizenz

Nachträgliche CPU Erhöhung einer VirtualBox-VM kommt nicht im Windows Gast an

Beitrag von burnersk » 15.04.2019 21:20:17

Ich habe unter Debian Stretch ein VirtualBox (Hypervisor: KVM) laufen, was mir eine Windows Server 2016 VM bereitstellt.

Damals hatte ich 2 virtuelle CPUs der VM zugewiesen, das reicht (zusammen mit RAM) jetzt nicht mehr aus und ich habe die Anzahl der virtuellen CPUs und RAM der VM erhöht.

Laut VBoxManage showvminfo myvm sieht auch alles gut aus:

Code: Alles auswählen

Name:            myvm
Groups:          /
Guest OS:        Windows 2016 (64-bit)
UUID:            78a6e959-ffe0-488f-9d0e-000000000000
Config file:     /var/lib/virtualbox/myvm/myvm.vbox
Snapshot folder: /var/lib/virtualbox/myvm/Snapshots
Log folder:      /var/lib/virtualbox/myvm/Logs
Hardware UUID:   78a6e959-ffe0-488f-9d0e-000000000000
Memory size:     8192MB
Page Fusion:     off
VRAM size:       128MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  4
PAE:             on
Long Mode:       on
Triple Fault Reset: off
APIC:            on
X2APIC:          off
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
BIOS APIC mode:  APIC
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: KVM
Effective Paravirt. Provider: KVM
State:           running (since 2019-04-15T19:06:41.251000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0):            IDE
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
Storage Controller Name (1):            SATA Controller
Storage Controller Type (1):            IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  30
Storage Controller Port Count (1):      30
Storage Controller Bootable (1):        on
IDE (0, 0): Empty
SATA Controller (0, 0): /var/lib/virtualbox/myvm/win-ready-disk001.vmdk (UUID: b59aad1c-9a0b-4125-8c3f-14849f624b29)
NIC 1:           MAC: 00005600A3AA, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 1 Rule(0):   name = HTTP, protocol = tcp, host ip = 127.0.0.1, host port = 7080, guest ip = , guest port = 80
NIC 1 Rule(1):   name = HTTPS, protocol = tcp, host ip = 127.0.0.1, host port = 7443, guest ip = , guest port = 443
NIC 1 Rule(2):   name = RDP TCP, protocol = tcp, host ip = 127.0.0.1, host port = 3389, guest ip = , guest port = 3389
NIC 1 Rule(3):   name = RDP UDP, protocol = udp, host ip = 127.0.0.1, host port = 3389, guest ip = , guest port = 3389
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
UART 3:          disabled
UART 4:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           disabled
Audio playback:  disabled
Audio capture: disabled
Clipboard Mode:  disabled
Drag and drop Mode: disabled
Session name:    headless
Video mode:      1280x1024x32 at 0,0 enabled
VRDE:            disabled
USB:             disabled
EHCI:            disabled
XHCI:            disabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups:  <none>

Shared folders:

<none>

VRDE Connection:    not active
Clients so far:     0

Capturing:          not active
Capture audio:      not active
Capture screens:    0
Capture file:       /var/lib/virtualbox/win
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25
Capture options:    ac_enabled=false

Description:
Windows Server 2016 Standard (64 bit, English)
Guest:

Configured memory balloon size:      0 MB
OS type:                             Windows10_64
Additions run level:                 3
Additions version:                   6.0.2 r128162


Guest Facilities:

Facility "VirtualBox Base Driver": active/running (last update: 2019/04/15 19:06:57 UTC)
Facility "VirtualBox System Service": active/running (last update: 2019/04/15 19:07:30 UTC)
Facility "VirtualBox Desktop Integration": active/running (last update: 2019/04/15 19:08:57 UTC)
Facility "Seamless Mode": not active (last update: 2019/04/15 19:06:57 UTC)
Facility "Graphics Mode": not active (last update: 2019/04/15 19:06:57 UTC)
In der VM wird der RAM korrekt angezeigt, aber die Anzahl der logischen CPUs hat sich nicht erhöht. Auch im Gerätemanager werden nur 2 CPUs angezeigt.

Was muss ich machen, damit ich die beiden neuen zusätzlichen virtuellen Kerne nutzen kann?

burnersk
Beiträge: 125
Registriert: 22.10.2008 21:32:16
Lizenz eigener Beiträge: MIT Lizenz

Re: Nachträgliche CPU Erhöhung einer VirtualBox-VM kommt nicht im Windows Gast an

Beitrag von burnersk » 15.04.2019 21:39:29

Ich habe gerade mal auf 1 CPU reduziert. Das kommt an. Wenn ich jedoch jetzt wieder auf 2, 3 oder 4 CPUs gehe, dann bleibt in der VM die eine einzige CPU...

pferdefreund
Beiträge: 3791
Registriert: 26.02.2009 14:35:56

Re: Nachträgliche CPU Erhöhung einer VirtualBox-VM kommt nicht im Windows Gast an

Beitrag von pferdefreund » 16.04.2019 08:14:12

Vermutlich ist das ein reines Windows-Problem. Ich gehe mal davon aus, dass WIndows nicht mehr beim Boot nachschaut, ob sich da was geändert hat - außer es fällt was weg.

Benutzeravatar
mig
Beiträge: 151
Registriert: 26.02.2003 13:21:58
Wohnort: wien
Kontaktdaten:

Re: Nachträgliche CPU Erhöhung einer VirtualBox-VM kommt nicht im Windows Gast an

Beitrag von mig » 17.04.2019 14:23:00

Hi

Windows Server 2016 Essentials hat maximal 2 CPUs
Für mehr brauchst eine Standard oder Datacenter Lizenz

https://www.thomas-krenn.com/de/wiki/Wi ... terschiede

LG
Michael

Antworten