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:cc:from:to:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=e5XTAMhdY2mC/iYL
	iYfODBejc8v0bqiDR72aR+5kjfdIQTFWQvMGFtjcbOuflRhw/7UKHkXNNpufeuUD
	BW+zvRFJb/ivZW4QjFkMD3xAwepgkMt63D+qYetLgyxTFcxvyB4a+3AXwqzH/vlN
	gEQAEO8yz5hHfLG3QaLIaylbTzg=
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:cc:from:to:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=jZvNRUZAaLP1zp8WdkRzRR
	1ckNs=; b=iGB5IJPYeM2Z7RKlsrO3g2LjQ6tzVP2VPxaEi8AbVD++5m+ZPItmj2
	wL4jokmVgssNcygwGJtHXQQmUYB1R1GgkJ5WrWdSY9sucyKVmdDj0ewDJrK+Whm5
	ithmN2w/FruYd9ttdyGj1cY88xHCabjheDtziiRg3GZxZznTlu+bg=
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=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=(unknown), Manager, video, Jim
X-HELO: out4-smtp.messagingengine.com
X-ME-Sender: <xms:4pwkWEF5NZ8CqoCDd1zdUa98MC8_sOUP1IAgHJ48Z-5d8tN73FlIrw>
Subject: Re: XWin server, idle, using lots of CPU time
References: <CAK-n8j5km8xEJHEX8Dq=1vGRd4w_4W=3oX7r5gZAjNs6W1sMNw@mail.gmail.com>
Cc: Jim Reisert AD1C <jjreisert@alum.mit.edu>
From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin@cygwin.com
Message-ID: <a5fb9b4f-223e-bc12-9dc5-0d2f851c287a@dronecode.org.uk>
Date: Thu, 10 Nov 2016 16:14:25 +0000
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

On 10/11/2016 02: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.
Thanks for reporting this problem.

Yes, this doesn't seem right, or expected.

Possibly the problem is caused by the internal WM or clipboard threads, 
so you might try with -noclipboard or in windowed mode, and see if you 
see the same load.

If that's the case, maybe running with -logverbose 3 would generate a 
log which gives more information about what unnecessary work is being done.


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

