* Slow Cygwin commands even with Cygserver
@ 2023-05-09 13:13 Derek Pagel
2023-05-09 17:12 ` Andrey Repin
0 siblings, 1 reply; 2+ messages in thread
From: Derek Pagel @ 2023-05-09 13:13 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1681 bytes --]
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Slow Cygwin commands even with Cygserver
2023-05-09 13:13 Slow Cygwin commands even with Cygserver Derek Pagel
@ 2023-05-09 17:12 ` Andrey Repin
0 siblings, 0 replies; 2+ messages in thread
From: Andrey Repin @ 2023-05-09 17:12 UTC (permalink / raw)
To: Derek Pagel, 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...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-06 17:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-09 13:13 Slow Cygwin commands even with Cygserver Derek Pagel
2023-05-09 17:12 ` Andrey Repin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).