Re: ls and completion very slow in root dir of a windows drive
Simon Brandner simon.bra at gmx.de writes: On Wed, 23 Jun 2010 11:29, Larry Hall wrote: ... $ cygcheck -s -v -r cygcheck.out cygcheck: dump_sysinfo: GetVolumeInformation() for drive J: failed: 5 cygcheck: dump_sysinfo: GetVolumeInformation() for drive Z: failed: 53 J: is some special drive, for software installations. I cannot access it. Z: is a network mount, the target pc was turned off ) ... I assume you've mounted your Z: drive or your J: drive to a directory in your root directory, i. e. /z, isn't it ? It's a good strategy to use a subdirectory like /net/ for those mount points where the hardware may be unreachable, thus it would read /net/z, to avoid performance problems with listing or completion in root directory. regards kf -- 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
Re: ls and completion very slow in root dir of a windows drive
On Wed, 23 Jun 2010 11:29, Larry Hall wrote: I don't believe we've seem your cygcheck output as requested by http://cygwin.com/problems.html. The cygcheck is attached now. Problem still exists. ( During running cygcheck there appeared 2 error messages: $ cygcheck -s -v -r cygcheck.out cygcheck: dump_sysinfo: GetVolumeInformation() for drive J: failed: 5 cygcheck: dump_sysinfo: GetVolumeInformation() for drive Z: failed: 53 J: is some special drive, for software installations. I cannot access it. Z: is a network mount, the target pc was turned off ) Regards, Simon -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 cygcheck.out Description: Binary data -- 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
Re: ls and completion very slow in root dir of a windows drive
On 6/24/2010 4:18 AM, Simon Brandner wrote: On Wed, 23 Jun 2010 11:29, Larry Hall wrote: I don't believe we've seem your cygcheck output as requested by http://cygwin.com/problems.html. The cygcheck is attached now. Problem still exists. ( During running cygcheck there appeared 2 error messages: $ cygcheck -s -v -r cygcheck.out cygcheck: dump_sysinfo: GetVolumeInformation() for drive J: failed: 5 cygcheck: dump_sysinfo: GetVolumeInformation() for drive Z: failed: 53 J: is some special drive, for software installations. I cannot access it. Z: is a network mount, the target pc was turned off ) Thanks. A quick look turned up this: o Your '/etc/passwd' (and probably '/etc/group') need to be regenerated. My guess is that '/etc/postinstall/passwd-grp.sh' didn't run (or run properly). You should try re-running it. This is probably not the source of the problem but it's something you should look into anyway. It's worth checking /var/log/setup* for any complaints as well, in case this all come back to an installation issue. My best guess? Could be http://cygwin.com/acronyms/#BLODA. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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
ls and completion very slow in root dir of a windows drive
Hello, Since my most recent cygwin upgrade today executing a ls in the directories is very slow. Also completion, for example cd Prog [hitting tab] lasts about 20 seconds to expand to Program\ Files. Before that aupdate i had an about 2 months old cygwin 1.7 - the ls behaviour was ok. Now cygwin1.dll is version: 1007.5.0.0. Measuring the times: in /cygdrive/c/ $ time ls AUTOEXEC.BATIDE Perl WINDOWScygwin BMWApps IO.SYSProgram Files Win32App cygwin1_7 BOOT.BAKInstall Python25 XL Driver Library ntldr MSDOS.SYS RECYCLER boot.ini pagefile.sys CONFIG.SYS MSOCache System Volume Information cmdconstemp Documents and Settings NTDETECT.COM TAF cmldr tmp_pic OracleVerkn??pfung mit Lokaler Datentr??ger (C).lnk ctapi_out_gr.txt real0m16.313s user0m0.030s sys 0m0.015s or in /cygdrive/d/ #time ls VC_RED.MSI eula.1042.txt install.res.1031.dll musikbkp 78286fb703a988b923 VC_RED.cab eula.2052.txt install.res.1033.dll eula.1028.txt eula.3082.txt install.res.1036.dll short eula.1031.txt globdata.ini install.res.1040.dll temp Recycled eula.1033.txt imgs_fuer_Florian install.res.1041.dll vcredist.bmp SSSDecoder.log eula.1036.txt install.exe install.res.1042.dll System Volume Information eula.1040.txt install.ini install.res.2052.dll Traces eula.1041.txt install.res.1028.dll install.res.3082.dll real0m12.172s user0m0.030s sys 0m0.015s Doing a ls in a subdirectory needs much less time: # time ls (Folder list) real0m0.062s user0m0.046s sys 0m0.015s The performance in subdirectories is ok. Also mounted network drives are very slow in main directory, but fast in subdirs. Is this a known issue? Regards, Simon -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 -- 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
Re: ls and completion very slow in root dir of a windows drive
Hello, is it possible to find the reason for the high delay on my pc? I tried a strace ls. Its output is attached. the long delay is after the line: 15 21715 [main] ls 1960 time: 1277304158 = time (0)^M then comes: 21057910 21079625 [main] ls 1960 stat_worker: 0 = (\??\C:\cygwin1_7\cygdrive, 0x22C7E0) I hope this helps. I had one cygwin instance initially running without this ls behaviour on drive d. After having switched in it to c: and do a ls it became slow again. Maybe there is some side effect necessary? Regards, Simon Original-Nachricht Datum: Wed, 23 Jun 2010 09:39:33 -0400 Von: Larry Hall (Cygwin) reply-to-list-only...@cygwin.com An: Simon Brandner simon@gmx.de Betreff: Re: ls and completion very slow in root dir of a windows drive On 6/23/2010 6:18 AM, Simon Brandner wrote: Hello, Since my most recent cygwin upgrade today executing a ls in the directories is very slow. Also completion, for example cd Prog [hitting tab] lasts about 20 seconds to expand to Program\ Files. Before that aupdate i had an about 2 months old cygwin 1.7 - the ls behaviour was ok. Now cygwin1.dll is version: 1007.5.0.0. ... Is this a known issue? Can't reproduce that here. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 1 1 [main] ls 1960 open_shared: name shared.5, n 5, shared 0x60FC (wanted 0x60FC), h 0x770 14041405 [main] ls 1960 heap_init: heap base 0x68, heap top 0x68 331438 [main] ls 1960 open_shared: name S-1-5-21-43206524-2104247658-1151357142-1009312.1, n 1, shared 0x60FD (wanted 0x60FD), h 0x76C 191457 [main] ls 1960 user_info::create: opening user shared for 'S-1-5-21-43206524-2104247658-1151357142-1009312' at 0x60FD 181475 [main] ls 1960 user_info::create: user shared version 6112AFB3 251500 [main] ls 1960 events_init: windows_system_directory 'C:\WINDOWS\system32\', windows_system_directory_length 20 241524 [main] ls 1960 dll_crt0_0: finished dll_crt0_0 initialization 451569 [main] ls 1960 _cygtls::remove: wait 0x 251594 [main] ls 1960 _cygtls::remove: removed 0x22CE64 element 0 411635 [main] ls 1960 _cygtls::remove: wait 0x 151650 [main] ls 1960 _cygtls::remove: removed 0x22CE64 element 0 311681 [main] ls 1960 _cygtls::remove: wait 0x 141695 [main] ls 1960 _cygtls::remove: removed 0x22CE64 element 0 1761871 [main] ls 1960 _cygwin_istext_for_stdio: fd 0: not open 221893 [main] ls 1960 _cygwin_istext_for_stdio: fd 1: not open 161909 [main] ls 1960 _cygwin_istext_for_stdio: fd 2: not open 511960 [sig] ls 1960 wait_sig: entering ReadFile loop, my_readsig 0x750, my_sendsig 0x74C 1182078 [main] ls 1960 mount_info::conv_to_posix_path: conv_to_posix_path (D:\, no-keep-rel, no-add-slash) 322110 [main] ls 1960 normalize_win32_path: D:\ = normalize_win32_path (D:\) 182128 [main] ls 1960 mount_info::conv_to_posix_path: /cygdrive/d = conv_to_posix_path (D:\) 452173 [main] ls (1960) open_shared: name cygpid.1960, n 1960, shared 0x60FF (wanted 0x60FF), h 0x728 1092282 [main] ls 1960 ** 172299 [main] ls 1960 Program name: C:\cygwin1_7\bin\ls.exe (pid 1960, ppid 1) 172316 [main] ls 1960 App version: 1007.5, api: 0.225 152331 [main] ls 1960 DLL version: 1007.5, api: 0.225 142345 [main] ls 1960 DLL build:2010-04-12 19:07 152360 [main] ls 1960 OS version: Windows NT-5.1 142374 [main] ls 1960 Heap size:402653184 142388 [main] ls 1960 ** 142402 [main] ls 1960 pinfo::thisproc: myself-dwProcessId 1960 152417 [main] ls 1960 time: 1277304158 = time (0) 2012618 [main] ls 1960 parse_options: glob (called func) 272645 [main] ls 1960 parse_options: returning 152660 [main] ls 1960 environ_init: GetEnvironmentStrings returned 0x1 272687 [main] ls 1960 environ_init: 0x6A8298: !C:=C:\cygwin1_7\bin 272714 [main] ls 1960 environ_init: 0x6A82B8: !U:=U:\ 292743 [main] ls 1960 environ_init: 0x6A82C8: ALLUSERSPROFILE=C:\Documents and Settings\All Users 292772 [main] ls 1960 environ_init: 0x6A8308: APPDATA=C:\Documents and Settings\qx83894\Application Data 282800 [main] ls 1960 environ_init: 0x6A8348: ArchivePath=c:\Program Files\archive 29
Re: ls and completion very slow in root dir of a windows drive
On 6/23/2010 10:59 AM, Simon Brandner wrote: is it possible to find the reason for the high delay on my pc? I tried a strace ls. Its output is attached. the long delay is after the line: 15 21715 [main] ls 1960 time: 1277304158 = time (0)^M then comes: 21057910 21079625 [main] ls 1960 stat_worker: 0 = (\??\C:\cygwin1_7\cygdrive, 0x22C7E0) This doesn't suggest anything to me, besides the obvious that it's slow for you on this drive. Does mounting it make any difference? I don't believe we've seem your cygcheck output as requested by http://cygwin.com/problems.html. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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