From owner-freebsd-stable Mon Nov 25 8:13:18 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1346F37B401 for ; Mon, 25 Nov 2002 08:13:17 -0800 (PST) Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26E1343E3B for ; Mon, 25 Nov 2002 08:13:16 -0800 (PST) (envelope-from jschlesn@emmi.physik.TU-Berlin.DE) Received: from emmi.physik.TU-Berlin.DE (localhost.physik.TU-Berlin.DE [127.0.0.1]) by emmi.physik.TU-Berlin.DE (8.12.6/8.11.6) with ESMTP id gAPGD7Ba085921 for ; Mon, 25 Nov 2002 17:13:07 +0100 (CET) (envelope-from jschlesn@emmi.physik.TU-Berlin.DE) Received: (from jschlesn@localhost) by emmi.physik.TU-Berlin.DE (8.12.6/8.12.3/Submit) id gAPGD7YU085918 for freebsd-stable@freebsd.org; Mon, 25 Nov 2002 17:13:07 +0100 (CET) Date: Mon, 25 Nov 2002 17:13:07 +0100 From: Jan Schlesner To: freebsd-stable@freebsd.org Subject: Re: running many programs on multiprocessor system Message-ID: <20021125161307.GB85321@physik.TU-Berlin.DE> Mail-Followup-To: freebsd-stable@freebsd.org References: <3DE149C7.2030607@math.missouri.edu> <3DE14D21.8070905@math.missouri.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DE14D21.8070905@math.missouri.edu> User-Agent: Mutt/1.4i X-Url: X-PGP-Key: X-Operating-System: FreeBSD 4.7-RELEASE-p2, i386 X-Mailer: Mutt 1.4i ( i386 FreeBSD 4.7-RELEASE-p2 ) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, what's value of the priority and the nice level of each process? Have they all the same value? Is this always the same program, which runs at 99% CPU usage or change it? Bye, Jan On Sun, Nov 24, 2002 at 04:05:21PM -0600, Stephen Montgomery-Smith wrote: > Stephen Montgomery-Smith wrote: > >I have a dual Athlon MP 2100+. If I run three computationally > >intensive > >programs, one program runs at 99% CPU usage, and the other two run at > >50% CPU usage (this is according to top). > > > >It used to be that each of the three programs ran at 66% CPU. I > >liked > >it better the old way. > > I spent a couple of weeks thinking about this before posting. And > then > right after posting, I realise the difference between these programs > and > other programs I run - these programs were written in assembler. > > I have also noticed that threaded programs don't thread properly if > one of > the threads calls a subroutine that is written in assembler. -- [ gpg key: http://nl1.physik.tu-berlin.de/~jan/jschlesn.gpg ] [ key fingerprint: 4236 3497 C4CF 4F3A 274F B6E2 C4F6 B639 1DF4 CF0A ] -- It's better to reign in hell, than to serve in heaven... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message