better performance(more cores) ∝ Monterey instability(panic more often)

Discussions related to using VirtualBox on Windows hosts.
Locked
cam8528
Posts: 2
Joined: 7. Oct 2022, 21:14

better performance(more cores) ∝ Monterey instability(panic more often)

Post by cam8528 »

this are the log from the mac Monterey.

i want to dedicate more processor cores to virtual box so that my virtual machine performs better. except the problem i am having is that it seems the more cores i try to dedicate to virtualbox, the more frequently fatal panic errors occur.

here are the log that is confusing to me

what do u think?
panic(cpu 0 caller 0xffffff80174aa839): Non-monotonic time: invoke at 0x60126ed014c, runnable at 0x60126ef32f6 @sched_prim.c:2843
Panicked task 0xffffff9b78fdc6d0: 6 threads: pid 2394: installd
Backtrace (CPU 0), panicked thread: 0xffffffa9dd28f000, Frame : Return Address
0xfffffffff689b040 : 0xffffff801747fdad mach_kernel : _handle_debugger_trap + 0x41d
0xfffffffff689b090 : 0xffffff80175e10d6 mach_kernel : _kdp_i386_trap + 0x116
0xfffffffff689b0d0 : 0xffffff80175d0443 mach_kernel : _kernel_trap + 0x4d3
0xfffffffff689b120 : 0xffffff801741fa70 mach_kernel : _return_from_trap + 0xe0
0xfffffffff689b140 : 0xffffff801748017d mach_kernel : _DebuggerTrapWithState + 0xad
0xfffffffff689b260 : 0xffffff801747f936 mach_kernel : _panic_trap_to_debugger + 0x2b6
0xfffffffff689b2c0 : 0xffffff8017d15093 mach_kernel : _panic + 0x84
0xfffffffff689b3b0 : 0xffffff80174aa839 mach_kernel : _thread_unstop + 0x2379
0xfffffffff689b420 : 0xffffff80174a8417 mach_kernel : _thread_block_reason + 0xc7
0xfffffffff689b470 : 0xffffff8017475d1f mach_kernel : _ast_taken_kernel + 0x5f
0xfffffffff689b480 : 0xffffff801741fd30 mach_kernel : _return_to_iret + 0x110
0xfffffffff689b590 : 0xffffff801a6b0558 com.apple.security.sandbox : _sb_evaluate_internal + 0x51
0xfffffffff689b6f0 : 0xffffff801a6a4205 com.apple.security.sandbox : _cred_sb_evaluate + 0x77
0xfffffffff689b750 : 0xffffff801a6abf1a com.apple.security.sandbox : _hook_vnode_check_lookup_preflight + 0x6b
0xfffffffff689b8e0 : 0xffffff8017cf1dd5 mach_kernel : _mac_vnode_check_lookup_preflight + 0x1b5
0xfffffffff689b960 : 0xffffff801771726a mach_kernel : _namei + 0x9ea
0xfffffffff689bb70 : 0xffffff8017734209 mach_kernel : _vnode_getfromfd + 0x159
0xfffffffff689bbd0 : 0xffffff801773a26f mach_kernel : _stat_extended + 0x15f
0xfffffffff689bf10 : 0xffffff801773ab4c mach_kernel : _stat64 + 0x2c
0xfffffffff689bf40 : 0xffffff8017b893db mach_kernel : _unix_syscall64 + 0x1fb
0xfffffffff689bfa0 : 0xffffff8017420236 mach_kernel : _hndl_unix_scall64 + 0x16
Kernel Extensions in backtrace:
com.apple.security.sandbox(300.0)[662DF9D2-E03E-3809-A814-152397B6C793]@0xffffff801a69c000->0xffffff801a6ebfff
dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[E2BC544B-0D4A-34EF-BA95-F6DF91AB7B13]@0xffffff8018bb1000->0xffffff8018bd2fff
dependency: com.apple.iokit.IOStorageFamily(2.1)[A3F1B111-78F1-3886-8DE2-ABAE0B6314BE]@0xffffff801a178000->0xffffff801a18efff
dependency: com.apple.kext.AppleMatch(1.0.0d1)[96216F86-24B4-3826-BB31-53EC1F3E19F5]@0xffffff8018bad000->0xffffff8018baffff

Process name corresponding to current thread (0xffffffa9dd28f000): installd
Boot args: usb=0x800 keepsyms=1 -v -serial=0x1

Mac OS version:
21G115

Kernel version:
Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64
Kernel UUID: 06A10466-36D7-3A0B-9EE7-A9053A8991A3
KernelCache slide: 0x0000000017200000
KernelCache base: 0xffffff8017400000
Kernel slide: 0x0000000017210000
Kernel text base: 0xffffff8017410000
__HIB text base: 0xffffff8017300000
System model name: iMac19,1 (Mac-AA95B1DDAB278B95)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 6602020963681
Last Sleep: absolute base_tsc base_nano
Uptime : 0x00000601271d67fa
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x0000000dc759e17a 0x0000000000000000
Compressor Info: 1% of compressed pages limit (OK) and 6% of segments limit (OK) with 1 swapfiles and OK swap space
Zone info:
Zone map: 0xffffff9044652000 - 0xffffffb044652000
. PGZ : 0xffffff9044652000 - 0xffffff9045653000
. VM : 0xffffff9045653000 - 0xffffff95120b9000
. RO : 0xffffff95120b9000 - 0xffffff96ab985000
. GEN0 : 0xffffff96ab985000 - 0xffffff9b783eb000
. GEN1 : 0xffffff9b783eb000 - 0xffffffa044e51000
. GEN2 : 0xffffffa044e51000 - 0xffffffa5118b7000
. GEN3 : 0xffffffa5118b7000 - 0xffffffa9de31e000
. DATA : 0xffffffa9de31e000 - 0xffffffb044652000
Metadata: 0xffffffb044662000 - 0xffffffb064662000
Bitmaps : 0xffffffb064662000 - 0xffffffb067662000

