X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 1 Jul 2009 13:32:46 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: fork and exec (was: Re: Proposed patch to system.XWinrc) Message-ID: <20090701173246.GA7966@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <416096c60906302255t1b5bdb41u442ebca20679c8d9 AT mail DOT gmail DOT com> <20090701151156 DOT GB335 AT ednor DOT casa DOT cgf DOT cx> <20090701160622 DOT GB5802 AT ednor DOT casa DOT cgf DOT cx> <7c085b629a9348d262d5339aff93c6d4 AT mail DOT smartmobili DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7c085b629a9348d262d5339aff93c6d4@mail.smartmobili.com> User-Agent: Mutt/1.5.19 (2009-01-05) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Wed, Jul 01, 2009 at 06:52:38PM +0200, Vincent R. wrote: >On Wed, 1 Jul 2009 12:06:22 -0400, Christopher Faylor >> No one is asking for benchmarks! However, if we were, strace is >> particularly unsuitable for that task. If you want to see improvements >> happen then dive into the code and offer specific suggestions. > >I did but maybe it would be important to know for sure that the problem >comes from fork and exec because I think you are sharing the same code >with mingw and it runs a lot faster with it. So before I dive : > >1) I want to be sure that fork/exec are the reason >2) See the differences with mingw. If you think we're sharing process creation code with MinGW then you have a misunderstanding about the nature of the projects. One of the main reasons for MinGW is that they want to do everything natively. That is obviously not the case with Cygwin. If you are talking about MSYS then, the last time I checked, we were actually slightly faster. I obviously can't tell you what to do but I doubt that comparing the current version of Cygwin against an ancient hacked version of Cygwin (i.e., MSYS) is going to be very useful. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple