From owner-freebsd-current@FreeBSD.ORG Sun Apr 25 04:32:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09E9A16A4CF for ; Sun, 25 Apr 2004 04:32:54 -0700 (PDT) Received: from ultra36.almamedia.fi (ultra36.almamedia.fi [193.209.83.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B5AE43D46 for ; Sun, 25 Apr 2004 04:32:53 -0700 (PDT) (envelope-from koston@iki.fi) Received: by ultra36.almamedia.fi (Postfix, from userid 60001) id DF6661DCEE; Sun, 25 Apr 2004 14:32:51 +0300 (EEST) Received: from norsu.kameli.org (ip213-185-39-27.laajakaista.mtv3.fi [213.185.39.27]) by ultra36.almamedia.fi (Postfix) with SMTP id 6D7A61DA3A for ; Sun, 25 Apr 2004 14:32:51 +0300 (EEST) Received: by norsu.kameli.org (sSMTP sendmail emulation); Sun, 25 Apr 2004 13:34:34 +0000 From: "Atte Peltomaki" Date: Sun, 25 Apr 2004 13:34:34 +0000 To: freebsd-current@freebsd.org Message-ID: <20040425133434.GA67708@norsu.kameli.org> References: <200404201311.i3KDBY7C071099@anduin.net> <20040424114043.GA25392@norsu.kameli.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040424114043.GA25392@norsu.kameli.org> User-Agent: Mutt/1.4.2.1i Subject: Re: SMP weirdness in -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 11:32:54 -0000 > > So.. What's going on? Am I the only one who notices these things? I have a feeling this only happens when the system load is high, not when the user load is high. And the funny thing is - my openoffice build (in this case) is running with nice -n 10, so even its priority is low. > > > Is this related to SCHED_ULE, should I try with SCHED_BSD? I thought the real strengths of SCHED_ULE only shows on SMP, am I wrong? > > I have been experiencing same symptoms you described on two of my SMP > boxes, long time now. And I'm really going to get to the bottom of > this, tried switching NIC's, audio cards, UP kernel, with and without > ACPI.. I'll let you know when I come up with something useful. > > At least the symptoms surface a lot worse when all the -current kernel > debugging options are turned on (=more system cpu load) Allright, removing all debugging stuffs made things pretty good. With the debug symbols, cpu system load was constantly around 15%. Now, If I load the CPU a lot, like make -j10 buildworld, cpu loads are between 50% and 100% all the time, but music plays just fine without any kind of lag. But If I do something that puts system cpu load even over 30%, things get very jerky. No matter if the loading process is niced to 20 and xmms (or whatevery player) is niced -20. Atte Peltomaki http://kameli.org