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=kuxsvZ7KhFSdhLKO pEcGAJLliuWF+w9SHw4pAxe34ZOtrYx+B8cJjMOW9/+bMwnccgnF6/58XO8nng2g 8GXJK+Tjn39RNHCG1bkIuJGtHWLBs3UkpBq4/QOMTacD2Rsfp81Q1ITfjPs6rvSe A4wRRWeRFSWorpZPclRe6tBFcNM= 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=83Hhh430/sBEzZ1DsTFxn9 s0H2E=; b=wcPMywQTAlR+ydLDn7M1QwnX1aWvFEXcAnOOUkLwO2C4PM87GAuntH C0Fu7o54EcpFk+jJY1VRpoT2D9kgNrVO5/OnqSuhaC6osHqhtyrsU1Qfh0evrjX4 BPFDqDsbOm4JoBohfl9BBY1Ak435DmmDwj6FF0vZkpb5PeUEY36WU= 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.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=defender, virus, connected X-HELO: mail-wm0-f65.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=f55Mza6ORJizk25kDc1DPXI5+X6dQzpVKpgaXI4ilCg=; b=IhpdhSREYebPO7EVMvQBi0gFjo4kMXpc3FVTnsMbrvhgJiJTs08TnvrDQ5kalAwTQt xSGiAaj9mMdeKOdLjcEq2QKyxwC63Qt1ystKcdzO8lzG5LZMXJ5uf3uLWdDFmlNkdtJG ku05M11lAzNiWCiQgRBXD8qr+UjaudtpMnYiU2VsU7UyF7DJXRbj9zGUetTD4A720dSt 1a/UKL4E4NzFm4+Lbgfp75JNkJR0Hv0pkD4iuI8W3OCmOoPauQDSea6gqa5PZmjmgqoo 3yU8lAd/4Bgoy8xS8PxyeSSCHIYVP19CPMq6N1L0pfO6/X1oH/Yob7R6cHR3Pq7lA1kc XltA== X-Gm-Message-State: ALyK8tIivRwc5jOsf3o33msJOuGfC1LRz1KUnOk7OMJwNCL5R3sbJS6DO8kOXekpv908yg== X-Received: by 10.28.37.134 with SMTP id l128mr3933223wml.49.1467989389789; Fri, 08 Jul 2016 07:49:49 -0700 (PDT) Subject: Re: Midnight Commander is very slow when starting and changing directories To: cygwin AT cygwin DOT com References: From: Marco Atzeri Message-ID: <30e49013-7019-0d49-addb-ecd49256b127@gmail.com> Date: Fri, 8 Jul 2016 16:49:44 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 08/07/2016 16:13, Krzysztof Bociurko wrote: > I'm using midnight commander with Cygwin 64 bit on Windows 10 64 bit. > > After moving to a new machine and a clean reinstall of windows and > cygwin, my midnight commander started to get very laggy - starting mc, > any change of directory or exiting from finding files (to refresh list > of files in the two panes) takes long seconds. Restarting doesn't > help. > > I have no idea what could be the reason for these hiccups. MC normally > works fine: arrow presses work well, viewing and editing is instant, > but this one thing takes up to 10 seconds - changing directories. > Searching in files has a similar lag, but only once (ie not in every > `chdir` it could have done). In non-mc cygwin usage this issue doesn't > happen. > > The task manager doesn't show any abnormally high CPU or memory usage > on any process. I have `cygserver` running, using `bash` as my shell > and have no fancy `PS1` settings, my `$CYGWIN` is only > `winsymlinks:native`. > > My environment: > * Windows 10 pro 64 bit, up to date > * Not connected to a domain, no network drives > * No anti virus software apart from the one built in Windows > * Two hard drives (system on SSD (C:), D: is a SSHD), quite a few > directory junctions from C: to C:, no loops > * I'm usually using fatty as the terminal, but mintty has the same issues > * GNU Midnight Commander 4.8.17 > * cygserver is installed > two ideas to try: - update cygwin package as 2.5.2 versus the 2.5.1 that you are running has few bug fixes that could change the responsiveness. (unlike to work but worth to try) - disable the windows anti virus. Experience in the past with Windows Defender were disappointing https://cygwin.com/faq/faq.html#faq.using.bloda 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