From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 361 invoked by alias); 11 Jun 2012 15:11:17 -0000 Received: (qmail 32746 invoked by uid 22791); 11 Jun 2012 15:11:14 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_NEUTRAL,TW_CG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from soapstone1.mail.cornell.edu (HELO soapstone1.mail.cornell.edu) (128.253.83.143) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Jun 2012 15:11:01 +0000 Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by soapstone1.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q5BFB03U019261 for ; Mon, 11 Jun 2012 11:11:01 -0400 (EDT) Received: from [128.84.234.242] (dhcp242.math.cornell.edu [128.84.234.242]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id q5BFAxuw002625 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 11 Jun 2012 11:10:59 -0400 (EDT) Message-ID: <4FD60A82.5060808@cornell.edu> Date: Mon, 11 Jun 2012 15:11:00 -0000 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Performance problems with emacs-X11 in current cygwin References: <4FC7D9E6.5050609@alice.it> <4FCA1FF0.8090703@alice.it> <4FCA2CA9.7080704@cornell.edu> <4FCA634D.1080206@cornell.edu> <4FCB2991.3010701@users.sourceforge.net> <4FCB5438.7080903@cornell.edu> <4FCB9872.5010506@cornell.edu> <4FD1F709.4050107@cornell.edu> <87k3zhbyyk.fsf@Rainer.invalid> <4FD22C39.6070107@cornell.edu> <4FD53FA9.2040105@cornell.edu> <4FD55DF1.7030102@users.sourceforge.net> <4FD5D8F2.6060300@cornell.edu> In-Reply-To: <4FD5D8F2.6060300@cornell.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-Original-Sender: kbrown@cornell.edu - Mon Jun 11 11:11:00 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-06/txt/msg00205.txt.bz2 On 6/11/2012 7:39 AM, Ken Brown wrote: > On 6/10/2012 10:54 PM, Yaakov (Cygwin/X) wrote: >> On 2012-06-10 19:45, Ken Brown wrote: >>> The bisection shows that the first problematic commit is this one: >>> >>> http://git.gnome.org/browse/glib/commit/?h=glib-2-32&id=7eae486179e2799c369ed9ffcea663bf9161ce79 >>> >>> >>> >>> >>> Author: Ryan Lortie >>> Date: Wed Aug 31 22:07:02 2011 -0400 >>> >>> GMain: simplify logic for g_wakeup_acknowledge() >>> >>> Instead of messing around with context->poll_waiting, just look at the >>> GPollFD to see if the GWakeup needs to be acknowledged. >>> >>> In case anyone else wants to confirm this, you can get my glib builds by >>> running >>> >>> setup.exe -K http://sanibeltranquility.com/cygwin/kbrown.gpg >>> >>> and adding http://sanibeltranquility.com/cygwin to the list of mirrors. >>> The problematic version is >>> >>> libglib2.0_0-2.30.90_7eae4861-1 >>> >>> and the preceding version (without the problem) is >>> >>> libglib2.0_0-2.30.90_87880df-1 >>> >>> I've tested the latter with emacs-23, emacs-24, and gvim. >> >> Thanks for doing this. Is this still only a problem with XP? If so, it >> is most likely a bug in Cygwin itself. > > It's a problem with XP but not with Windows 7. No one has reported > testing other systems. > > Do you understand the code well enough to make a test case to help cgf > and Corinna debug it, assuming it's a Cygwin bug? BTW, there's no easy way to revert the problematic commit, in view of this commit, which came on the next day: http://git.gnome.org/browse/glib/commit/?h=glib-2-32&id=1c8c408c51c85230356cc95c06f2e1bd3f376624 The commentary that goes with that commit gives some explanations of what's supposed to happen. It doesn't mean much to me, because of my ignorance of how glib works. But maybe it will give you an idea where to look. Ken -- 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