From owner-freebsd-x11@FreeBSD.ORG Tue Apr 15 09:51:13 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53872106566B for ; Tue, 15 Apr 2008 09:51:13 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 62B738FC2A for ; Tue, 15 Apr 2008 09:51:12 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail18.syd.optusnet.com.au (mail18.syd.optusnet.com.au [211.29.132.199]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m3F7htDj025417 for ; Tue, 15 Apr 2008 17:43:55 +1000 Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail18.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m3F7hmX4010891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Apr 2008 17:43:49 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m3F7hlvO031773; Tue, 15 Apr 2008 17:43:47 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m3F7hlZ0031772; Tue, 15 Apr 2008 17:43:47 +1000 (EST) (envelope-from peter) Date: Tue, 15 Apr 2008 17:43:47 +1000 From: Peter Jeremy To: Eric van Gyzen Message-ID: <20080415074347.GA73016@server.vk2pj.dyndns.org> References: <480417EC.5090301@vangyzen.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="F8dlzb82+Fcn6AgP" Content-Disposition: inline In-Reply-To: <480417EC.5090301@vangyzen.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-x11@freebsd.org Subject: Re: Xorg 7 uses much more CPU than Xorg 6 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 09:51:13 -0000 --F8dlzb82+Fcn6AgP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 14, 2008 at 09:50:20PM -0500, Eric van Gyzen wrote: >I also ran "yes" with an 80-character argument and ran top to watch CPU=20 >usage. After top reached a steady state, I recorded the following: Note that it's very difficult to see differences in performance with this test - in either case, the system is flat out but there's no indication of how fast it's processing. You might like to experiment with ports/x11/x11perf >=3D=3D=3D=3D Xorg 6 =3D=3D=3D=3D >CPU states: 67.3% user, 0.0% nice, 32.7% system, 0.0% interrupt, 0.0% i= dle > >=3D=3D=3D=3D Xorg 7 =3D=3D=3D=3D >CPU states: 25.9% user, 0.0% nice, 74.1% system, 0.0% interrupt, 0.0% i= dle The most striking thing to me is the difference in system time. You might like to ktrace both Xorg's whilst doing some fixed workload and compare the system calls. There was a recent thread about Xorg doing lots of gettimeofday(2) syscalls due to a configure error and possibly you are hitting this or a related issue. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --F8dlzb82+Fcn6AgP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkgEXLMACgkQ/opHv/APuIfWLgCgi3eMuXhsdVEWcA9BfTJeZD3j p08AoJUMGczep3rs1M1lu5misjFlJix3 =25dY -----END PGP SIGNATURE----- --F8dlzb82+Fcn6AgP--