public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin@cygwin.com
Cc: Jim Reisert AD1C <jjreisert@alum.mit.edu>
Subject: Re: XWin server, idle, using lots of CPU time
Date: Thu, 10 Nov 2016 19:58:00 -0000	[thread overview]
Message-ID: <a5fb9b4f-223e-bc12-9dc5-0d2f851c287a@dronecode.org.uk> (raw)
In-Reply-To: <CAK-n8j5km8xEJHEX8Dq=1vGRd4w_4W=3oX7r5gZAjNs6W1sMNw@mail.gmail.com>

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

  reply	other threads:[~2016-11-10 16:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-10  2:06 Jim Reisert AD1C
2016-11-10 19:58 ` Jon Turney [this message]
2016-11-10 22:11   ` Jim Reisert AD1C
2016-11-10 21:42 ` Brian Inglis
2016-11-10 22:16   ` Jim Reisert AD1C
2016-11-11  6:21     ` Jim Reisert AD1C

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a5fb9b4f-223e-bc12-9dc5-0d2f851c287a@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin@cygwin.com \
    --cc=jjreisert@alum.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).