From owner-freebsd-amd64@FreeBSD.ORG Sun Oct 28 00:09:19 2007 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B51416A468 for ; Sun, 28 Oct 2007 00:09:19 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id A2AE513C4BC for ; Sun, 28 Oct 2007 00:09:18 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id l9S09Hkc017853; Sun, 28 Oct 2007 02:09:17 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 128D7B8F8; Sun, 28 Oct 2007 02:09:17 +0200 (CEST) Date: Sun, 28 Oct 2007 02:09:17 +0200 From: Roland Smith To: Kris Kennaway Message-ID: <20071028000917.GC47576@slackbox.xs4all.nl> Mail-Followup-To: Kris Kennaway , freebsd-amd64@freebsd.org References: <20071027202252.GA40377@slackbox.xs4all.nl> <4723CD55.5090307@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="B4IIlcmfBL/1gGOG" Content-Disposition: inline In-Reply-To: <4723CD55.5090307@FreeBSD.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-amd64@freebsd.org Subject: Re: Experiences with RELENG_7 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 00:09:19 -0000 --B4IIlcmfBL/1gGOG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 28, 2007 at 01:44:21AM +0200, Kris Kennaway wrote: > Roland Smith wrote: >> Hovewer, sometimes a program seems to hog the CPU for a couple of >> seconds (as seen in top(1)) >=20 > Can you please explain (with supporting paste of command output) what you= =20 > mean by this? I'll save some top output next time. But what happened was this; all of a sudden the mouse pointer started moving erratically, and the music playing in audacious started skipping. All other X programs started responding erratically as well. It looked like the X server wasn't getting any CPU time. After starting top in a terminal I saw that telak was at 99% WCPU. That is odd, because it's job is to keep a couple of pictures on the X root window updated every minute. I've used the same port (same version even) on 6-STABLE with SCHED_4BSD without these symptoms. It is started from my ~/.xinitrc. After killing telak, the situation returned to normal. I restarted telak, and a couple of hours later it happened again. It also happened with cc1 when I was compiling a port. In that case the situation returned to normal when that particular instance was finished. That compilation was running in a terminal window that was iconified at the time. In case I forgot to mention it, I deleted and recompiled all ports after the 6->7 update to make sure there was no old cruft lying around. I am running a custom kernel because I'm using GEOM_ELI. Do you need to see my kernel config? >> and interactivity suffers >> tremendously. Could this be the scheduler getting mixed up? This happened >> two times with graphics/telak, which I use to put update some graphs on >> my desktop every minute. In both cases I killed the program. But it also >> happened one time with cc1 during compilation of a program. >=20 > This is usually caused by the system running out of memory and touching= =20 > swap. Have you ruled this out? According to conky, memory usage was at around 35% (of 1GB) and swap usage was unused. Those are pretty regular values for this system. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --B4IIlcmfBL/1gGOG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHI9MtEnfvsMMhpyURAkv6AKCD1VfF7VvWKqMnWjIp/m3ERm4SPACeP443 2rJDYz82TdZCrohL2jRAd2s= =do0n -----END PGP SIGNATURE----- --B4IIlcmfBL/1gGOG--