Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Greg Lindahl" <glindahl@hpti.com>
To: <axp-list@redhat.com>
Subject: RE: Force app to use single CPU
Date: Tue, 18 Jan 2000 16:11:41 -0700	[thread overview]
Message-ID: <01a401bf6209$61606c00$e4844b89@hptilap.hpti.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10001181648180.26286-100000@cobra.eng.uiowa.edu>

> 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


  reply	other threads:[~2000-01-18 23:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-18 23:14 Force app to use single CPU Blake Carlson
2000-01-18 23:11 ` Greg Lindahl [this message]
2000-01-18 23:46   ` Blake Carlson
2000-01-19 15:13 ` Sean Hunter
  -- strict thread matches above, loose matches on Subject: below --
2000-01-19 11:34 Jakma, Paul
2000-01-19 16:44 ` Wes Bauske
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox