From owner-freebsd-amd64@FreeBSD.ORG Sun Oct 28 05:15:14 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 7161E16A41A; Sun, 28 Oct 2007 05:15:14 +0000 (UTC) (envelope-from ulrich@pukruppa.net) Received: from pukruppa.net (pukruppa.net [213.146.114.24]) by mx1.freebsd.org (Postfix) with ESMTP id A502113C481; Sun, 28 Oct 2007 05:15:13 +0000 (UTC) (envelope-from ulrich@pukruppa.net) Received: from pukruppa.net (localhost [127.0.0.1]) by pukruppa.net (8.14.1/8.14.1) with ESMTP id l9S5FSaY021610; Sun, 28 Oct 2007 06:15:28 +0100 (CET) (envelope-from ulrich@pukruppa.net) Received: from localhost (ulrich@localhost) by pukruppa.net (8.14.1/8.14.1/Submit) with ESMTP id l9S5FRtM021607; Sun, 28 Oct 2007 06:15:28 +0100 (CET) (envelope-from ulrich@pukruppa.net) Date: Sun, 28 Oct 2007 06:15:27 +0100 (CET) From: "P.U.Kruppa" X-X-Sender: ulrich@small To: Kris Kennaway In-Reply-To: <4723DB8F.8060407@FreeBSD.org> Message-ID: <20071028060318.W1571@small> References: <20071027202252.GA40377@slackbox.xs4all.nl> <4723CD55.5090307@FreeBSD.org> <20071028000917.GC47576@slackbox.xs4all.nl> <4723DB8F.8060407@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 05:15:14 -0000 On Sun, 28 Oct 2007, Kris Kennaway wrote: > Roland Smith wrote: >> 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)) >>> Can you please explain (with supporting paste of command output) what you >>> 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. I can see that happening during portupgrade on my 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Sat Oct 27 04:15:22 CEST 2007 amd64 UP-machine as well. Situation has been improved by using SCHED_ULE instead of SCHED_4BSD . >> 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. > > This may be unrelated. The new version of gcc has higher memory > requirements, and it is common for it to access swap during compilation when > the system is also busy running other tasks. If you see it happening with cc > again, make sure to check this. My swap space remains untouched, I have got 2 GB of RAM. Is there - perhaps - some way to tune down gcc's CPU greediness? Regards, Uli. > > Kris > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > Peter Ulrich Kruppa Wuppertal Germany