[Bug 26549] New: GomezPEER fails to set processor priority
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(a)winehq.org ReportedBy: kennybobs(a)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.
http://bugs.winehq.org/show_bug.cgi?id=26549 Ken Sharp <kennybobs(a)o2.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://lastmile.gomez.com/P |http://www.rarlab.com/rar/w |EERInstall.exe |rar400.exe Summary|GomezPEER fails to set |Wine fails to set processor |processor priority |priority (niceness) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=26549 --- Comment #1 from Ken Sharp <kennybobs(a)o2.co.uk> 2011-11-07 00:01:23 CST --- http://wiki.winehq.org/SetThreadPriority -- 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.
http://bugs.winehq.org/show_bug.cgi?id=26549 --- Comment #2 from Artem S. Tashkinov <t.artem(a)mailcity.com> 2012-01-15 14:36:52 CST --- I don't think this bug will ever get fixed, unless it's fixed in POSIX. POSIX allows user space applications to lower their niceness but you cannot raise it (you will receive the "permission denied" error). In Windows it's possible to restore "niceness" to the "Normal" level. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=26549 --- Comment #3 from Ken Sharp <kennybobs(a)o2.co.uk> 2012-01-15 15:26:03 CST --- Lowering the niceness should still be supported IF possible. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=26549 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine fails to set processor |Add support for setting |priority (niceness) |processor priority | |(niceness) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=26549 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source URL|http://www.rarlab.com/rar/w |http://boinc.berkeley.edu/d |rar400.exe |l/boinc_7.2.33_windows_inte | |lx86.exe --- Comment #4 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Raising the priority to "normal" is supported under Ubuntu. I don't know about other OS but IIRC PC-BSD 9.x and OpenIndiana had no issue with this either. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=26549 --- Comment #5 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- In fact, Ubuntu's PPA Wine patches Wine to allow this, and it works perfectly. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=26549 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |performance -- 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.
https://bugs.winehq.org/show_bug.cgi?id=26549 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de -- 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.
https://bugs.winehq.org/show_bug.cgi?id=26549 Jia Yuan Lo <jylo06g(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jylo06g(a)gmail.com --- Comment #6 from Jia Yuan Lo <jylo06g(a)gmail.com> --- Is this feature added or not? BOINC needs this. https://wine-staging.com/news/2015-04-05-release-1.7.40.html https://github.com/wine-compholio/wine-staging/wiki/Environment-Variables#Re... Wine said there is "optional" real time priorities support but what about setting it to lower/lowest priority? The built-in taskmgr.exe felt like does nothing... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=26549 --- Comment #7 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- https://github.com/wine-compholio/wine-staging/tree/master/patches/ntdll-Pro... https://github.com/wine-compholio/wine-staging/tree/master/patches/server-Re... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=26549 mirh <mirh(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh(a)protonmail.ch --- Comment #8 from mirh <mirh(a)protonmail.ch> --- The first patch landed in ab3c0a3e0a7b8f9fc1eb703b2e4f2133ef3ebf0d (wine 3.3) The second is still being carried in staging. Should the bug status be updated? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=26549 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |53101 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=26549 Bug 26549 depends on bug 53101, which changed state. Bug 53101 Summary: Public Peer silently exits https://bugs.winehq.org/show_bug.cgi?id=53101 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- 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.
http://bugs.winehq.org/show_bug.cgi?id=26549 --- Comment #9 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- There's been a number of commits apparently related to this https://gitlab.winehq.org/wine/wine/-/commits/master?search=priority so I thought I'd give it a try in Wine 10.12. Tried "start /belownormal notepad" but notepad runs with normal priority, though that might be related to start. Tried running BOINC with Einstein(a)Home and the client application runs with normal priority on all threads. -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla