X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=C2Wpg5LKIoDLWhd2 T8n6zwD6dOAg1oVjgYWP1XVY7NxPALk8WqgF10RCOsrosNta6OEhU6CMJEvryaGl 6J6dtbeLSHH9BpMUosnFG45YYLYYwc84eARe3PriAMvrAXN4hYo8HiIXokTJ4cWW ZORZyoqZ1YvDcADNrlwIfvZa8xI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=tW+RyI0Kas9ExRyjhVK52Y 0ikJk=; b=Klx4fJu0us2BQ507hFBkhGd9vhpo0gGy4ZAx+zyrvAz/8oNsycnhlU OcnDx1zFPV3Y8VJ6zWT3tD06T2dywyDvHax4wi0XL17Oakz+1CRM8d8vmKfvJrKB BMoX/uf10rjWUV0uyhnBfoDa8r59PM368i1gGiZvFRkC9qD+TOi64= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f176.google.com X-Received: by 10.180.39.242 with SMTP id s18mr4555572wik.79.1443023906673; Wed, 23 Sep 2015 08:58:26 -0700 (PDT) Subject: Re: Bash / cygwin process spawning (?) performance very slow To: cygwin AT cygwin DOT com References: <5602C28F DOT 7030902 AT null DOT net> From: Marco Atzeri Message-ID: <5602CC1D.6020307@gmail.com> Date: Wed, 23 Sep 2015 17:58:21 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5602C28F.7030902@null.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 23/09/2015 17:17, litter AT null DOT net wrote: >>> for a file of 167 lines. Process Explorer showed a CPU load of 20% on bash.exe, which was almost completely Kernel time. >>> Is such high Kernel load normal? >> >> may be. forks are time consuming and your command is spending all the >> time in fork > > So why is it spending all its time in fork? That is the question. https://cygwin.com/faq.html#faq.api.fork > >> In addition, I suspect your Antivirus is further slowing down the things. > > I don't run an Antivirus program than some thing else is crashing your performance https://cygwin.com/faq/faq.html#faq.using.bloda -- 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