X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4E39072E.3090204@gmail.com> Date: Wed, 03 Aug 2011 10:30:38 +0200 From: Marco atzeri User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Commands slow in wait_sig. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 On 8/3/2011 9:44 AM, texas salsa wrote: > > Hello there, > > I use Cygwin to do some complex text processing jobs using shell scripts on Thinkpad X200s Windows XP sp3. It had worked fine before but at some point I noticed the job started to take much time to complete. It is taking about ten times period compare to before. I don't know what had triggered this exactly. > > $ while true ;do /usr/bin/date ;done|uniq -c > 1 Wed Aug 3 16:21:05 2011 > 1 Wed Aug 3 16:21:06 2011 > 1 Wed Aug 3 16:21:08 2011 > 1 Wed Aug 3 16:21:09 2011 > 1 Wed Aug 3 16:21:10 2011 > 2 Wed Aug 3 16:21:11 2011 > 1 Wed Aug 3 16:21:12 2011 > $ time date > Wed Aug 3 16:23:19 2011 > real 0m0.905s > user 0m0.077s > sys 0m0.562s > > $ uname -a > CYGWIN_NT-5.1 IBM-8DE0336DAA4 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin > > So one command take about 1 sec to complete. On other machines with similar configuration the above testing shows about 10 forks/sec on average. similar machine T410 with XP SP3 using latest snapshots $ while true ;do /usr/bin/date ;done|uniq -c 51 Wed Aug 3 10:23:36 WEDT 2011 50 Wed Aug 3 10:23:37 WEDT 2011 50 Wed Aug 3 10:23:38 WEDT 2011 51 Wed Aug 3 10:23:39 WEDT 2011 51 Wed Aug 3 10:23:40 WEDT 2011 $ time date Wed Aug 3 10:29:58 WEDT 2011 real 0m0.016s user 0m0.030s sys 0m0.000s > > Yuta > possible cause: bash-completion installed or BLODA (mainly antivirus) Regards Marco -- 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