Date: Tue, 15 Apr 2008 17:43:47 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Eric van Gyzen <eric@vangyzen.net> Cc: freebsd-x11@freebsd.org Subject: Re: Xorg 7 uses much more CPU than Xorg 6 Message-ID: <20080415074347.GA73016@server.vk2pj.dyndns.org> In-Reply-To: <480417EC.5090301@vangyzen.net> References: <480417EC.5090301@vangyzen.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080415074347.GA73016>