1.5.5: 'date', 'ls -la' are too slow (2-3 secs on a powerfull PC!)

Andrei Emelianenko aemelianenko@deltaconcept.ch
Thu Nov 20 14:56:00 GMT 2003


There are some strange delays happenning in some commands.
Below the output of 'date' and 'ls -la' on an empty directory and the slow calls found by strace.
Thank you in advance for giving a feedback.
 
Regards,
Andrei
 

~t> date;date;date;date;date                                                                            Thu,20 15:45:41
Thu Nov 20 15:45:47 WEST 2003
Thu Nov 20 15:45:49 WEST 2003
Thu Nov 20 15:45:52 WEST 2003
Thu Nov 20 15:45:54 WEST 2003
Thu Nov 20 15:45:57 WEST 2003
~t> strace date > out 2>err                                                                             Thu,20 15:45:57
~t> sed '1,9d' out|awk '{dt=$1; printf("%10d ",dt); print}'|$cw/bin/sort|tail                           Thu,20 15:46:04
       741   741   67873 [main] date 3104 handle_to_fn: nt name '\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockVolume
1\Equalizer\EqDelta\tmp\out'
       956   956   60347 [main] date 3104 sigproc_init: process/signal handling enabled(1)
       984   984   58877 [main] date 3104 pwdgrp::load: /etc/group curr_lines 11
      1027  1027   55141 [main] date 3104 pwdgrp::load: /etc/passwd curr_lines 11
      1341  1341    2900 [main] date 3104 environ_init: 0x100204D8: ALLUSERSPROFILE=C:\Documents and Settings\All Users
      1618  1618 2444389 [main] date 3104 _pinfo::exit: Calling ExitProcess 0
      2101  2101   90791 [main] date 3104 handle_to_fn: derived path '\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockV
olume1\Equalizer\EqDelta\tmp\err'
      2179  2179   70052 [main] date 3104 handle_to_fn: derived path '\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockV
olume1\Equalizer\EqDelta\tmp\out'
      2629  2629   65542 [main] date 3104 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   2288172 2288172 2416561 [main] date 3104 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (0)
~t> $cw/bin/ls-4.1-1.exe -la                                                                            Thu,20 15:46:18
total 127
drwxrwxrwx+   2 adm-zh32 None            0 Nov 20 15:29 .
dr-xr-xr-x+   7 Administ None         8192 Nov 20 15:00 ..
-rw-rw-rw-    1 adm-zh32 None            0 Nov 20 15:46 err
-rw-rw-rw-    1 adm-zh32 None       121747 Nov 20 15:46 out
-rwxrwxrwx    1 Administ None         3217 Nov 20 15:44 q
-rwxrwxrwx    1 Administ None         3169 Nov 20 15:29 q~
~t> strace $cw/bin/ls-4.1-1.exe -la > out 2>err                                                         Thu,20 15:46:34
~t> sed '1,9d' out|awk '{dt=$1; printf("%10d ",dt); print}'|$cw/bin/sort|tail                           Thu,20 15:46:47
       972   972   55395 [main] ls-4.1-1 4216 pwdgrp::load: /etc/passwd curr_lines 11
       986   986  112893 [main] ls-4.1-1 4216 normalize_posix_path: src .
      1039  1039   60598 [main] ls-4.1-1 4216 sigproc_init: process/signal handling enabled(1)
      1342  1342    2841 [main] ls-4.1-1 4216 environ_init: 0xA0404D8: ALLUSERSPROFILE=C:\Documents and Settings\All Use
rs
      1612  1612 2540172 [main] ls-4.1-1 4216 _pinfo::exit: Calling ExitProcess 0
      2129  2129   91425 [main] ls-4.1-1 4216 handle_to_fn: derived path '\Device\HarddiskDmVolumes\PhysicalDmVolumes\Bl
ockVolume1\Equalizer\EqDelta\tmp\err'
      2134  2134   71008 [main] ls-4.1-1 4216 handle_to_fn: derived path '\Device\HarddiskDmVolumes\PhysicalDmVolumes\Bl
ockVolume1\Equalizer\EqDelta\tmp\out'
      2579  2579   66692 [main] ls-4.1-1 4216 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
     11181 11181  135084 [main] ls-4.1-1 4216 normalize_posix_path: src .
   2296086 2296086 2532494 [main] ls-4.1-1 4216 etc::dir_changed: fn[1] E:\Equalizer\EqDelta\Eqprod\cygwin\etc\passwd ch
ange_possible 0
~t> uname -a                                                                                            Thu,20 15:46:47
CYGWIN_NT-5.0 hgzb-zh-32 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin
~t>                                                                                                     Thu,20 15:46:54
 
 
 


More information about the Cygwin mailing list