severe performance problems in cygwin

2007-09-17 Thread Boris Ouretskey
Hi,

I have severe performance problems with cygwin. Cygwin becomes almost
unusable. 

The problem seems to go away when cygwin window is out of focus, e.g.
when I click on some other window (not cygwin), cygwin performance
rapidly increases.

It has something with output to console window. When I decrease the
windows size performance also increases.

Does anyone have an idea.


Cygcheck attached.

Cygwin Configuration Diagnostics
Current System Time: Mon Sep 17 15:01:03 2007

Windows 2003 Enterprise Server Ver 5.2 Build 3790 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Perforce
c:\Program Files\QuickTime\QTSystem\

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 500(Administrator) GID: 513(None)
0(root) 513(None)   544(Administrators)
545(Users)  1014(Debugger Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 500(Administrator) GID: 513(None)
0(root) 513(None)   544(Administrators)
545(Users)  1014(Debugger Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'Administrator'
PWD = '/home/Administrator'
HOME = '/home/Administrator'
MAKE_MODE = 'unix'

Use '-r' to scan registry

c:  hd  NTFS 76285Mb  43% CP CS UN PA FC
d:  hd  NTFS 76293Mb   3% CP CS UN PA FC
e:  cd  CDFS   646Mb 100%CS UN   MobilePhoneTools

C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Not Found: patch
Not Found: perl
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Not Found: ssh
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim

   61k 2006/11/10 C:\cygwin\bin\cygbz2-1.dll
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll
   40k 2006/11/15 C:\cygwin\bin\cygform-8.dll
   25k 2007/08/23 C:\cygwin\bin\cyghistory6.dll
  271k 2007/08/24 C:\cygwin\bin\cygicons-0.dll
  976k 2006/10/22 C:\cygwin\bin\cygiconv-2.dll
   37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll
   31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll
   31k 2006/10/23 C:\cygwin\bin\cygintl-8.dll
   21k 2006/11/15 C:\cygwin\bin\cygmenu-8.dll
   67k 2006/11/15 C:\cygwin\bin\cygncurses++-8.dll
  237k 2006/11/15 C:\cygwin\bin\cygncurses-8.dll
   12k 2006/11/15 C:\cygwin\bin\cygpanel-8.dll
  133k 2007/06/27 C:\cygwin\bin\cygpcre-0.dll
  303k 2007/06/27 C:\cygwin\bin\cygpcrecpp-0.dll
7k 2007/06/27 C:\cygwin\bin\cygpcreposix-0.dll
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll
  154k 2007/08/23 C:\cygwin\bin\cygreadline6.dll
 1830k 2007/01/31 C:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.5.24
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 156
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Wed Jan 31 10:57:51 CET 2007
CVS tag: cr-0x5f1
Shared id: cygwin1S4


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Package  Version
_update-info-dir 00545-1
alternatives 1.3.29a-1
ash  20040127-3
base-files   3.7-1
base-passwd  2.2-1
bash 3.2.25-16
bzip21.0.3-2
coreutils6.9-5
crypt1.1-1
cygutils 1.3.2-1
cygwin   1.5.24-2
cygwin-doc   1.4-4
editrights   1.01-1
findutils4.3.8-1
gawk 3.1.5-4
grep 2.5.1a-4
groff1.18.1-2
gzip 1.3.12-2
less 382-1
libbz2_1 1.0.3-2
libiconv21.11-1
libintl2 0.12.1-3
libintl3 0.14.5-1
libintl8 0.15-1
libncurses8  5.5-3
libpcre0 7.2-1
libpopt0 1.6.4-4
libreadline6 5.2.7-9
login1.9-7
man  1.6e-1
mktemp   1.5-4
rebase   2.4.3-1
run  1.1.10-1
sed

Re: severe performance problems in cygwin

2007-09-17 Thread Tim Prince
Boris Ouretskey wrote:

 I have severe performance problems with cygwin. Cygwin becomes almost
 unusable. 
 
 The problem seems to go away when cygwin window is out of focus, e.g.
 when I click on some other window (not cygwin), cygwin performance
 rapidly increases.
 
 It has something with output to console window. When I decrease the
 windows size performance also increases.
 
This seems likely to be associated with your video driver.  For example,
you might be using a generic text emulation installed automatically by
Windows, when a driver meant for your video card might be better.  Do
save your hardware configuration before trying a new one.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/