High CPU usage at VMS start or even randomly when in background

Please let our ADS show!

This sites offers only FREE software and it's supported by a few advertisement boxes (no intrusive popups).
Please:

  • disable your AdBlocker by adding CoolSoft website to whitelist
  • give the proper cookie consent
  • enable JavaScript for this website

This seconds wait is to let you update your browser configuration...

Ok, I've done the required changes... now show me your content!
!!! Please enable JavaScript !!!

Pages

Posts: 12
Joined: July 13, 2023 - 07:51
High CPU usage at VMS start or even randomly when in background

Ciao,
volevo segnalare strani problemi di utilizzo di CPU di VMS in background. A volte capita dopo il boot di Win11, a volte a random trovo il task (sempre in background) con un alto utilizzo di CPU...

Qui in foto un esempio dopo il boot di Win11:

[Manually translated by admin...]

Hi,
I'd like to report a strange CPU usage bug when VMS is running on background. Sometimes it happens just after the boot (Win11), the process (in background) has an high CPU usage...

Below a screenshot after Win11 boot:

Se esco dal programma e lo riavvio manualmente la smette (ma può ancora ricapitare in background di trovarlo con un alto utilizzo di CPU). Dimmi come posso aiutare con log etc. mentre è così...

VirtualMIDISynth_debug_report.txt

Gaming Laptop ASUS GL703GS (BIOS 310)
32GB (dual channel) DDR4 2666MHz
CPU i7-8750H (iGPU unavailable)
GTX 1070 8GB (Max-P, 10DE 1BE1 - 1043 1011, GP104 A1, vbios 86.04.7c.00.24, Samsung VRAM)
Screen: 144Hz g-sync AUO B173HAN03.2 [AUO329D] 1080p (1920x1080)
2nd Screen through DisplayPort: 144Hz adaptive-sync Mi UWQHD [XMI3444] 3440x1440
Audio: Realtek HD Audio (ALC295 chipset)
Hard disks: NVMe Samsung, SSD Crucial
USB Blu-Ray 4K drive: Archgon Star MD-8102P-U3YC-UHDB (Pioneer BDR-UD04)
Bluetooth: 5.1 (AC 9560)
Controllers: Hori Fighting Stick Mini, XBox One Bluetooth controller, ROG Strix Carry Wireless-BT mouse
Microsoft Surface Headphones 2 BT

Posts: 12
Joined: July 13, 2023 - 07:51
Re: High CPU usage at VMS start or even randomly when in background

Task details:

image

Posts: 1978
Joined: March 25, 2012 - 01:19
Re: High CPU usage at VMS start or even randomly when in background

(mi sono permesso di tradurre il post originale, in modo che altri eventuali utenti Win11 con lo stesso problema possano accodarsi...)

Just a confirmation: how was CPU usage at the moment you've took the VirtualMIDISynth_debug_report.txt file? High or normal?
I'd like to exclude that some "unexpected" MIDI client is randomly connecting to VMS...

Posts: 12
Joined: July 13, 2023 - 07:51
Re: High CPU usage at VMS start or even randomly when in background

Always high CPU usage even while using program's UI (looking at current config, log report etc.). Seems totally random like a cpu core stuck on something with VMS...

Posts: 12
Joined: July 13, 2023 - 07:51
Re: High CPU usage at VMS start or even randomly when in background

This is normal behaviour (0% CPU usage in background):

ProcessExplorer.log

When it happens, I'll try to dump again this log, in the hope this will help you figure out what's wrong... Maybe is a sporadic conflict with ASUS Sonic Studio 3 and Nahimic at launch...

Posts: 1978
Joined: March 25, 2012 - 01:19
Re: High CPU usage at VMS start or even randomly when in background

It should be great if you could use Sysinternals Process Explorer.

It's... Task Manager on steroids 😉.

Start it (no need to install), double click on VirtualMIDISynth.exe process then open the Threads tab and sort list by CPU usage; that could help me finding the thread that's hogging the CPU.

Posts: 12
Joined: July 13, 2023 - 07:51
Re: High CPU usage at VMS start or even randomly when in background

Yeah, the log above comes from Process Explorer ;)

Next time I'll inspect the "stuck" task of VMS deeper...

Posts: 12
Joined: July 13, 2023 - 07:51
Re: High CPU usage at VMS start or even randomly when in background
coolsoft wrote:

... and sort list by CPU usage; that could help me finding the thread that's hogging the CPU.

Just to be clear: when it happens there is no other thread with high CPU usage apart VMS, until you quit and restart it. That's the strange thing. Opening CPU monitor I see 1/12 core is stuck at 66% (??) when this happens, so it looks like a compiler issue (?) or bug in the code.

P.S.

I'm also testing some compatibility modes using Compatibility Administrator (AKA MS Compatibility Toolkit...) for its task and I can't reproduce it anymore (consider it was a rare issue anyway) with these shims enabled (proc count lie = 4):

image

Posts: 1978
Joined: March 25, 2012 - 01:19
Re: High CPU usage at VMS start or even randomly when in background
Hexaae wrote:
when it happens there is no other thread with high CPU usage apart VMS

Do you mean "no other process", right?

I'm not excluding a bug in VMS; that's why I'd like to know which of the threads into VMS is hogging the CPU (it starts a lot of them: IPC queue IO, MIDI watchdogs, UI refresh, updates...).
Since this bug is not so easily reproducible, it could be a good starting point for me. 😉

Posts: 12
Joined: July 13, 2023 - 07:51
Re: High CPU usage at VMS start or even randomly when in background

Yes, sorry "process" is more correct.

Will report ASAP when I'll be able to reproduce it again...

Pages