From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 40 invoked from network); 18 Jan 2000 23:46:38 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Jan 2000 23:46:38 -0000 Received: from server07.icaen.uiowa.edu (root@server07.icaen.uiowa.edu [128.255.17.47]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA03979 for ; Tue, 18 Jan 2000 18:46:38 -0500 Received: from server01.icaen.uiowa.edu (server01.icaen.uiowa.edu [128.255.17.41]) by server07.icaen.uiowa.edu (8.8.7/8.7.1) with ESMTP id RAA05934 for ; Tue, 18 Jan 2000 17:46:36 -0600 (CST) Received: from server11.icaen.uiowa.edu (root@server11.icaen.uiowa.edu [128.255.17.51]) by server01.icaen.uiowa.edu (8.8.7/8.7.1) with ESMTP id RAA01320 for ; Tue, 18 Jan 2000 17:46:36 -0600 (CST) Received: from cobra.eng.uiowa.edu (bcarlson@cobra.eng.uiowa.edu [128.255.23.124]) by server11.icaen.uiowa.edu (8.8.7/client-6.6) with ESMTP id RAA13175 for ; Tue, 18 Jan 2000 17:46:35 -0600 (CST) Organization: Iowa Computer Aided Engineering Network, University of Iowa Date: Tue, 18 Jan 2000 17:46:33 -0600 (CST) From: Blake Carlson Sender: bcarlson@cobra.eng.uiowa.edu To: axp-list@redhat.com Subject: RE: Force app to use single CPU In-Reply-To: <01a401bf6209$61606c00$e4844b89@hptilap.hpti.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I'm pretty sure that it's not paging memory. The machine has 2GB of RAM and I don't see any indications of paging. -- Blake On Tue, 18 Jan 2000, Greg Lindahl wrote: > > I have an imaging app (uses ~500MB of memory) running on my DP264 > > (Linux 2.2.10) that seems to spend a lot of time context switching between > > the processors (judging from xosview). > > The linux scheduler is supposed to keep processes in the same CPU if > possible. I would suspect that it would switch back and forth mostly if it > were paging. You can modify your kernel to have a bigger > PROC_CHANGE_PENALTY... > > The file in question is linux/kernel/sched.c, the function is "goodness()". > > -- g > >