From owner-freebsd-stable Sun Nov 24 14: 5:28 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 C3BDD37B401 for ; Sun, 24 Nov 2002 14:05:26 -0800 (PST) Received: from sccmmhc02.mchsi.com (sccmmhc02.mchsi.com [204.127.203.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19B0043E6E for ; Sun, 24 Nov 2002 14:05:25 -0800 (PST) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu ([12.216.242.20]) by sccmmhc02.mchsi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021124220523.BEDC5896.sccmmhc02.mchsi.com@math.missouri.edu>; Sun, 24 Nov 2002 22:05:23 +0000 Message-ID: <3DE14D21.8070905@math.missouri.edu> Date: Sun, 24 Nov 2002 16:05:21 -0600 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stephen Montgomery-Smith Cc: freebsd-stable@FreeBSD.ORG Subject: Re: running many programs on multiprocessor system References: <3DE149C7.2030607@math.missouri.edu> In-Reply-To: <3DE149C7.2030607@math.missouri.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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. Sorry about the noise - but if anyone can explain to me why this happens I would appreciate it. -- Stephen Montgomery-Smith stephen@math.missouri.edu http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message