[Bug 26549] New: GomezPEER fails to set processor priority

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 25 20:10:36 CDT 2011


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

           Summary: GomezPEER fails to set processor priority
           Product: Wine
           Version: 1.3.16
          Platform: x86-64
               URL: http://lastmile.gomez.com/PEERInstall.exe
        OS/Version: Linux
            Status: NEW
          Keywords: download
          Severity: minor
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: kennybobs at o2.co.uk


GomezPEER sets its background process (an instance of java.exe) to the lowest
(idle) priority in Windows.  It fails to do so under Linux.  Does Wine lack the
ability to set process priorities, perhaps?

Apologies if a similar bug is already open but I could not find one.

On newer systems this is not a problem, but on older system the PEER can
consume 100% CPU while processing.  The app is designed so that performance of
the PC is not affected, which of course it isn't under Windows (save the usual
Windows-related problems) but it is under Wine.

I'm not sure if I/O priority is also set.

The following does not work as a workaround:

$nice -n19 wine ~/blah/GomezPEER.exe

because this then sets all the Wine components to -n19 and can badly affect the
performance of other apps running under Wine.

Instead, the workaround I use is:

$wineserver -p15
$nice -n19 wine ~/blah/GomezPEER.exe

This way the wineserver remains at normal priority.  winedevice.exe in this
case still receives -n19 priority, however.

Console log:

fixme:win:EnumDisplayDevicesW ((null),0,0x73a83c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x73a83c,0x00000000), stub!
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000001 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x74b69c,0x00000000), stub!
fixme:font:WineEngCreateFontInstance Untranslated charset 255
fixme:time:GetSystemTimes (0xd9ee5a0,0xd9ee5b0,0xd9ee5a8): Stub!
fixme:time:GetSystemTimes (0xd9ee5a0,0xd9ee5b0,0xd9ee5a8): Stub!

-- 
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