X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B686F385C6C4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1699291940; bh=M+xgLEtoR5mpOijGEvRvdhAjUgJByn0zHSk8DiMibhM=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=PWN+iYrzctOvOnU9KDXgzMIVNzRIlRm7l6z+rUyiox0thQTW1drOiVZ5aGY4zHkIv t6ar9Tdx5PPhabTVHyzVY06hAfYUv0rK+/H7xKaBc2/YjR/ZRfphYB4u5Xk8wEstsI m/KERYP6HPzcWQIMmUXaJ3nNSM5f1wulgvQcC+8A= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E566B3856DC0 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E566B3856DC0 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699291844; cv=none; b=GF8qhrOpvdf2TxMF5wBVA4LRZ+bsUy93RtXvY48mxjTIpD4zk3FSTRRnHywvqs3iw1OT2W6WTTBcCPAOcjH1ThfEFgj/3qVvLl0HncwqWEd25ysir9i6mMhKpbN3XtfAMvcqHG7mQHVo/nd/DpWIChJPkwEVJZvjWyrWfHngD1I= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699291844; c=relaxed/simple; bh=PkQj76Bke7jnk9uK1YtTE7DmsIK9rOi87z0BuTkwU+I=; h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version; b=Opjrkq0r0W5MGUu0O/8BQRlsYkEdtshb2ret8OtJ2PQWzhPXxGssM/sxv1mL3CPBm36L54gMBrvGMTOiYmZwS+QwETyJGWUXA7m6tDQY5wX28AcERzabDWSVDlDBATLtzH0u52nccTGXiYxVKIxWpmN6hhumjTjOVtIddJ7knk0= ARC-Authentication-Results: i=1; server2.sourceware.org X-Yandex-Fwd: 1 Date: Tue, 9 May 2023 20:12:21 +0300 X-Mailer: The Bat! (v9.3.4) Professional Message-ID: <1973975339.20230509201221@yandex.ru> To: Derek Pagel , cygwin AT cygwin DOT com Subject: Re: Slow Cygwin commands even with Cygserver In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrey Repin via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Andrey Repin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Greetings, Derek Pagel! > I've been having intermittent slowness with Cygwin commands even after > installing Cygserver. It has helped reduce the frequency of occurrences of > slowness, but it hasn't gotten rid of them completely. I recently had a > 'mv.exe' that was slow, so I ran a few commands to get some details on the > files it was working with to see if that could provide anything. > The 'mv.exe' command that was slow: > D:\cygwin64\bin\mv.exe > D:/lsenv/law/lsapps/edi/work/valid_ediout.20230425113255.tmp > D:/lsenv/law/lsapps/edi/work/valid_ediout.20230425113255 > It's interesting to note that the source and destination are both in the same directory. > D:\lsenv\law\lsapps\edi\work>ls -l valid_ediout.20230425113255.tmp > ls: File or directory is not found > D:\lsenv\law\lsapps\edi\work>ls -l valid_ediout.20230425113255 > -rwxrwxrwa 1 Administrators INFORBC\Domain Users 574 Apr 25 valid_ediout.20230425113255 > D:\lsenv\law\lsapps\edi\work>getfacl valid_ediout.20230425113255 > # file: valid_ediout.20230425113255 > # owner: Administrators > # group: Domain Users > user::rwx > user:lawson:rwx > group::--- > group:Authenticated Users:rwx > group:SYSTEM:rwx > group:Users:r-x > group:AD_LAWUSERS:rwx > mask::rwx > other::--- > D:\lsenv\law\lsapps\edi\work>icacls valid_ediout.20230425113255 > valid_ediout.20230425113255 INFORBC\lawson:(I)(F) > INFORBC\AD_LAWUSERS:(I)(F) > BUILTIN\Administrators:(I)(F) > NT AUTHORITY\SYSTEM:(I)(F) > NT AUTHORITY\Authenticated Users:(I)(M) > BUILTIN\Users:(I)(RX) > Successfully processed 1 files; Failed processing 0 files This clearly indicates that there's a domain group ACE on the file. Domain access to resolve account names could cause slow file I/O. Though, it should have been cached if the same ACL is set on entire directory. -- With best regards, Andrey Repin Tuesday, May 9, 2023 20:10:34 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple