public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* bash very slow in cygwin 1.7.16-1 Win7/64 bit
@ 2012-09-30 20:52 Adam Rosi-Kessel
  2012-10-01 13:34 ` jojelino
  2012-10-01 15:49 ` Adam Kessel
  0 siblings, 2 replies; 25+ messages in thread
From: Adam Rosi-Kessel @ 2012-09-30 20:52 UTC (permalink / raw)
  To: cygwin

Cygwin used to run very quickly for me; now it doesn't. Not sure when it 
stopped -- last few weeks.

# time for i in {1..5} ; do bash -c "echo Hello" ; done
Hello
Hello
Hello
Hello
Hello

real    0m51.451s
user    0m0.230s
sys     0m0.979s

# time ls | wc -l
21

real    0m10.231s
user    0m0.030s
sys     0m0.264s

The system should be fast enough:

- Windows 7 / 64-bit fully patched
- Quad core CPU
- 8 GB RAM
- nothing else running
- Everything on solid state disk

This problem seems to have many different causes. Here is what I've 
tried so far with no success at all:

- Uninstall bash_completion
- Move .bashrc / .bash_profile out of the way
- Running in xterm
- setting PS1 to '$'
- unmounting all network drives
- unsetting the path
- adding '127.0.0.1 localhost cygdrive wpad' to 
c:\windows\system32\drivers\etc\hosts
- running as administrator

Any suggestions for further things to try?

# strace -tt ls

     2       2 [main] ls (24012) 
**********************************************
   138     140 [main] ls (24012) Program name: C:\cygwin\bin\ls.exe 
(windows pid 24012)
    65     205 [main] ls (24012) OS version:   Windows NT-6.1
    45     250 [main] ls (24012) 
**********************************************
  1281    1531 [main] ls (24012) sigprocmask: 0 = sigprocmask (0, 
0x6123D428, 0x610FB180)
  1318    2849 [main] ls 24012 open_shared: name shared.5, n 5, shared 
0x60FF0000 (wanted 0x60FF0000), h 0x7C, *m 6
    89    2938 [main] ls 24012 heap_init: heap base 0x80000000, heap top 
0x80000000, heap size 0x18000000 (402653184)
    65    3003 [main] ls 24012 open_shared: name 
S-1-5-21-96414999-1499730031-444732941-29377.1, n 1, shared 0x60FE0000 
(wanted 0x60FE0000), h 0x74, *m 6
    89    3092 [main] ls 24012 user_info::create: opening user shared 
for 'S-1-5-21-96414999-1499730031-444732941-29377' at 0x60FE0000
    34    3126 [main] ls 24012 user_info::create: user shared version 
6467403B
    63    3189 [main] ls 24012 fhandler_pipe::create: name 
\\.\pipe\cygwin-c5e39b7a9d22bafb-24012-sigwait, size 164, mode 
PIPE_TYPE_MESSAGE
    69    3258 [main] ls 24012 fhandler_pipe::create: pipe read handle 0x98
    30    3288 [main] ls 24012 fhandler_pipe::create: CreateFile: name 
\\.\pipe\cygwin-c5e39b7a9d22bafb-24012-sigwait
    50    3338 [main] ls 24012 fhandler_pipe::create: pipe write handle 0x9C
    38    3376 [main] ls 24012 dll_crt0_0: finished dll_crt0_0 
initialization
   437    3813 [sig] ls 24012 wait_sig: entering ReadFile loop, 
my_readsig 0x98, my_sendsig 0x9C
   293    4106 [main] ls 24012 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\cygwin\tmp, no-keep-rel, no-add-slash)
    63    4169 [main] ls 24012 normalize_win32_path: C:\cygwin\tmp = 
normalize_win32_path (C:\cygwin\tmp)
    39    4208 [main] ls 24012 mount_info::conv_to_posix_path: /tmp = 
conv_to_posix_path (C:\cygwin\tmp)
    62    4270 [main] ls 24012 sigprocmask: 0 = sigprocmask (0, 
0x800180A8, 0x610FB180)
   172    4442 [main] ls 24012 _cygwin_istext_for_stdio: fd 0: not open
    36    4478 [main] ls 24012 _cygwin_istext_for_stdio: fd 1: not open
    36    4514 [main] ls 24012 _cygwin_istext_for_stdio: fd 2: not open
   123    4637 [main] ls (24012) open_shared: name cygpid.24012, n 
24012, shared 0x60FD0000 (wanted 0x60FD0000), h 0xC4, *m 2
    43    4680 [main] ls 24012 pinfo::thisproc: myself dwProcessId 24012
    33    4713 [main] ls 24012 time: 1349037741 = time(0)
   884    5597 [main] ls 24012 environ_init: GetEnvironmentStrings 
returned 0x4F2958
    69    5666 [main] ls 24012 environ_init: 0x80028290: !::=::\
    62    5728 [main] ls 24012 environ_init: 0x800282A0: !C:=C:\1\config
    65    5793 [main] ls 24012 environ_init: 0x800282B8: 
COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files
    62    5855 [main] ls 24012 environ_init: 0x800282F8: 
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    64    5919 [main] ls 24012 parse_options: glob (called func)
    58    5977 [main] ls 24012 parse_options: returning
    31    6008 [main] ls 24012 environ_init: 0x80028340: CYGWIN=noglob
    63    6071 [main] ls 24012 getwinenv: can't set native for PATH= 
since no environ yet
    72    6143 [main] ls 24012 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\cygwin\bin, keep-rel, no-add-slash)
    35    6178 [main] ls 24012 normalize_win32_path: C:\cygwin\bin = 
normalize_win32_path (C:\cygwin\bin)
    35    6213 [main] ls 24012 mount_info::conv_to_posix_path: /usr/bin 
= conv_to_posix_path (C:\cygwin\bin)
    86    6299 [main] ls 24012 win_env::add_cache: posix /usr/bin
    30    6329 [main] ls 24012 win_env::add_cache: native PATH=C:\cygwin\bin
    34    6363 [main] ls 24012 posify_maybe: env var converted to 
PATH=/usr/bin
    80    6443 [main] ls 24012 environ_init: 0x800383B0: PATH=/usr/bin
    64    6507 [main] ls 24012 environ_init: 0x800383C8: 
PROGRAMFILES=C:\Program Files (x86)
    58    6565 [main] ls 24012 environ_init: 0x80028368: PS1=#
    62    6627 [main] ls 24012 environ_init: 0x800383F8: 
ProgramFiles(x86)=C:\Program Files (x86)
   104    6731 [main] ls 24012 environ_init: 0x80038428: 
SYSTEMROOT=C:\Windows
    62    6793 [main] ls 24012 environ_init: 0x80038448: WINDIR=C:\Windows
    55    6848 [main] ls 24012 environ_init: 0x80038460: _=/usr/bin/strace
    57    6905 [main] ls 24012 environ_init: 0x80038478: 
asl.log=Destination=file;OnFirstLog=command,environment
    66    6971 [main] ls 24012 pinfo_init: Set nice to 0
    34    7005 [main] ls 24012 pinfo_init: pid 24012, pgid 24012
    32    7037 [main] ls 24012 App version:  1007.10, api: 0.259
    33    7070 [main] ls 24012 DLL version:  1007.16, api: 0.262
    28    7098 [main] ls 24012 DLL build:    2012-07-20 22:55
    39    7137 [main] ls 24012 dtable::extend: size 32, fds 0x612737C0
  1719    8856 [main] ls 24012 pwdgrp::load: \etc\passwd curr_lines 8
    58    8914 [main] ls 24012 pwdgrp::load: \etc\passwd load succeeded
  1397   10311 [main] ls 24012 pwdgrp::load: \etc\group curr_lines 15
    41   10352 [main] ls 24012 pwdgrp::load: \etc\group load succeeded
    27   10379 [main] ls 24012 cygheap_user::ontherange: what 2, pw 
0x800389E8
    22   10401 [main] ls 24012 cygheap_user::ontherange: Set HOME (from 
/etc/passwd) to /cygdrive/c/0/cygwin_home
   100   10501 [main] ls 24012 normalize_posix_path: src 
/cygdrive/c/0/cygwin_home
    40   10541 [main] ls 24012 normalize_posix_path: 
/cygdrive/c/0/cygwin_home = normalize_posix_path (/cygdrive/c/0/cygwin_home)
    31   10572 [main] ls 24012 mount_info::conv_to_win32_path: 
conv_to_win32_path (/cygdrive/c/0/cygwin_home)
    42   10614 [main] ls 24012 mount_info::cygdrive_win32_path: src 
'/cygdrive/c/0/cygwin_home', dst 'C:\0\cygwin_home'
    38   10652 [main] ls 24012 set_flags: flags: binary (0x2)
    36   10688 [main] ls 24012 mount_info::conv_to_win32_path: src_path 
/cygdrive/c/0/cygwin_home, dst C:\0\cygwin_home, flags 0x4022, rc 0
   303   10991 [main] ls 24012 symlink_info::check: 0x0 = NtCreateFile 