last started kext at 52609893607: >AudioAUUC 1.70 (addr 0xffffff7fb02ad000, size 12288)
loaded kexts:
org.virtualbox.kext.VBoxGuest 6.1.26
>AudioAUUC 1.70
>X86PlatformShim 1.0.0
>AGPM 129
>!APlatformEnabler 2.7.0d0
@filesystems.autofs 3.0
>!AHDAHardwareConfigDriver 340.2
>!AUpstreamUserClient 3.6.9
>!AMCCSControl 1.16
>!AHDA 340.2
>!AGraphicsDevicePolicy 6.5.7
@AGDCPluginDisplayMetrics 6.5.7
>!AFIVRDriver 4.1.0
>pmtelemetry 1
|IOUserEthernet 1.0.1
>usb.!UUserHCI 1
>!AHV 1
>!ADiskImages2 126.141.2
>ACPI_SMC_PlatformPlugin 1.0.0
>!A!ISlowAdaptiveClocking 4.0.0
>!ALPC 3.1
|SCSITaskUserClient 456.140.3
>!AFileSystemDriver 3.0.1
@filesystems.tmpfs 1
@filesystems.lifs 1
@filesystems.apfs 1934.141.2
@filesystems.hfs.kext 583.100.10
@BootCache 40
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
>!AAHCIPort 351.100.4
>!A!I8254XEthernet 3.1.5
@private.KextAudit 1.0
>!AHPET 1.8
>!AACPIButtons 6.1
>!ARTC 2.0.1
>!ASMBIOS 2.1
>!AAPIC 1.7
@!ASystemPolicy 2.0.0
@nke.applicationfirewall 402
|IOKitRegistryCompatibility 1
|EndpointSecurity 1
@Dont_Steal_Mac_OS_X 7.0.0
@kec.!AEncryptedArchive 1
@kext.triggers 1.0
>!UAudio 416.2
>!AAudioClockLibs 140.1
>!ASMBus!C 1.0.18d1
|IOSMBus!F 1.1
>DspFuncLib 340.2
@kext.OSvKernDSPLib 529
>!AGraphicsControl 6.5.7
|IO!BSerialManager 9.0.0
|IO!BPacketLogger 9.0.0
|IO!BHost!CUSBTransport 9.0.0
|IO!BHost!CUARTTransport 9.0.0
|IO!BHost!CTransport 9.0.0
>IO!BHost!CPCIeTransport 9.0.0
|IOAVB!F 1040.6
@plugin.IOgPTPPlugin 1040.3
|IOEthernetAVB!C 1.1.0
|CSR!BHost!CUSBTransport 9.0.0
|Broadcom!BHost!CUSBTransport 9.0.0
|Broadcom!B20703USBTransport 9.0.0
>!AIPAppender 1.0
|IOSkywalk!F 1.0
>mDNSOffloadUserClient 1.0.1b8
|IONDRVSupport 597
>!AHDA!C 340.2
|IOHDA!F 340.2
|IOAudio!F 340.2
@vecLib.kext 1.2.0
>IOPlatformPluginLegacy 1.0.0
>X86PlatformPlugin 1.0.0
@!AGPUWrangler 6.5.7
@!AGraphicsDeviceControl 6.5.7
|IOGraphics!F 597
|IOSlowAdaptiveClocking!F 1.0.0
>IOPlatformPlugin!F 6.0.0d8
>usb.IOUSBHostHIDDevice 1.2
>usb.cdc 5.0.0
>usb.networking 5.0.0
>usb.!UHostCompositeDevice 1.2
|IOSCSIMultimediaCommandsDevice 456.140.3
|IOBD!S!F 1.8
|IODVD!S!F 1.8
|IOCD!S!F 1.8
>!AXsanScheme 3
|IOAHCIBlock!S 333.140.2
>!ABSDKextStarter 3
|IOAHCISerialATAPI 270
|IOSurface 302.14
@filesystems.hfs.encodings.kext 1
|IOAHCI!F 297
>usb.!UXHCIPCI 1.2
>usb.!UXHCI 1.2
>usb.!UHostPacketFilter 1.0
|IOUSB!F 900.4.2
>!AEFINVRAM 2.1
>!AEFIRuntime 2.1
|IOHID!F 2.0.0
|IOTimeSync!F 1040.3
|IONetworking!F 3.4
>DiskImages 493.0.0
|IO!B!F 9.0.0
|IOReport!F 47
$quarantine 4
$sandbox 300.0
@kext.!AMatch 1.0.0d1
|CoreAnalytics!F 1
>!ASSE 1.0
>!AKeyStore 2
>!UTDM 533.120.2
|IOUSBMass!SDriver 210.120.3
|IOSCSIBlockCommandsDevice 456.140.3
|IO!S!F 2.1
|IOSCSIArchitectureModel!F 456.140.3
>!AMobileFileIntegrity 1.0.5
$!AImage4 4.2.0
@kext.CoreTrust 1
>!AFDEKeyStore 28.30
>!AEffaceable!S 1.0
>!ACredentialManager 1.0
>KernelRelayHost 1
|IOUSBHost!F 1.2
>!UHostMergeProperties 1.2
>usb.!UCommon 1.0
>!ABusPower!C 1.0
>!ASEPManager 1.0.1
>IOSlaveProcessor 1
>!AACPIPlatform 6.1
>!ASMC 3.1.9
|IOPCI!F 2.9
|IOACPI!F 1.4
>watchdog 1
@kec.pthread 1
@kec.Libm 1
@kec.corecrypto 12.0
sincerely, cam8528
cam8528
Posts: 2
Joined: 7. Oct 2022, 21:14

