Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "Ralf Habacker" To: "Chris January" Cc: "Cygwin AT Cygwin DOT Com" Subject: RE: Mozilla 1.3 built on cygwin? Date: Sun, 6 Apr 2003 22:05:56 +0200 Message-ID: <00d701c2fc77$ef7ed650$0a1c440a@BRAMSCHE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: Importance: Normal > You could buy the Nebett book. Or instead download the sample source code > (including the fork example) from > http://www.newriders.com/content/images/1578701996/downloads/1578701996.zip > and http://www.newriders.com/content/images/1578701996/downloads/ntdll.zip. > You can find most of the API that's documented in Nebbet's book at > http://undocumented.ntinternals.net/. > Thanks for this hint. This is very helpfull. In the meantime I've done a little inspection and recognized, that one of the major problem seems to be in the CreateProcess() call of the fork code, which is a real time eater. The reason for this behaviour seems partially to be the issues Ron Parker has told about. Further this depends on the number of loaded dll's and how these dll's are rebased (correlated with the size of the dll). See some results below. a simple cygwin application [client] fork (val) 16343 [us] [parent] fork (val) 13291 [us] a simple qt application without gui [client] fork (val) 37728 [us] [parent] fork (val) 34568 [us] a kde application (using kdecore) [client] fork (val) 337855 [us] [parent] fork (val) 334691 [us] a kde gui application (using kdecore + kdeui) (first call) [client] fork (val) 1605189 [us] [parent] fork (val) 1599379 [us] (further calls) [client] fork (val) 636870 [us] [parent] fork (val) 631324 [us] Ralf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/