(\??\C:\0\cygwin_home)
    87   11078 [main] ls 24012 mount_info::conv_to_posix_path: 
conv_to_posix_path (c:\users\avk\SkyDrive\0\cygwin_home, no-keep-rel, 
no-add-slash)
    48   11126 [main] ls 24012 normalize_win32_path: 
C:\users\avk\SkyDrive\0\cygwin_home = normalize_win32_path 
(c:\users\avk\SkyDrive\0\cygwin_home)
    24   11150 [main] ls 24012 mount_info::conv_to_posix_path: 
/cygdrive/c/users/avk/SkyDrive/0/cygwin_home = conv_to_posix_path 
(c:\users\avk\SkyDrive\0\cygwin_home)
    51   11201 [main] ls 24012 symlink_info::check: 44 = 
symlink.check(C:\0\cygwin_home, 0x2890F8) (0x4804023)
    35   11236 [main] ls 24012 path_conv::check: 
this->path(C:\0\cygwin_home), has_acls(1)
    64   11300 [main] ls 24012 win_env::add_cache: posix 
/cygdrive/c/0/cygwin_home
    27   11327 [main] ls 24012 win_env::add_cache: native 
HOME=C:\0\cygwin_home
    46   11373 [main] ls 24012 normalize_posix_path: src 
/cygdrive/c/0/cygwin_home
    24   11397 [main] ls 24012 normalize_posix_path: 
/cygdrive/c/0/cygwin_home = normalize_posix_path (/cygdrive/c/0/cygwin_home)
    25   11422 [main] ls 24012 mount_info::conv_to_win32_path: 
conv_to_win32_path (/cygdrive/c/0/cygwin_home)
    25   11447 [main] ls 24012 mount_info::cygdrive_win32_path: src 
'/cygdrive/c/0/cygwin_home', dst 'C:\0\cygwin_home'
    25   11472 [main] ls 24012 set_flags: flags: binary (0x2)
    24   11496 [main] ls 24012 mount_info::conv_to_win32_path: src_path 
/cygdrive/c/0/cygwin_home, dst C:\0\cygwin_home, flags 0x4022, rc 0
   281   11777 [main] ls 24012 symlink_info::check: 0x0 = NtCreateFile 
(\??\C:\0\cygwin_home)
    86   11863 [main] ls 24012 mount_info::conv_to_posix_path: 
conv_to_posix_path (c:\users\avk\SkyDrive\0\cygwin_home, no-keep-rel, 
no-add-slash)
    37   11900 [main] ls 24012 normalize_win32_path: 
C:\users\avk\SkyDrive\0\cygwin_home = normalize_win32_path 
(c:\users\avk\SkyDrive\0\cygwin_home)
    36   11936 [main] ls 24012 mount_info::conv_to_posix_path: 
/cygdrive/c/users/avk/SkyDrive/0/cygwin_home = conv_to_posix_path 
(c:\users\avk\SkyDrive\0\cygwin_home)
    58   11994 [main] ls 24012 symlink_info::check: 44 = 
symlink.check(C:\0\cygwin_home, 0x289150) (0x4804023)
    34   12028 [main] ls 24012 path_conv::check: 
this->path(C:\0\cygwin_home), has_acls(1)
   103   12131 [main] ls 24012 win_env::add_cache: posix 
/cygdrive/c/0/cygwin_home
    31   12162 [main] ls 24012 win_env::add_cache: native 
HOME=C:\0\cygwin_home
    90   12252 [main] ls 24012 build_argv: argv[0] = 'ls'
    31   12283 [main] ls 24012 build_argv: argc 1
   168   12451 [main] ls 24012 build_fh_pc: created an archetype 
(0x61273C00) for /dev/pty0(136/0)
    35   12486 [main] ls 24012 build_fh_pc: fh 0x612739A8, dev 0x880000
    30   12516 [main] ls 24012 fhandler_pipe::create: name 
\\.\pipe\cygwin-c5e39b7a9d22bafb-pty0-from-master, size 131072, mode 
PIPE_TYPE_MESSAGE
    63   12579 [main] ls 24012 fhandler_pipe::create: pipe busy
    25   12604 [main] ls 24012 tty::exists: exists 1
    59   12663 [main] ls 24012 alloc_sd: uid 39377, gid 10545, attribute 
2190
    26   12689 [main] ls 24012 cygsid::debug_print: alloc_sd: owner SID 
= S-1-5-21-96414999-1499730031-444732941-29377 (+)
    23   12712 [main] ls 24012 cygsid::debug_print: alloc_sd: group SID 
= S-1-5-32-545 (+)
    36   12748 [main] ls 24012 alloc_sd: ACL-Size: 112
    55   12803 [main] ls 24012 alloc_sd: Created SD-Size: 176
    21   12824 [main] ls 24012 fhandler_pty_slave::open: (444): pty 
output_mutex (0xC8): waiting 500 ms
    22   12846 [main] ls 24012 fhandler_pty_slave::open: (444): pty 
output_mutex: acquired
    31   12877 [main] ls 24012 tty::create_inuse: cygtty.slave_alive.0 0xD4
    25   12902 [main] ls 24012 fhandler_pty_slave::open: (447): pty 
output_mutex(0xC8) released
    51   12953 [main] ls 24012 open_shared: name cygpid.25228, n 25228, 
shared 0x30000 (wanted 0x0), h 0xD8, *m 6
    35   12988 [main] ls 24012 fhandler_pty_slave::open: dup handles 
directly since I'm the owner
    33   13021 [main] ls 24012 fhandler_pty_slave::open: duplicated 
from_master 0x314->0xD8 from pty_owner
    23   13044 [main] ls 24012 fhandler_pty_slave::open: duplicated 
to_master 0x31C->0xE0 from pty_owner
    39   13083 [main] ls 24012 fhandler_console::need_invisible: 
invisible_console 0
    27   13110 [main] ls 24012 fhandler_base::open_with_arch: line 474:  
/dev/pty0<0x61273C00> usecount + 1 = 1
    24   13134 [main] ls 24012 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
    21   13155 [main] ls 24012 fhandler_base::set_flags: O_TEXT/O_BINARY 
set in flags 0x10000
    21   13176 [main] ls 24012 fhandler_base::set_flags: filemode set to 
binary
    22   13198 [main] ls 24012 _pinfo::set_ctty: old no ctty, ctty 
device number 0xFFFFFFFF, tc.ntty device number 0x880000 flags & 
O_NOCTTY 0x0
    21   13219 [main] ls 24012 _pinfo::set_ctty: cygheap->ctty 0x0, 
archetype 0x61273C00
    21   13240 [main] ls 24012 _pinfo::set_ctty: ctty was NULL
    21   13261 [main] ls 24012 _pinfo::set_ctty: line 456: 
/dev/pty0<0x61273C00> usecount + 1 = 2
    22   13283 [main] ls 24012 _pinfo::set_ctty: /dev/pty0 ctty, usecount 2
    23   13306 [main] ls 24012 _pinfo::set_ctty: attaching ctty 
/dev/pty0 sid 24012, pid 24012, pgid 24012, tty->pgid 25976, tty->sid -1
    23   13329 [main] ls 24012 _pinfo::set_ctty: cygheap->ctty now 
0x61273C00, archetype 0x61273C00
    22   13351 [main] ls 24012 fhandler_pty_slave::open_setup: /dev/pty0 
opened, usecount 2
    23   13374 [main] ls 24012 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
    21   13395 [main] ls 24012 fhandler_base::set_flags: O_TEXT/O_BINARY 
set in flags 0x10000
    22   13417 [main] ls 24012 fhandler_base::set_flags: filemode set to 
binary
    21   13438 [main] ls 24012 _pinfo::set_ctty: old ctty /dev/pty0, 
ctty device number 0x880000, tc.ntty device number 0x880000 flags & 
O_NOCTTY 0x0
    51   13489 [main] ls 24012 _pinfo::set_ctty: attaching ctty 
/dev/pty0 sid -1, pid 24012, pgid 25976, tty->pgid 25976, tty->sid -1
    31   13520 [main] ls 24012 _pinfo::set_ctty: cygheap->ctty now 
0x61273C00, archetype 0x61273C00
    29   13549 [main] ls 24012 fhandler_pty_slave::open_setup: /dev/pty0 
opened, usecount 2
  3766   17315 [main] ls 24012 handle_to_fn: current match 'C:' = 
'\Device\HarddiskVolume1'
   253   17568 [main] ls 24012 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\Users\avk\SkyDrive\0\cygwin\tmp\log.txt, 
no-keep-rel, no-add-slash)
    38   17606 [main] ls 24012 normalize_win32_path: 
C:\Users\avk\SkyDrive\0\cygwin\tmp\log.txt = normalize_win32_path 
(C:\Users\avk\SkyDrive\0\cygwin\tmp\log.txt)
    29   17635 [main] ls 24012 mount_info::conv_to_posix_path: 
