[Bug 34945] New: AppleWin 1.23.0: CPU usage is very high when should be minimal

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 19 04:22:23 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=34945

             Bug #: 34945
           Summary: AppleWin 1.23.0: CPU usage is very high when should be
                    minimal
           Product: Wine
           Version: 1.7.6
          Platform: x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: michael.lutynski at gmail.com
    Classification: Unclassified


Created attachment 46567
  --> http://bugs.winehq.org/attachment.cgi?id=46567
htop showing CPU usage

A performance issue where Wine puts an excessive load upon the CPU; CPU usage
should be marginal. 

Both of my cores in my dual-core computer run at nearly 100% when I run
AppleWin 1.23.0, a self-contained Apple II emulator. 

Mentioning this issue to the AppleWin developers, they say this is how AppleWin
is functioning internally, which may be of help:

>>>
During *normal* emulation, the emulator will:
i) Start a 1ms timer
ii) Execute AppleII for 1ms of emulated time
iii) Wait for 1ms timer to expire

So assuming you have a sufficiently fast PC (ie. any PC from the past 10 years)
then the wait at step-(iii) will dominate the above sequence.

Also, Applewin is single-threaded, so on your dual-core, it will at most
consume 50% of the CPU capacity. 
<<<

To replicate:
Just run Applewin.exe, and when the main window appears, press F2 to start the
emulator. A flashing prompt appears and the Applewin.exe CPU usage runs at, for
example, 72% and wineserver is at 66% (see attached screenshot from htop).

Download link:
http://download.berlios.de/applewin/AppleWin1.23.0.0.zip

51cbe8790d5fdbd3809a17a5b8b66923e676605b  AppleWin1.23.0.0.zip

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list