Re: better performance(more cores) ∝ Monterey instability(panic more often)

Post by cam8528 »

here is a second log data to compare the first set with. i have no idea what this contrast means for increasing the amount of cores virtual box can provide for mac Monterey which is running inside my windows 10 installation.

also i was wondering how i could provision nvidia gpu resources into virtual box machines. is there a reliable way to do this? so that my virtual machine (mac monterey) has access to some gpu resources for small machine learning tasks

panic error log 2 for comparison to the first post:
panic(cpu 1 caller 0xffffff800f4aa839): Non-monotonic time: invoke at 0xc4722f66a, runnable at 0xc4722fdd4 @sched_prim.c:2843
Panicked task 0xffffff90409be380: 3 threads: pid 228: kextload
Backtrace (CPU 1), panicked thread: 0xffffff90401e1aa0, Frame : Return Address
0xffffffffd76f3a00 : 0xffffff800f47fdad mach_kernel : _handle_debugger_trap + 0x41d
0xffffffffd76f3a50 : 0xffffff800f5e10d6 mach_kernel : _kdp_i386_trap + 0x116
0xffffffffd76f3a90 : 0xffffff800f5d0443 mach_kernel : _kernel_trap + 0x4d3
0xffffffffd76f3ae0 : 0xffffff800f41fa70 mach_kernel : _return_from_trap + 0xe0
0xffffffffd76f3b00 : 0xffffff800f48017d mach_kernel : _DebuggerTrapWithState + 0xad
0xffffffffd76f3c20 : 0xffffff800f47f936 mach_kernel : _panic_trap_to_debugger + 0x2b6
0xffffffffd76f3c80 : 0xffffff800fd15093 mach_kernel : _panic + 0x84
0xffffffffd76f3d70 : 0xffffff800f4aa839 mach_kernel : _thread_unstop + 0x2379
0xffffffffd76f3de0 : 0xffffff800f4a8417 mach_kernel : _thread_block_reason + 0xc7
0xffffffffd76f3e30 : 0xffffff800fa014e0 mach_kernel : _workq_thread_set_max_qos + 0x3230
0xffffffffd76f3ea0 : 0xffffff800f9ffec1 mach_kernel : _workq_thread_set_max_qos + 0x1c11
0xffffffffd76f3f30 : 0xffffff800f9ff994 mach_kernel : _workq_thread_set_max_qos + 0x16e4
0xffffffffd76f3f70 : 0xffffff800f9ff8ae mach_kernel : _workq_thread_set_max_qos + 0x15fe
0xffffffffd76f3fa0 : 0xffffff800f41f19e mach_kernel : _call_continuation + 0x2e

Process name corresponding to current thread (0xffffff90401e1aa0): kextload
Boot args: usb=0x800 keepsyms=1 -v -serial=0x1

Mac OS version:
21G115

Kernel version:
Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64
Kernel UUID: 06A10466-36D7-3A0B-9EE7-A9053A8991A3
KernelCache slide: 0x000000000f200000
KernelCache base: 0xffffff800f400000
Kernel slide: 0x000000000f210000
Kernel text base: 0xffffff800f410000
__HIB text base: 0xffffff800f300000
System model name: iMac19,1 (Mac-AA95B1DDAB278B95)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 52882919978
Last Sleep: absolute base_tsc base_nano
Uptime : 0x0000000c50af56c3
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x00000012a54a026d 0x0000000000000000
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
Zone map: 0xffffff804027e000 - 0xffffffa04027e000
. PGZ : 0xffffff804027e000 - 0xffffff804127f000
. VM : 0xffffff804127f000 - 0xffffff850dce5000
. RO : 0xffffff850dce5000 - 0xffffff86a75b1000
. GEN0 : 0xffffff86a75b1000 - 0xffffff8b74017000
. GEN1 : 0xffffff8b74017000 - 0xffffff9040a7d000
. GEN2 : 0xffffff9040a7d000 - 0xffffff950d4e3000
. GEN3 : 0xffffff950d4e3000 - 0xffffff99d9f4a000
. DATA : 0xffffff99d9f4a000 - 0xffffffa04027e000
Metadata: 0xffffffa044410000 - 0xffffffa064410000
Bitmaps : 0xffffffa064410000 - 0xffffffa067410000

last started kext at 3124048335: >usb.IOUSBHostHIDDevice 1.2 (addr 0xffffff801261e000, size 40960)
loaded kexts:
|SCSITaskUserClient 456.140.3
>!AFileSystemDriver 3.0.1
@filesystems.tmpfs 1
@filesystems.lifs 1
@filesystems.apfs 1934.141.2
@filesystems.hfs.kext 583.100.10
@BootCache 40
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
>!AAHCIPort 351.100.4
>!A!I8254XEthernet 3.1.5
>!AHPET 1.8
@private.KextAudit 1.0
>!AACPIButtons 6.1
>!ARTC 2.0.1
>!ASMBIOS 2.1
>!AAPIC 1.7
@!ASystemPolicy 2.0.0
@nke.applicationfirewall 402
|IOKitRegistryCompatibility 1
|EndpointSecurity 1
@Dont_Steal_Mac_OS_X 7.0.0
@kec.!AEncryptedArchive 1
>usb.IOUSBHostHIDDevice 1.2
>usb.cdc 5.0.0
>usb.networking 5.0.0
>usb.!UHostCompositeDevice 1.2
|IOSCSIMultimediaCommandsDevice 456.140.3
|IOBD!S!F 1.8
|IODVD!S!F 1.8
|IOCD!S!F 1.8
>!AXsanScheme 3
>!ABSDKextStarter 3
|IOSurface 302.14
@filesystems.hfs.encodings.kext 1
|IOAHCISerialATAPI 270
|IOAHCIBlock!S 333.140.2
|IOAHCI!F 297
>usb.!UXHCIPCI 1.2
>usb.!UXHCI 1.2
>usb.!UHostPacketFilter 1.0
|IOUSB!F 900.4.2
>!AEFINVRAM 2.1
>!AEFIRuntime 2.1
|IOHID!F 2.0.0
|IOTimeSync!F 1040.3
|IONetworking!F 3.4
>DiskImages 493.0.0
|IO!B!F 9.0.0
|IOReport!F 47
$quarantine 4
$sandbox 300.0
@kext.!AMatch 1.0.0d1
|CoreAnalytics!F 1
>!ASSE 1.0
>!AKeyStore 2
>!UTDM 533.120.2
|IOUSBMass!SDriver 210.120.3
|IOSCSIBlockCommandsDevice 456.140.3
|IO!S!F 2.1
|IOSCSIArchitectureModel!F 456.140.3
>!AMobileFileIntegrity 1.0.5
$!AImage4 4.2.0
@kext.CoreTrust 1
>!AFDEKeyStore 28.30
>!AEffaceable!S 1.0
>!ACredentialManager 1.0
>KernelRelayHost 1
|IOUSBHost!F 1.2
>!UHostMergeProperties 1.2
>usb.!UCommon 1.0
>!ABusPower!C 1.0
>!ASEPManager 1.0.1
>IOSlaveProcessor 1
>!AACPIPlatform 6.1
>!ASMC 3.1.9
|IOPCI!F 2.9
|IOACPI!F 1.4
>watchdog 1
@kec.pthread 1
@kec.Libm 1
@kec.corecrypto 12.0
cam
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: better performance(more cores) ∝ Monterey instability(panic more often)

Post by scottgus1 »

A Mac guest is only allowed if the physical computer is real Apple hardware.
OSX guests on non-Apple hardware


If you are using an Apple computer, please start a new topic in the Mac Guests forum, with a zipped guest vbox.log, posted using the forum's Upload Attachment tab.
Locked