From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21962 invoked from network); 18 Jan 2000 23:21:05 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Jan 2000 23:21:05 -0000 Received: from HPTI_MAIN.hpti.com (hpti.com [206.239.114.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA01922 for ; Tue, 18 Jan 2000 18:21:02 -0500 Received: from hptilap (hpti8.fsl.noaa.gov [137.75.132.228]) by HPTI_MAIN.hpti.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id CMF3TPZT; Tue, 18 Jan 2000 18:18:27 -0500 Reply-To: From: "Greg Lindahl" To: Subject: RE: Force app to use single CPU Date: Tue, 18 Jan 2000 16:11:41 -0700 Message-ID: <01a401bf6209$61606c00$e4844b89@hptilap.hpti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 > 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