X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:references:to:reply-to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=IoqFs3HASX4fNbBt
	rjnl7SSYUeQaWF6wXvDMQwnwC7QhLFnlWzHj9RXT/MNsDk1JJUSSHASzeo98VFh7
	PW1yJDTd36rhzIJIxCUnWaK4+PxCABNPR3YhJWzG1LioUPGKlsEV4uzD8B/+GRqo
	J8xA/KKDbf4VeHlZnDIFMv7nQ5Q=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:references:to:reply-to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=MEdBSbwWpvW7KW6qdNev5T
	aN7ZU=; b=sVzxhKjC6oC7QR99HPdhQ8jvPM0HG4Y76OifCY+M8cBdeCUSTEMJAu
	HJrmmuDkZpw4OzIr92txLm/GeI7HaH8FLcZP03gTp6NRDz5c45hyInjMVwDMlqmE
	RQXEgfuuasmWcUXW9+Y/JXywyalS22TbOydF3jN4nNVzCK2UYqzB4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:64.59.136.138, H*RU:64.59.136.138, H*F:D*ab.ca, H*Ad:D*ab.ca
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=SPoybKnH c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=ivPyojAAfBf5x65GpGIA:9 a=QEXdDO2ut3YA:10
Subject: Re: XWin server, idle, using lots of CPU time
References: <CAK-n8j5km8xEJHEX8Dq=1vGRd4w_4W=3oX7r5gZAjNs6W1sMNw@mail.gmail.com>
To: cygwin@cygwin.com
Reply-To: Brian.Inglis@SystematicSw.ab.ca
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Message-ID: <90d63cd3-bfe1-8ca5-64f1-188163f626d0@SystematicSw.ab.ca>
Date: Thu, 10 Nov 2016 13:56:44 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <CAK-n8j5km8xEJHEX8Dq=1vGRd4w_4W=3oX7r5gZAjNs6W1sMNw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfF10zHlIa/6xqaniSLNBIekAmt4bJ9XBnj54noHu/vHO6g773epxGcIWjz0Ho8jSggg8jmQfSZpB+z/at6T2XU3+9W+hPA+CCv3XEoBCd7azJ02LD12R VD+jp0MTGwnVbZ6wl9ymczVM/YDcTaTzaB1ltEacxn7HO4UVO/o3JktLb/h/4wuBRoM4LQjvsWmcVA==
X-IsSubscribed: yes

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