/cygdrive/c/Users/avk/SkyDrive/0/cygwin/tmp/log.txt = conv_to_posix_path 
(C:\Users\avk\SkyDrive\0\cygwin\tmp\log.txt)
    25   17660 [main] ls 24012 handle_to_fn: derived path 
'C:\Users\avk\SkyDrive\0\cygwin\tmp\log.txt', posix 
'/cygdrive/c/Users/avk/SkyDrive/0/cygwin/tmp/log.txt'
    24   17684 [main] ls 24012 normalize_posix_path: src 
/cygdrive/c/Users/avk/SkyDrive/0/cygwin/tmp/log.txt
    24   17708 [main] ls 24012 normalize_posix_path: 
/cygdrive/c/Users/avk/SkyDrive/0/cygwin/tmp/log.txt = 
normalize_posix_path (/cygdrive/c/Users/avk/SkyDrive/0/cygwin/tmp/log.txt)
    22   17730 [main] ls 24012 mount_info::conv_to_win32_path: 
conv_to_win32_path (/cygdrive/c/Users/avk/SkyDrive/0/cygwin/tmp/log.txt)
    23   17753 [main] ls 24012 mount_info::cygdrive_win32_path: src 
'/cygdrive/c/Users/avk/SkyDrive/0/cygwin/tmp/log.txt', dst 
'C:\Users\avk\SkyDrive\0\cygwin\tmp\log.txt'
    23   17776 [main] ls 24012 set_flags: flags: binary (0x2)
    21   17797 [main] ls 24012 mount_info::conv_to_win32_path: src_path 
/cygdrive/c/Users/avk/SkyDrive/0/cygwin/tmp/log.txt, dst 
C:\Users\avk\SkyDrive\0\cygwin\tmp\log.txt, flags 0x4022, rc 0
   348   18145 [main] ls 24012 symlink_info::check: 0x0 = NtCreateFile 
(\??\C:\Users\avk\SkyDrive\0\cygwin\tmp\log.txt)
    55   18200 [main] ls 24012 symlink_info::check: not a symlink
    85   18285 [main] ls 24012 symlink_info::check: 0 = 
symlink.check(C:\Users\avk\SkyDrive\0\cygwin\tmp\log.txt, 0x289820) (0x4022)
    38   18323 [main] ls 24012 path_conv::check: 
this->path(C:\Users\avk\SkyDrive\0\cygwin\tmp\log.txt), has_acls(1)
    44   18367 [main] ls 24012 build_fh_pc: fh 0x61273EA0, dev 0xC3
    38   18405 [main] ls 24012 fhandler_base::set_flags: flags 0x10001, 
supplied_bin 0x0
    33   18438 [main] ls 24012 fhandler_base::set_flags: O_TEXT/O_BINARY 
set in flags 0x10000
    30   18468 [main] ls 24012 fhandler_base::set_flags: filemode set to 
binary
    30   18498 [main] ls 24012 fhandler_base::init: created new 
fhandler_base for handle 0x3F0, bin 1
   187   18685 [main] ls 24012 build_fh_pc: found an archetype for 
(null)(136/0) io_handle 0xD8
    40   18725 [main] ls 24012 build_fh_pc: fh 0x61274138, dev 0x880000
    36   18761 [main] ls 24012 fhandler_base::open_with_arch: line 494:  
/dev/pty0<0x61273C00> usecount + 1 = 3
    33   18794 [main] ls 24012 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
    30   18824 [main] ls 24012 fhandler_base::set_flags: O_TEXT/O_BINARY 
set in flags 0x10000
    32   18856 [main] ls 24012 fhandler_base::set_flags: filemode set to 
binary
    31   18887 [main] ls 24012 _pinfo::set_ctty: old ctty /dev/pty0, 
ctty device number 0x880000, tc.ntty device number 0x880000 flags & 
O_NOCTTY 0x0
    33   18920 [main] ls 24012 _pinfo::set_ctty: attaching ctty 
/dev/pty0 sid -1, pid 24012, pgid 25976, tty->pgid 25976, tty->sid -1
    30   18950 [main] ls 24012 _pinfo::set_ctty: cygheap->ctty now 
0x61273C00, archetype 0x61273C00
    30   18980 [main] ls 24012 fhandler_pty_slave::open_setup: /dev/pty0 
opened, usecount 3
    33   19013 [main] ls 24012 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
    31   19044 [main] ls 24012 fhandler_base::set_flags: O_TEXT/O_BINARY 
set in flags 0x10000
    30   19074 [main] ls 24012 fhandler_base::set_flags: filemode set to 
binary
    28   19102 [main] ls 24012 _pinfo::set_ctty: old ctty /dev/pty0, 
ctty device number 0x880000, tc.ntty device number 0x880000 flags & 
O_NOCTTY 0x0
    32   19134 [main] ls 24012 _pinfo::set_ctty: attaching ctty 
/dev/pty0 sid -1, pid 24012, pgid 25976, tty->pgid 25976, tty->sid -1
    30   19164 [main] ls 24012 _pinfo::set_ctty: cygheap->ctty now 
0x61273C00, archetype 0x61273C00
    31   19195 [main] ls 24012 fhandler_pty_slave::open_setup: /dev/pty0 
opened, usecount 3
   140   19335 [main] ls 24012 __set_errno: void dll_crt0_1(void*):953 
setting errno 0
   298   19633 [main] ls 24012 __get_lcid_from_locale: LCID=0x0000
    81   19714 [main] ls 24012 __get_lcid_from_locale: LCID=0x0000
    75   19789 [main] ls 24012 __get_lcid_from_locale: LCID=0x0000
    78   19867 [main] ls 24012 __get_lcid_from_locale: LCID=0x0000
    74   19941 [main] ls 24012 __get_lcid_from_locale: LCID=0x0000
   418   20359 [main] ls 24012 isatty: 0 = isatty(1)
    37   20396 [main] ls 24012 ioctl: ioctl(fd 1, cmd 0x5401)
    32   20428 [main] ls 24012 __set_errno: virtual int 
fhandler_base::ioctl(unsigned int, void*):1251 setting errno 22
    29   20457 [main] ls 24012 fhandler_base::ioctl: -1 = ioctl(5401, 
0x28AC18)
    29   20486 [main] ls 24012 ioctl: -1 = ioctl(1, 0x5401, ...), errno 22
   154   20640 [main] ls 24012 normalize_posix_path: src .
    31   20671 [main] ls 24012 cwdstuff::get: posix /tmp
    31   20702 [main] ls 24012 cwdstuff::get: (/tmp) = cwdstuff::get 
(0x80000008, 32768, 1, 0), errno 0
    31   20733 [main] ls 24012 normalize_posix_path: /tmp/ = 
normalize_posix_path (.)
    30   20763 [main] ls 24012 mount_info::conv_to_win32_path: 
conv_to_win32_path (/tmp)
    32   20795 [main] ls 24012 set_flags: flags: binary (0x2)
    30   20825 [main] ls 24012 mount_info::conv_to_win32_path: src_path 
/tmp, dst C:\cygwin\tmp, flags 0x3000A, rc 0
   668   21493 [main] ls 24012 symlink_info::check: 0x0 = NtCreateFile 
(\??\C:\cygwin\tmp)
    49   21542 [main] ls 24012 symlink_info::check: not a symlink
    48   21590 [main] ls 24012 symlink_info::check: 0 = 
symlink.check(C:\cygwin\tmp, 0x289670) (0x3000A)
    26   21616 [main] ls 24012 path_conv::check: 
this->path(C:\cygwin\tmp), has_acls(1)
    27   21643 [main] ls 24012 build_fh_pc: fh 0x612743A8, dev 0xC3
   285   21928 [main] ls 24012 fhandler_base::set_close_on_exec: set 
close_on_exec for /tmp to 1
    31   21959 [main] ls 24012 fhandler_disk_file::opendir: 0x80054228 = 
opendir (/tmp)
    69   22028 [main] ls 24012 fhandler_disk_file::readdir: 0 = 
readdir(0x80054228, 0x28A7FC) (L"." > ".") (attr 0x10 > type 4)
    33   22061 [main] ls 24012 normalize_posix_path: src /tmp/..
    23   22084 [main] ls 24012 normalize_posix_path: / = 
normalize_posix_path (/tmp/..)
    21   22105 [main] ls 24012 mount_info::conv_to_win32_path: 
conv_to_win32_path (/)
    23   22128 [main] ls 24012 set_flags: flags: binary (0x2)
    21   22149 [main] ls 24012 mount_info::conv_to_win32_path: src_path 
/, dst C:\cygwin, flags 0x3000A, rc 0
   262   22411 [main] ls 24012 symlink_info::check: 0x0 = NtCreateFile 
(\??\C:\cygwin)
    85   22496 [main] ls 24012 mount_info::conv_to_posix_path: 
conv_to_posix_path (c:\users\avk\skydrive\0\cygwin, no-keep-rel, 
no-add-slash)
    36   22532 [main] ls 24012 normalize_win32_path: 
C:\users\avk\skydrive\0\cygwin = normalize_win32_path 
(c:\users\avk\skydrive\0\cygwin)
    30   22562 [main] ls 24012 mount_info::conv_to_posix_path: 
/cygdrive/c/users/avk/skydrive/0/cygwin = conv_to_posix_path 
(c:\users\avk\skydrive\0\cygwin)
    32   22594 [main] ls 24012 symlink_info::check: 39 = 
symlink.check(C:\cygwin, 0x289380) (0x443000B)
    32   22626 [main] ls 24012 path_conv::check: this->path(C:\cygwin), 
has_acls(1)
    97   22723 [main] ls 24012 fhandler_disk_file::readdir: 0 = 
readdir(0x80054228, 0x28A7FC) (L".." > "..") (attr 0x10 > type 4)
    37   22760 [main] ls 24012 fhandler_disk_file::readdir: 0 = 
readdir(0x80054228, 0x28A7FC) (L".X11-unix" > ".X11-unix") (attr 0x10 > 
type 4)
    30   22790 [main] ls 24012 fhandler_disk_file::readdir: 0 = 
readdir(0x80054228, 0x28A7FC) (L"hsperfdata_avk" > "hsperfdata_avk") 
(attr 0x10 > type 4)
    58   22848 [main] ls 24012 fhandler_disk_file::readdir: 0 = 
readdir(0x80054228, 0x28A7FC) (L"log.txt" > "log.txt") (attr 0x20 > type 8)
    59   22907 [main] ls 24012 geterrno_from_win_error: windows error 18 
== errno 89
    42   22949 [main] ls 24012 fhandler_disk_file::readdir: 89 = 
readdir(0x80054228, 0x28A7FC) (L"(null)" > "***") (attr 0x0 > type 0)
    51   23000 [main] ls 24012 fhandler_disk_file::closedir: 0 = 
closedir(0x80054228, /tmp)
    41   23041 [main] ls 24012 close: close(3)
    33   23074 [main] ls 24012 fhandler_base::close: closing '/tmp' 
handle 0xFC
    49   23123 [main] ls 24012 close: 0 = close(3)
    76   23199 [main] ls 24012 closedir: 0 = closedir(0x0)
    93   23292 [main] ls 24012 _cygwin_istext_for_stdio: fd 0: opened as 
binary
    26   23318 [main] ls 24012 _cygwin_istext_for_stdio: fd 1: opened as 
binary
    24   23342 [main] ls 24012 _cygwin_istext_for_stdio: fd 2: opened as 
binary
   207   23549 [main] ls 24012 cygpsid::debug_print: get_sids_info: 
owner SID = S-1-5-21-96414999-1499730031-444732941-29377
    27   23576 [main] ls 24012 cygpsid::debug_print: get_sids_info: 
group SID = S-1-5-32-545
    25   23601 [main] ls 24012 get_info_from_sd: ACL 1A0, uid 39377, gid 
10545
    44   23645 [main] ls 24012 fhandler_base::fstat_helper: 0 = fstat 
(\??\C:\Users\avk\SkyDrive\0\cygwin\tmp\log.txt, 0x28A1D0) 
st_size=21020, st_mode=0x81A0, 
st_ino=7881299348355873st_atim=5068AEAD.2DB8DA30 
st_ctim=5068AEAD.2DB8DA30 st_mtim=5068AEAD.2DB8DA30 
st_birthtim=5068AEAD.2DB8DA30
    28   23673 [main] ls 24012 fstat64: 0 = fstat(1, 0x28A1D0)
hsperfdata_avk
log.txt
   461   24134 [main] ls 24012 write: 23 = write(1, 0x800639B8, 23)
    90   24224 [main] ls 24012 close: close(1)
    25   24249 [main] ls 24012 fhandler_base::close: closing 
'/cygdrive/c/Users/avk/SkyDrive/0/cygwin/tmp/log.txt' handle 0x3F0
    26   24275 [main] ls 24012 close: 0 = close(1)
   430   24705 [main] ls 24012 close: close(2)
    26   24731 [main] ls 24012 fhandler_pty_slave::cleanup: /dev/pty0 
closed, usecount 3
    25   24756 [main] ls 24012 fhandler_base::close_with_arch: line 
1120:  /dev/pty0<0x61273C00> usecount + -1 = 2
    24   24780 [main] ls 24012 fhandler_base::close_with_arch: not 
closing archetype
    23   24803 [main] ls 24012 close: 0 = close(2)
   464   25267 [main] ls 24012 close: close(0)
    27   25294 [main] ls 24012 fhandler_pty_slave::cleanup: /dev/pty0 
closed, usecount 2
    24   25318 [main] ls 24012 fhandler_base::close_with_arch: line 
1120:  /dev/pty0<0x61273C00> usecount + -1 = 1
    24   25342 [main] ls 24012 fhandler_base::close_with_arch: not 
closing archetype
    23   25365 [main] ls 24012 close: 0 = close(0)
   166   25531 [main] ls 24012 do_exit: do_exit (0), exit_state 1
    25   25556 [main] ls 24012 void: 0x0 = signal (20, 0x1)
    23   25579 [main] ls 24012 void: 0x0 = signal (1, 0x1)
    25   25604 [main] ls 24012 void: 0x0 = signal (2, 0x1)
    23   25627 [main] ls 24012 void: 0x0 = signal (3, 0x1)
    25   25652 [main] ls 24012 init_cygheap::close_ctty: closing 
cygheap->ctty 0x61273C00
    23   25675 [main] ls 24012 fhandler_base::close_with_arch: closing 
passed in archetype, usecount 0
    23   25698 [main] ls 24012 fhandler_pty_slave::close: closing last 
open /dev/pty0 handle
    73   25771 [main] ls 24012 fhandler_console::free_console: freed 
console, res 1
    35   25806 [main] ls 24012 fhandler_pty_common::close: pty0 
<0xD8,0xE0> closing
    30   25836 [main] ls 24012 getpid: 24012 = getpid()
    38   25874 [main] ls 24012 sigproc_terminate: entering
    21   25895 [main] ls 24012 sig_send: sendsig 0x9C, pid 24012, signal 
-42, its_me 1
    26   25921 [main] ls 24012 sig_send: Not waiting for sigcomplete.  
its_me 1 signal -42
    21   25942 [main] ls 24012 sig_send: returning 0x0 from sending 
signal -42
   -16   25926 [sig] ls 24012 wait_sig: saw __SIGEXIT
    36   25962 [main] ls 24012 proc_terminate: nprocs 0
    39   26001 [main] ls 24012 proc_terminate: leaving
     3   26004 [sig] ls 24012 wait_sig: signal thread exiting
    44   26048 [main] ls 24012 __to_clock_t: dwHighDateTime 0, 
dwLowDateTime 312002
    22   26070 [main] ls 24012 __to_clock_t: total 00000000 0000001F
    36   26106 [main] ls 24012 __to_clock_t: dwHighDateTime 0, 
dwLowDateTime 0
    28   26134 [main] ls 24012 __to_clock_t: total 00000000 00000000
    27   26161 [main] ls 24012 pinfo::exit: Calling ExitProcess n 0x0, 
exitcode 0x0


