win32ss / supermium

Chromium fork for Windows XP/2003 and up
https://win32subsystem.live/supermium/
BSD 3-Clause "New" or "Revised" License
2.47k stars 86 forks source link

CPU usage spikes are occurring under Windows Server 2003 #432

Open Zero3K opened 8 months ago

Zero3K commented 8 months ago

They happen randomly and when I move the mouse over its window in random locations. I am using the latest progwrp.dll offered in the Readme and the latest release of Supermium.

IDA-RE-things commented 8 months ago

I am using the latest progwrp.dll offered in the Readme

Which Readme do you mean ?

Zero3K commented 8 months ago

https://github.com/win32ss/supermium/blob/main/README.md

IDA-RE-things commented 8 months ago

I'm trying to reproduce on XP x86. Is your CPU single/dual core ?

Also show us CPU usage history screenshot from ProcessExplorer or Task Manager

Zero3K commented 8 months ago
  1. The VM is set to single core.
  2. Here is the requested screenshot:

image

The first spike happened when going to a webpage. The second one happened when doing what I described in the first post in this issue.

IDA-RE-things commented 8 months ago

Ok. You must determine which Crome.exe process causes this. (If you are using Chrome in multiprocess-mode) And then show us expanded CPU usage history for that process from ProcessExplorer or ProcessHacker. Because this will be more informative. They show usermode/kernelmode times in different colors for a single process. Looks like synchronization issues. and may be related to interaction with VM.

Show us something like this under high load by mouse movements and so on. :

Chrome_CPU_Usage_ProcessExplorer Chrome_CPU_Usage_ProcessExplorer_2 Chrome_CPU_Usage_ProcessHacker

Zero3K commented 8 months ago

image

image image

Zero3K commented 2 months ago

Any news regarding this?

Zero3K commented 1 week ago

Hmm?

IDA-RE-things commented 1 week ago

@Zero3K , are you have encountered same CPU spikes, when using my own "DLL set" for Sm v126-r3 ? (R3/R4/R5)

Zero3K commented 1 week ago

Do you mean the progwrp.dll from https://github.com/IDA-RE-things/Chrome-xp-api-adapter?

IDA-RE-things commented 1 week ago

Yes, try chrome-xpapi-adapter_x86.b5078-wD3D9accel.zip on \releases\ page and second archive over it: chrome-xpapi-adapter_x86.b5080.beta4_int.upd_of_5078.zip May be it fixes problem with spikes. May be no. At least I done several optimizations.

Stepman123 commented 1 week ago

My tests on a single-core Pentium4 with and without HT (ACPI Uniprocessor PC) showed that in the second case Supermium126 can load the processor for a long time. For example, while uploading images to web discord. There's an animation in the top right corner that can go on almost indefinitely. Almost 100% CPU Load. Additionally, I tried a non-standard single-core ACPI (halacpi). This one worked well, much like Hyper-Threading. I checked it on XP/2003 with and without OCA.