X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=BAYES_40 X-Spam-Check-By: sourceware.org From: =?iso-8859-2?Q?Leszek_=A6wirski?= To: Subject: Slowness in "wait_sig: entering ReadFile loop" and "parse_options: glob (called func)" Date: Thu, 26 Nov 2009 11:42:41 -0000 Message-ID: <012e01ca6e8d$8f94acd0$aebe0670$@ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 I'm having some serious slowness issues with Cygwin (1.7) on my Windows 7 x64 machine. Background research told me to test things with strace, and I've noticed that every strace so far gives me major slowness on two consecutive lines, e.g.: $ strace ls [...] 51 2680 [main] ls 3404 time: 1259235257 = time (0) 22954 25634 [sig] ls 3404 wait_sig: entering ReadFile loop, my_readsig 0x170, my_sendsig 0x178 94539 120173 [main] ls 3404 parse_options: glob (called func) 98 120271 [main] ls 3404 parse_options: tty 1001 [...] $ strace /bin/true [...] 40 2174 [main] true 3896 time: 1259235243 = time (0) 22838 25012 [sig] true 3896 wait_sig: entering ReadFile loop, my_readsig 0x16C, my_sendsig 0x174 97102 122114 [main] true 3896 parse_options: glob (called func) 86 122200 [main] true 3896 parse_options: tty 1001 [...] $ strace sh empty.sh [...] 64 23878 [main] sh 4220 time: 1259235638 = time (0) 1202 25080 [sig] sh 4220 wait_sig: entering ReadFile loop, my_readsig 0x1B0, my_sendsig 0x1B4 119577 144657 [main] sh 4220 parse_options: glob (called func) 142 144799 [main] sh 4220 parse_options: tty 1001 [...] Also, when running "strace sh empty.sh", I get a massive delay in gethostname: 151119 388254 [main] sh 4220 cygwin_gethostname: name Leszek-PC Could any of this be the reason for the slowness, or is it just a red herring? And for either of those two options, can anyone help? - Leszek -- 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