XWin server, idle, using lots of CPU time

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Thu Nov 10 21:42:00 GMT 2016


On 2016-11-09 19:05, Jim Reisert AD1C wrote:
> I received a new laptop at work (Windows 7 Pro) and installed Cygwin
> from scratch, including the Xorg server and xdg.
>
> Unlike my old laptop, XWIN seems to be using about 10% CPU *all the
> time* (measured with Task Manager), even when there are no clients
> connected to it.  My ~/ home directory is the same, so the X server is
> being set up the same way as before, as far as I can tell.
>
> The processor is an I7-6600U with two cores, two threads/core.  10%
> seems rather high, given that 25% would be one fully-utilitized
> thread.  I even updated the Intel video driver to the latest Dell
> version, dated November 1, 2016.  No change in behavior.
>
> I've attached cygcheck.out and my X server log, but can anyone advise
> how to track down the source of the problem? There does seem to be a
> large number of winClipboardFlushXEvents failures in the Xwin log
> file, but those are also in the log file on the old laptop.
>
> This is how I'm starting the X server:
>
>     C:\Cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec
> /usr/bin/startxwin"
>
> I am starting the X server with this line in  .xserverrc
>
>     exec /usr/bin/XWin -notrayicon "$@"

Assume you're using W7 Pro 64 as you're using Cygwin 64.
How big, fast, and full is your disk?
How much memory is installed/used/free in Resource Monitor?
Have you a lot of services started that you don't use?
Are you seeing many pageins/pageouts?
How much paging space is allocated?
Try allocating 2*physical memory size as paging space.
If that helps, you may want to add more or faster memory if
you only have 4GB installed, or most of it is used, with
low free.
Some people have improved performance by increasing the min
free memory setting, to keep more instantly available for use.
Search google or stackoverflow for W7 Pro min free memory advice.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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



More information about the Cygwin mailing list