[Bug 30224] New: Piping wine in a shell makes it run slower.
http://bugs.winehq.org/show_bug.cgi?id=30224 Bug #: 30224 Summary: Piping wine in a shell makes it run slower. Product: Wine Version: 1.4 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: qparis(a)playonlinux.com Classification: Unclassified Sometimes, it can be useful to run wine through pipes to catch debug logfiles. For exemple, we might want to run something like wine 2>&1 | tee -a logfile.log to get stdout and stderr into a logfile The problem is that if wine is run like this, it takes 4 seconds to exit. The problems does not appear to be important, but sometimes (bash scripts, POL, winetricks for example), we need to run wine several times and we want to log everything. This problem really slows down the process. The problem is really simple to reproduce : in a clean wineprefix, run the two following commands: time wine wineconsole 2>&1 | cat # real 0m4.912s time wine wineconsole 2>&1 | grep Usage # real 0m4.006s time wine wineconsole 2>&1 # real 0m0.865s For the first commands (the slow ones), we can see that wineconsole takes time to exit without knowing why. This problem does not appear if stdin and stdout are separated: time wine wineconsole | cat # real 0m0.836s time wine wineconsole > >(cat) 2> >(cat) # real 0m0.774s -- 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=30224 Aymeric P. <mulx(a)aplu.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mulx(a)aplu.fr -- 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=30224 Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX --- Comment #1 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2012-03-19 20:02:43 CDT --- Correct, that is the default timeout for wineserver. Since it's being span by the main process. If you want to avoid this - start wineserver manually in foreground (in a separate terminal of course). Or make it stay with other wine program running, like notepad. Nothing to fix here, this is by design. -- 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=30224 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |frederic.delanoy(a)gmail.com --- Comment #2 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-03-20 05:10:47 CDT --- As Vitaliy told, you can use wineserver "-p" option to prevent this. Closing this bug. -- 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.
participants (1)
-
wine-bugs@winehq.org