--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-09-30 20:52 bash very slow in cygwin 1.7.16-1 Win7/64 bit Adam Rosi-Kessel
@ 2012-10-01 13:34 ` jojelino
  2012-10-01 15:22   ` Adam Kessel
  2012-10-01 15:49 ` Adam Kessel
  1 sibling, 1 reply; 25+ messages in thread
From: jojelino @ 2012-10-01 13:34 UTC (permalink / raw)
  To: cygwin

On 2012-10-01 AM 5:43, Adam Rosi-Kessel wrote:
>     22   10401 [main] ls 24012 cygheap_user::ontherange: Set HOME (from
> /etc/passwd) to /cygdrive/c/0/cygwin_home
>    100   10501 [main] ls 24012 normalize_posix_path: src
> /cygdrive/c/0/cygwin_home
>     40   10541 [main] ls 24012 normalize_posix_path:
> /cygdrive/c/0/cygwin_home = normalize_posix_path
> (/cygdrive/c/0/cygwin_home)
>     31   10572 [main] ls 24012 mount_info::conv_to_win32_path:
> conv_to_win32_path (/cygdrive/c/0/cygwin_home)
>     42   10614 [main] ls 24012 mount_info::cygdrive_win32_path: src
> '/cygdrive/c/0/cygwin_home', dst 'C:\0\cygwin_home'
>     38   10652 [main] ls 24012 set_flags: flags: binary (0x2)
>     36   10688 [main] ls 24012 mount_info::conv_to_win32_path: src_path
> /cygdrive/c/0/cygwin_home, dst C:\0\cygwin_home, flags 0x4022, rc 0
>    303   10991 [main] ls 24012 symlink_info::check: 0x0 = NtCreateFile
> (\??\C:\0\cygwin_home)
>     87   11078 [main] ls 24012 mount_info::conv_to_posix_path:
> conv_to_posix_path (c:\users\avk\SkyDrive\0\cygwin_home, no-keep-rel,
> no-add-slash)
>     48   11126 [main] ls 24012 normalize_win32_path:
> C:\users\avk\SkyDrive\0\cygwin_home = normalize_win32_path
> (c:\users\avk\SkyDrive\0\cygwin_home)
>     24   11150 [main] ls 24012 mount_info::conv_to_posix_path:
> /cygdrive/c/users/avk/SkyDrive/0/cygwin_home = conv_to_posix_path
> (c:\users\avk\SkyDrive\0\cygwin_home)
>     51   11201 [main] ls 24012 symlink_info::check: 44 =
> symlink.check(C:\0\cygwin_home, 0x2890F8) (0x4804023)
>     35   11236 [main] ls 24012 path_conv::check:
> this->path(C:\0\cygwin_home), has_acls(1)
>     64   11300 [main] ls 24012 win_env::add_cache: posix
> /cygdrive/c/0/cygwin_home
>     27   11327 [main] ls 24012 win_env::add_cache: native
> HOME=C:\0\cygwin_home
>     46   11373 [main] ls 24012 normalize_posix_path: src
> /cygdrive/c/0/cygwin_home
>     24   11397 [main] ls 24012 normalize_posix_path:
> /cygdrive/c/0/cygwin_home = normalize_posix_path
> (/cygdrive/c/0/cygwin_home)
>     25   11422 [main] ls 24012 mount_info::conv_to_win32_path:
> conv_to_win32_path (/cygdrive/c/0/cygwin_home)
>     25   11447 [main] ls 24012 mount_info::cygdrive_win32_path: src
> '/cygdrive/c/0/cygwin_home', dst 'C:\0\cygwin_home'
>     25   11472 [main] ls 24012 set_flags: flags: binary (0x2)
>     24   11496 [main] ls 24012 mount_info::conv_to_win32_path: src_path
> /cygdrive/c/0/cygwin_home, dst C:\0\cygwin_home, flags 0x4022, rc 0
>    281   11777 [main] ls 24012 symlink_info::check: 0x0 = NtCreateFile
> (\??\C:\0\cygwin_home)
>     86   11863 [main] ls 24012 mount_info::conv_to_posix_path:
> conv_to_posix_path (c:\users\avk\SkyDrive\0\cygwin_home, no-keep-rel,
> no-add-slash)
>     37   11900 [main] ls 24012 normalize_win32_path:
> C:\users\avk\SkyDrive\0\cygwin_home = normalize_win32_path
> (c:\users\avk\SkyDrive\0\cygwin_home)
if the SkyDrive is trademark of M$ and if it needs network connection to 
remote server, it would piss you off like you have been experienced.
If it is the case, please stop using *Skydrive* mounted directory as 
home directory for specific user of cygwin unless your network 
connection is faster than your hard drive and it isn't that fast for 
sure according to your complaint.

-- 
Regards.


--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 13:34 ` jojelino
@ 2012-10-01 15:22   ` Adam Kessel
  2012-10-01 16:01     ` Gregory M. Turner
  2012-10-01 16:45     ` Robert Pendell
  0 siblings, 2 replies; 25+ messages in thread
From: Adam Kessel @ 2012-10-01 15:22 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 9:33 AM, jojelino <jojelino@gmail.com> wrote:
> if the SkyDrive is trademark of M$ and if it needs network connection to remote server, it would piss you off like you have been experienced.
> If it is the case, please stop using *Skydrive* mounted directory as home directory for specific user of cygwin unless your network connection
> is faster than your hard drive and it isn't that fast for sure according to your complaint.

SkyDrive is not a network-mounted directory. Instead, it is a local
directory that is periodically synced to the cloud. But you can have
no network access at all and it works fine. Indeed, when running
cygwin offline (no network) I get the same result. Also, if I change
my home directory to something that is not synced to the cloud (e.g.
just c:\) I get the same slowness.

I have been keeping my home directory in SkyDrive for a while so I
have the same home directory across multiple devices. The slowness is
only recent, long after I started using SkyDrive.

Adam

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-09-30 20:52 bash very slow in cygwin 1.7.16-1 Win7/64 bit Adam Rosi-Kessel
  2012-10-01 13:34 ` jojelino
@ 2012-10-01 15:49 ` Adam Kessel
  2012-10-01 16:01   ` Earnie Boyd
  1 sibling, 1 reply; 25+ messages in thread
From: Adam Kessel @ 2012-10-01 15:49 UTC (permalink / raw)
  To: cygwin

On Sun, Sep 30, 2012 at 4:43 PM, Adam Rosi-Kessel <adam@rosi-kessel.org> wrote:
> Cygwin used to run very quickly for me; now it doesn't. Not sure when it
> stopped -- last few weeks.

Another data point: I just did a completely fresh (i.e. from scratch)
local drive bare-bones installation (just shell, coreutils, etc) into
a new directory. Exact same slowness.

Adam

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 15:49 ` Adam Kessel
@ 2012-10-01 16:01   ` Earnie Boyd
  2012-10-01 16:13     ` Adam Kessel
  0 siblings, 1 reply; 25+ messages in thread
From: Earnie Boyd @ 2012-10-01 16:01 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 11:49 AM, Adam Kessel wrote:
> On Sun, Sep 30, 2012 at 4:43 PM, Adam Rosi-Kessel <adam@rosi-kessel.org> wrote:
>> Cygwin used to run very quickly for me; now it doesn't. Not sure when it
>> stopped -- last few weeks.
>
> Another data point: I just did a completely fresh (i.e. from scratch)
> local drive bare-bones installation (just shell, coreutils, etc) into
> a new directory. Exact same slowness.

You've not excluded any other changes in your environment.  What
network mapped devices do you have?  Are they still available.  If not
the system will wait for the network timeout to occur before moving to
the next device.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 15:22   ` Adam Kessel
@ 2012-10-01 16:01     ` Gregory M. Turner
  2012-10-01 16:16       ` Adam Kessel
  2012-10-01 16:45     ` Robert Pendell
  1 sibling, 1 reply; 25+ messages in thread
From: Gregory M. Turner @ 2012-10-01 16:01 UTC (permalink / raw)
  To: cygwin; +Cc: Adam Kessel

On 10/1/2012 8:22 AM, Adam Kessel wrote:
> On Mon, Oct 1, 2012 at 9:33 AM, jojelino <jojelino@gmail.com> wrote:
>> if the SkyDrive is trademark of M$ and if it needs network connection to remote server, it would piss you off like you have been experienced.
>> If it is the case, please stop using *Skydrive* mounted directory as home directory for specific user of cygwin unless your network connection
>> is faster than your hard drive and it isn't that fast for sure according to your complaint.
>
> SkyDrive is not a network-mounted directory. Instead, it is a local
> directory that is periodically synced to the cloud. But you can have
> no network access at all and it works fine. Indeed, when running
> cygwin offline (no network) I get the same result. Also, if I change
> my home directory to something that is not synced to the cloud (e.g.
> just c:\) I get the same slowness.
>
> I have been keeping my home directory in SkyDrive for a while so I
> have the same home directory across multiple devices. The slowness is
> only recent, long after I started using SkyDrive.

Did you at least try chainging your ${HOME} to somewhere normal and 
seeing what happens?  Perhaps SkyDrive has some feature that makes 
Cygwin crazy.  For example, your cygwin could have inotify listeners on 
${HOME} which could be somehow accidentally triggering SkyDrive's 
"refresh the pretty icons" mechanism which could be tickling the inotify 
listeners which could be somehow accidentally triggering SkyDrive's 
"refresh the pretty icons" mechanism which could be tickling the inotify 
listeners which could be somehow accidentally triggering SkyDrive's 
"refresh the pretty icons" mechanism which could be tickling the inotify 
listeners which could be somehow accidentally triggering SkyDrive's 
"refresh the pretty icons" mechanism which could be tickling the inotify 
listeners...

-gmt

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 16:01   ` Earnie Boyd
@ 2012-10-01 16:13     ` Adam Kessel
  0 siblings, 0 replies; 25+ messages in thread
From: Adam Kessel @ 2012-10-01 16:13 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 12:01 PM, Earnie Boyd
<earnie@users.sourceforge.net> wrote:
> You've not excluded any other changes in your environment.  What
> network mapped devices do you have?  Are they still available.  If not
> the system will wait for the network timeout to occur before moving to
> the next device.

Same slowness when I disconnect all network drives; disconnect the
network; unset all environmental variables except PATH which I set to
/usr/bin and HOME which I set to /.

Thus, when I go to Explorer (in Windows) I see only local drives.

Also, nothing has changed in the network environment in the past year or so.

Adam

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 16:01     ` Gregory M. Turner
@ 2012-10-01 16:16       ` Adam Kessel
  2012-10-01 16:39         ` Ken Brown
       [not found]         ` <7F1E78CD5E86784B8C9B58D362157C94059A7067@34093-C10-EVS1.exchange.rackspace.com>
  0 siblings, 2 replies; 25+ messages in thread
From: Adam Kessel @ 2012-10-01 16:16 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 12:01 PM, Gregory M. Turner <gmt@malth.us> wrote:
> Did you at least try chainging your ${HOME} to somewhere normal and seeing
> what happens?  Perhaps SkyDrive has some feature that makes Cygwin crazy.
> For example, your cygwin could have inotify listeners on ${HOME} which could

Yeah, I tried setting ${HOME} to /cygdrive/c and "c:\" and even just
"/" with no change in results.

Adam

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 16:16       ` Adam Kessel
@ 2012-10-01 16:39         ` Ken Brown
  2012-10-01 16:55           ` Adam Kessel
  2012-10-01 18:36           ` Gregory M. Turner
       [not found]         ` <7F1E78CD5E86784B8C9B58D362157C94059A7067@34093-C10-EVS1.exchange.rackspace.com>
  1 sibling, 2 replies; 25+ messages in thread
From: Ken Brown @ 2012-10-01 16:39 UTC (permalink / raw)
  To: cygwin

On 10/1/2012 12:16 PM, Adam Kessel wrote:
> On Mon, Oct 1, 2012 at 12:01 PM, Gregory M. Turner <gmt@malth.us> wrote:
>> Did you at least try chainging your ${HOME} to somewhere normal and seeing
>> what happens?  Perhaps SkyDrive has some feature that makes Cygwin crazy.
>> For example, your cygwin could have inotify listeners on ${HOME} which could
>
> Yeah, I tried setting ${HOME} to /cygdrive/c and "c:\" and even just
> "/" with no change in results.

I don't know if this has anything to do with your problem, but I 
wouldn't call any of these settings of $HOME "normal".  I think most 
people leave $HOME unset, in which case it gets set to /home/username 
during a Cygwin session.

Ken

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 15:22   ` Adam Kessel
  2012-10-01 16:01     ` Gregory M. Turner
@ 2012-10-01 16:45     ` Robert Pendell
  1 sibling, 0 replies; 25+ messages in thread
From: Robert Pendell @ 2012-10-01 16:45 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 11:22 AM, Adam Kessel wrote:
>
> On Mon, Oct 1, 2012 at 9:33 AM, jojelino wrote:
> > if the SkyDrive is trademark of M$ and if it needs network connection to
> > remote server, it would piss you off like you have been experienced.
> > If it is the case, please stop using *Skydrive* mounted directory as
> > home directory for specific user of cygwin unless your network connection
> > is faster than your hard drive and it isn't that fast for sure according
> > to your complaint.
>
> SkyDrive is not a network-mounted directory. Instead, it is a local
> directory that is periodically synced to the cloud. But you can have
> no network access at all and it works fine. Indeed, when running
> cygwin offline (no network) I get the same result. Also, if I change
> my home directory to something that is not synced to the cloud (e.g.
> just c:\) I get the same slowness.
>
> I have been keeping my home directory in SkyDrive for a while so I
> have the same home directory across multiple devices. The slowness is
> only recent, long after I started using SkyDrive.
>
> Adam
>

Did you look into the possible BLODA?  What security software are you
running on the computer?

http://cygwin.com/faq/faq.using.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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
       [not found]         ` <7F1E78CD5E86784B8C9B58D362157C94059A7067@34093-C10-EVS1.exchange.rackspace.com>
@ 2012-10-01 16:54           ` Adam Kessel
  0 siblings, 0 replies; 25+ messages in thread
From: Adam Kessel @ 2012-10-01 16:54 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 12:44 PM, Bill Ross <bill.ross@xoom.com> wrote:
> Just in case: do you have bash completions turned on? If so, try turning
> them off. Probably a different issue, but it's the other case of bash
> slowness that's come up in the last year or so.

Yes, I uninstalled the completion package entirely. (also scrubbed it
from .bashrc etc)

Adam

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 16:39         ` Ken Brown
@ 2012-10-01 16:55           ` Adam Kessel
  2012-10-01 17:27             ` Ken Brown
  2012-10-01 17:32             ` Achim Gratz
  2012-10-01 18:36           ` Gregory M. Turner
  1 sibling, 2 replies; 25+ messages in thread
From: Adam Kessel @ 2012-10-01 16:55 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 12:39 PM, Ken Brown <kbrown@cornell.edu> wrote:
>>> Did you at least try chainging your ${HOME} to somewhere normal and
>>> seeing
>>> what happens?  Perhaps SkyDrive has some feature that makes Cygwin crazy.
>>> For example, your cygwin could have inotify listeners on ${HOME} which
>>> could
>> Yeah, I tried setting ${HOME} to /cygdrive/c and "c:\" and even just
>> "/" with no change in results.
> I don't know if this has anything to do with your problem, but I wouldn't
> call any of these settings of $HOME "normal".  I think most people leave
> $HOME unset, in which case it gets set to /home/username during a Cygwin
> session.

At least in my experience, standard cygwin install doesn't create
anything under /home. But, yes, I've also unset $HOME. No difference.

I also tried a brand new install into a new directory with default
settings, both of 1.7 and legacy 1.5. Still no difference (1.5 is
actually even slower).

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 16:55           ` Adam Kessel
@ 2012-10-01 17:27             ` Ken Brown
  2012-10-01 17:32               ` Adam Kessel
  2012-10-01 17:32             ` Achim Gratz
  1 sibling, 1 reply; 25+ messages in thread
From: Ken Brown @ 2012-10-01 17:27 UTC (permalink / raw)
  To: cygwin

On 10/1/2012 12:55 PM, Adam Kessel wrote:
> On Mon, Oct 1, 2012 at 12:39 PM, Ken Brown <kbrown@cornell.edu> wrote:
>>>> Did you at least try chainging your ${HOME} to somewhere normal and
>>>> seeing
>>>> what happens?  Perhaps SkyDrive has some feature that makes Cygwin crazy.
>>>> For example, your cygwin could have inotify listeners on ${HOME} which
>>>> could
>>> Yeah, I tried setting ${HOME} to /cygdrive/c and "c:\" and even just
>>> "/" with no change in results.
>> I don't know if this has anything to do with your problem, but I wouldn't
>> call any of these settings of $HOME "normal".  I think most people leave
>> $HOME unset, in which case it gets set to /home/username during a Cygwin
>> session.
>
> At least in my experience, standard cygwin install doesn't create
> anything under /home.

In a standard Cygwin install, the script 
/etc/postinstall/000-cygwin-post-install.sh runs 'mkpasswd -l -c > 
/etc/passwd', which sets the home directory for each user.  Normally 
this is /home/username, but you can check it by looking at /etc/passwd. 
  Then the first time you start a shell, /etc/profile creates the home 
directory (as specified in /etc/passwd) if it doesn't exist.  This 
assumes that HOME is not set in the Windows environment.  Are you seeing 
something different?

Ken

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 17:27             ` Ken Brown
@ 2012-10-01 17:32               ` Adam Kessel
  2012-10-01 17:33                 ` Adam Kessel
  2012-10-01 17:50                 ` Ken Brown
  0 siblings, 2 replies; 25+ messages in thread
From: Adam Kessel @ 2012-10-01 17:32 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 1:27 PM, Ken Brown <kbrown@cornell.edu> wrote:
> In a standard Cygwin install, the script
> /etc/postinstall/000-cygwin-post-install.sh runs 'mkpasswd -l -c >
> /etc/passwd', which sets the home directory for each user.  Normally this is
> /home/username, but you can check it by looking at /etc/passwd.  Then the
> first time you start a shell, /etc/profile creates the home directory (as
> specified in /etc/passwd) if it doesn't exist.  This assumes that HOME is
> not set in the Windows environment.  Are you seeing something different?

Yes. I just installed from scratch -- download setup.exe and specify a
new directory for install; then installed only bash and its
prerequisites. When I run the default cygwin.bat in the new directory,
I get:

bash-4.1$ pwd
/usr/bin
bash-4.1$ echo $HOME
/home/avk
bash-4.1$ cd
bash: cd: /home/avk: No such file or directory

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 16:55           ` Adam Kessel
  2012-10-01 17:27             ` Ken Brown
@ 2012-10-01 17:32             ` Achim Gratz
  1 sibling, 0 replies; 25+ messages in thread
From: Achim Gratz @ 2012-10-01 17:32 UTC (permalink / raw)
  To: cygwin

Adam Kessel writes:
> I also tried a brand new install into a new directory with default
> settings, both of 1.7 and legacy 1.5. Still no difference (1.5 is
> actually even slower).

I've had a similar problem about a year ago.  The symptom was that each
command from Cygwin would make lsass.exe max out one CPU for about one
or two seconds; during this time nothing else would happen as far as
Cygwin was concerned.  I never found out what was really responsible (I
suspect a botched group policy), but you might want to check this in
process explorer.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables


--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 17:32               ` Adam Kessel
@ 2012-10-01 17:33                 ` Adam Kessel
  2012-10-01 17:50                 ` Ken Brown
  1 sibling, 0 replies; 25+ messages in thread
From: Adam Kessel @ 2012-10-01 17:33 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 1:32 PM, Adam Kessel <ajkessel@gmail.com> wrote:
>> specified in /etc/passwd) if it doesn't exist.  This assumes that HOME is
>> not set in the Windows environment.  Are you seeing something different?
>
> Yes. I just installed from scratch -- download setup.exe and specify a
> new directory for install; then installed only bash and its
> prerequisites. When I run the default cygwin.bat in the new directory,
> I get:
>
> bash-4.1$ pwd
> /usr/bin
> bash-4.1$ echo $HOME
> /home/avk
> bash-4.1$ cd
> bash: cd: /home/avk: No such file or directory

And in any event, if I then mkdir /home/avk, even in my fresh install,
cygwin is still extremely slow.

Adam

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 17:32               ` Adam Kessel
  2012-10-01 17:33                 ` Adam Kessel
@ 2012-10-01 17:50                 ` Ken Brown
  2012-10-01 22:05                   ` Adam Kessel
  1 sibling, 1 reply; 25+ messages in thread
From: Ken Brown @ 2012-10-01 17:50 UTC (permalink / raw)
  To: cygwin

On 10/1/2012 1:32 PM, Adam Kessel wrote:
> On Mon, Oct 1, 2012 at 1:27 PM, Ken Brown <kbrown@cornell.edu> wrote:
>> In a standard Cygwin install, the script
>> /etc/postinstall/000-cygwin-post-install.sh runs 'mkpasswd -l -c >
>> /etc/passwd', which sets the home directory for each user.  Normally this is
>> /home/username, but you can check it by looking at /etc/passwd.  Then the
>> first time you start a shell, /etc/profile creates the home directory (as
>> specified in /etc/passwd) if it doesn't exist.  This assumes that HOME is
>> not set in the Windows environment.  Are you seeing something different?
>
> Yes. I just installed from scratch -- download setup.exe and specify a
> new directory for install; then installed only bash and its
> prerequisites. When I run the default cygwin.bat in the new directory,
> I get:
>
> bash-4.1$ pwd
> /usr/bin
> bash-4.1$ echo $HOME
> /home/avk
> bash-4.1$ cd
> bash: cd: /home/avk: No such file or directory

So it appears that /etc/profile is not being run, since it would give 
you the message "/home/avk could not be created" if it tried and failed 
to create /home/avk.  Also, it would set PS1, giving you a different 
prompt than the one above.  I don't know what might cause /etc/profile 
to fail to run.

BTW, cygwin.bat is no longer the recommended way to start a Cygwin 
shell.  If you ask setup.exe to create a shortcut, it will create one 
that starts mintty.  But I doubt if this is related to your problem.

Two people in this thread have suggested that you check for BLODA, but 
you haven't responded to that.  Also, you haven't yet attached cygcheck 
output as requested at

   http://cygwin.com/problems.html

Ken

Ken


--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 16:39         ` Ken Brown
  2012-10-01 16:55           ` Adam Kessel
@ 2012-10-01 18:36           ` Gregory M. Turner
  1 sibling, 0 replies; 25+ messages in thread
From: Gregory M. Turner @ 2012-10-01 18:36 UTC (permalink / raw)
  To: cygwin; +Cc: Ken Brown

On 10/1/2012 9:39 AM, Ken Brown wrote:
> On 10/1/2012 12:16 PM, Adam Kessel wrote:
>> On Mon, Oct 1, 2012 at 12:01 PM, Gregory M. Turner <gmt@malth.us> wrote:
>>> Did you at least try chainging your ${HOME} to somewhere normal and
>>> seeing
>>> what happens?  Perhaps SkyDrive has some feature that makes Cygwin
>>> crazy.
>>> For example, your cygwin could have inotify listeners on ${HOME}
>>> which could
>>
>> Yeah, I tried setting ${HOME} to /cygdrive/c and "c:\" and even just
>> "/" with no change in results.
>
> I don't know if this has anything to do with your problem, but I
> wouldn't call any of these settings of $HOME "normal".  I think most
> people leave $HOME unset, in which case it gets set to /home/username
> during a Cygwin session.

NT Domain victims often have %HOME% set by administrative policy -- if 
it isn't set with an explicit policy/setting then I believe Cygwin will 
use %USERPROFILE%, which is pretty ghastly ... but surely this has been 
the subject of several bitter flame wars already and was determined to 
be the most reasonable compromise available for whatever reason...

Plus, I can just change the source and recompile if I don't like it :) 
And it's off topic :)

Speaking of which.  Adam, I know you have tried to rule this out, but I 
can't help but continue to suspect your LiveSkyThingy... do me a favor, 
just to shut me up, will you?

Step one, make backups.   I mean it!

Now, using Windows Exploder (maybe don't use Cygwin), please create a 
C:\Harmless, folder, if possible with Everyone->Full Control access 
rights and preferably owned by you (do this by unchecking "Use Sharing 
Wizard" in Explorer's options dialog under the View tab and using the 
classic NT4 dialogs).

iow: make sure there is nothing spooky about that folder.

In wordpad.exe, edit your cygwin's /etc/passwd to contain 
/cygdrive/c/Harmless as your home directory instead of /c/LiveThingy... 
make a note of the old setting.

Go into your profile settings (Right Click "My Computer" -> Manage; then 
drill down in the tree-view to Computer Management->System Tools->Local 
Users and Groups->Users.

In the right hand side you will see the various accounts on your system 
-- go to yours, open it up, go to the "Profile" tab.  Make a note of the 
current settings (maybe take a screen shot).

Now: are you the only administrator account on the system?  If so, add 
another one (he needs to be an administrator with a password).  Now, log 
out -- that's done with the button labelled "Log Out" in your Start menu 
-- and log in as that Administrator account (this doesn't have to be 
"the" Administrator account and, indeed, probably shouldn't be) and 
repeat the above rigamarole to get back to the same "User Accounts" 
dialog.  Go to your account -- not the one you just created and logged 
in as, but the one you actually use in real life.   Double click 
yourself, so to speak, and open the "Profile" tab.

If your "Profile Path" is on C:\LiveSkyThingy, change it to C:\Harmless. 
  and set the Home folder radio button to "Local Path" and set that, 
also, to C:\Harmless.  This will create exactly the situation I was 
bitching about at the beginning of this post, which is fine for our 
present purposes.

Then, close the dialog box, (using "OK"), and right click your favorite 
"My Computer" icon again (actually I guess it's just 'Computer' these 
days).  Go to "Properties" -> "Advanced System Settings" (on the left) 
-> [the "Advanced" tab] -> press the Environment Variables button, and 
remove any HOME variable setting you see there, both global and per-user.

Finally, if your account is a Domain account, please please please 
change it to a Local one using this recipe:

http://support.microsoft.com/kb/312138

Otherwise, there is a very real risk of nuking your roaming profile!!

Now, Reboot.  Log in as yourself.  You will get a blank profile.  Don't 
panic, everything will come back once you reverse the above steps :)

If that doesn't get you a reasonable cygwin... well, then, almost 
certainly LiveSkyThingy is not the culprit.  Unfortunately, if it does 
fix the problem, you still can't say whether LiveSkyThingy is at fault 
because everything in your HKEY_USER registry is wiped clean by the above.

One note:

Carefully reverse all the above steps to get your profile back... if you 
are in a Domain environment... do it VERY carefully, again, so as not to 
blow up your roaming profile.

Other things you could check:

have you frobbed your LSA thingy lately? frob it.

rebased lately? rebase.

$ strace /bin/bash -l -c 'echo whee!' 2>&1 | sort -h > \
     /cygdrive/c/strace.log

stop every cygwin process but /bin/ash (no mintty, X, or services)... 
still slow?

reinstall cygwin in-place
"         "      from scratch

chkdsk

sfc /scanonce

buy a new computer and run linux on it

...etc

:)

gl!

-gmt


--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 17:50                 ` Ken Brown
@ 2012-10-01 22:05                   ` Adam Kessel
  2012-10-02  0:45                     ` Adam Kessel
  0 siblings, 1 reply; 25+ messages in thread
From: Adam Kessel @ 2012-10-01 22:05 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 1:50 PM, Ken Brown <kbrown@cornell.edu> wrote:
> Two people in this thread have suggested that you check for BLODA, but you
> haven't responded to that.  Also, you haven't yet attached cygcheck output
> as requested at

OK, now this is strange -- I thought I had checked BLODA (responded in
separate thread about ESET), but just now I killed a bunch of things
in my systray, and suddenly cygwin was fast again. Then I restarted
all of the tasks I had killed, and it's still fast. Will do some more
digging to see if I can even get it to be slow again -- but it has
been slow for a few weeks, throughout reboots.

Adam

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-01 22:05                   ` Adam Kessel
@ 2012-10-02  0:45                     ` Adam Kessel
  2012-10-02  1:59                       ` Adam Kessel
  0 siblings, 1 reply; 25+ messages in thread
From: Adam Kessel @ 2012-10-02  0:45 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 6:05 PM, Adam Kessel <ajkessel@gmail.com> wrote:
> OK, now this is strange -- I thought I had checked BLODA (responded in
> separate thread about ESET), but just now I killed a bunch of things
> in my systray, and suddenly cygwin was fast again. Then I restarted
> all of the tasks I had killed, and it's still fast. Will do some more
> digging to see if I can even get it to be slow again -- but it has
> been slow for a few weeks, throughout reboots.

So after a reboot--still fast. This is after a month or so of
slowness. But I didn't change anything about my configuration!

Adam

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-02  0:45                     ` Adam Kessel
@ 2012-10-02  1:59                       ` Adam Kessel
  2012-10-02  2:01                         ` Adam Kessel
  2012-10-02  3:19                         ` Andrew DeFaria
  0 siblings, 2 replies; 25+ messages in thread
From: Adam Kessel @ 2012-10-02  1:59 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 8:45 PM, Adam Kessel <ajkessel@gmail.com> wrote:
> So after a reboot--still fast. This is after a month or so of
> slowness. But I didn't change anything about my configuration!

Now I'm really confused.

cygwin was very slow -- then I killed Dropbox, and it sped back up.
But after a while it reverted to slow again (without Dropbox
restarting). I've repeated this behavior with a few other tasks--same
thing happened with Google Desktop and Skydrive. I'm not sure it
actually matters which task I kill -- but killing them will speed
things up for a bit and then it seems to revert to very slow again,
even if the tasks aren't restarted.

Can anyone offer a way to narrow/isolate the cause here? Is the above
behavior consistent with any hypothesis?

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-02  1:59                       ` Adam Kessel
@ 2012-10-02  2:01                         ` Adam Kessel
  2012-10-02 10:05                           ` Andrey Repin
  2012-10-02  3:19                         ` Andrew DeFaria
  1 sibling, 1 reply; 25+ messages in thread
From: Adam Kessel @ 2012-10-02  2:01 UTC (permalink / raw)
  To: cygwin

On Mon, Oct 1, 2012 at 9:59 PM, Adam Kessel <ajkessel@gmail.com> wrote:
> Now I'm really confused.
>
> cygwin was very slow -- then I killed Dropbox, and it sped back up.
> But after a while it reverted to slow again (without Dropbox
> restarting). I've repeated this behavior with a few other tasks--same
> thing happened with Google Desktop and Skydrive. I'm not sure it
> actually matters which task I kill -- but killing them will speed
> things up for a bit and then it seems to revert to very slow again,
> even if the tasks aren't restarted.
>
> Can anyone offer a way to narrow/isolate the cause here? Is the above
> behavior consistent with any hypothesis?

Was running very slowly; just closed Google Chrome and it got fast
again. Then re-opened Chrome and slow again. So it really doesn't seem
to matter what program it is.

Adam

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-02  1:59                       ` Adam Kessel
  2012-10-02  2:01                         ` Adam Kessel
@ 2012-10-02  3:19                         ` Andrew DeFaria
  1 sibling, 0 replies; 25+ messages in thread
From: Andrew DeFaria @ 2012-10-02  3:19 UTC (permalink / raw)
  To: cygwin

On 10/01/2012 06:59 PM, Adam Kessel wrote:
> On Mon, Oct 1, 2012 at 8:45 PM, Adam Kessel <ajkessel@gmail.com> wrote:
>> So after a reboot--still fast. This is after a month or so of
>> slowness. But I didn't change anything about my configuration!
> Now I'm really confused.
>
> cygwin was very slow -- then I killed Dropbox, and it sped back up.
> But after a while it reverted to slow again (without Dropbox
> restarting). I've repeated this behavior with a few other tasks--same
> thing happened with Google Desktop and Skydrive. I'm not sure it
> actually matters which task I kill -- but killing them will speed
> things up for a bit and then it seems to revert to very slow again,
> even if the tasks aren't restarted.
>
> Can anyone offer a way to narrow/isolate the cause here? Is the above
> behavior consistent with any hypothesis?
May I ask if you bothered to check Task Manager (or better yet Process 
Explorer) to see what's running and what's consuming resources? It seems 
like the natural step to the question of slowness. In general it's 
usually one or more of 1) CPU, 2) Disk activity 3) Memory exhaustion 
(common) or 4) Network slowness or excessive network access.
-- 
Andrew DeFaria <http://defaria.com>
I took an IQ test and the results were negative.


--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-02  2:01                         ` Adam Kessel
@ 2012-10-02 10:05                           ` Andrey Repin
  2012-10-04 16:28                             ` Adam Kessel
  0 siblings, 1 reply; 25+ messages in thread
From: Andrey Repin @ 2012-10-02 10:05 UTC (permalink / raw)
  To: Adam Kessel, cygwin

Greetings, Adam Kessel!

> On Mon, Oct 1, 2012 at 9:59 PM, Adam Kessel <ajkessel@gmail.com> wrote:
>> Now I'm really confused.
>>
>> cygwin was very slow -- then I killed Dropbox, and it sped back up.
>> But after a while it reverted to slow again (without Dropbox
>> restarting). I've repeated this behavior with a few other tasks--same
>> thing happened with Google Desktop and Skydrive. I'm not sure it
>> actually matters which task I kill -- but killing them will speed
>> things up for a bit and then it seems to revert to very slow again,
>> even if the tasks aren't restarted.
>>
>> Can anyone offer a way to narrow/isolate the cause here? Is the above
>> behavior consistent with any hypothesis?

> Was running very slowly; just closed Google Chrome and it got fast
> again. Then re-opened Chrome and slow again. So it really doesn't seem
> to matter what program it is.

This suggest that you're looking into wrong direction, and real culprit is
something you didn't caught yet.
Try HijackThis http://sourceforge.net/projects/hjt/ to see if there's any
suspicious handlers installed in your system.
Or you may send the logfile to me (off-list!) and I'll try to look for clues
myself.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 02.10.2012, <13:53>

Sorry for my terrible english...


--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit
  2012-10-02 10:05                           ` Andrey Repin
@ 2012-10-04 16:28                             ` Adam Kessel
  0 siblings, 0 replies; 25+ messages in thread
From: Adam Kessel @ 2012-10-04 16:28 UTC (permalink / raw)
  To: Andrey Repin

On Tue, Oct 2, 2012 at 6:04 AM, Andrey Repin <anrdaemon@freemail.ru> wrote:
> This suggest that you're looking into wrong direction, and real culprit is
> something you didn't caught yet.
> Try HijackThis http://sourceforge.net/projects/hjt/ to see if there's any
> suspicious handlers installed in your system.
> Or you may send the logfile to me (off-list!) and I'll try to look for clues
> myself.

I think I've found the culprit! "Browser Manager"

http://www.explosiveknowledge.net/main/2012/08/19/browsemngr/

This was a bear to get rid of, but I believe cygwin is back to full
performance now.

I'm usually very good at avoiding adware; somehow this one slipped
through the cracks.

Adam

--
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2012-10-04 16:28 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-30 20:52 bash very slow in cygwin 1.7.16-1 Win7/64 bit Adam Rosi-Kessel
2012-10-01 13:34 ` jojelino
2012-10-01 15:22   ` Adam Kessel
2012-10-01 16:01     ` Gregory M. Turner
2012-10-01 16:16       ` Adam Kessel
2012-10-01 16:39         ` Ken Brown
2012-10-01 16:55           ` Adam Kessel
2012-10-01 17:27             ` Ken Brown
2012-10-01 17:32               ` Adam Kessel
2012-10-01 17:33                 ` Adam Kessel
2012-10-01 17:50                 ` Ken Brown
2012-10-01 22:05                   ` Adam Kessel
2012-10-02  0:45                     ` Adam Kessel
2012-10-02  1:59                       ` Adam Kessel
2012-10-02  2:01                         ` Adam Kessel
2012-10-02 10:05                           ` Andrey Repin
2012-10-04 16:28                             ` Adam Kessel
2012-10-02  3:19                         ` Andrew DeFaria
2012-10-01 17:32             ` Achim Gratz
2012-10-01 18:36           ` Gregory M. Turner
     [not found]         ` <7F1E78CD5E86784B8C9B58D362157C94059A7067@34093-C10-EVS1.exchange.rackspace.com>
2012-10-01 16:54           ` Adam Kessel
2012-10-01 16:45     ` Robert Pendell
2012-10-01 15:49 ` Adam Kessel
2012-10-01 16:01   ` Earnie Boyd
2012-10-01 16:13     ` Adam Kessel

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).