Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Blake Carlson <blake-carlson@uiowa.edu>
To: axp-list@redhat.com
Subject: Force app to use single CPU
Date: Tue, 18 Jan 2000 17:14:39 -0600 (CST)	[thread overview]
Message-ID: <Pine.LNX.4.10.10001181648180.26286-100000@cobra.eng.uiowa.edu> (raw)

Hello all -

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).  If I change the priority of the
app, I can get it to stick on one processor longer before context
switching out (no big surprise there).

Would I see a _significant_ difference in performance if I was able to
force the app to stick to one CPU all of the time (forcing all other
processes to run on the second processor)?  Could I get two copies of the
program running at the same time to stick to a single CPU and not context
switch? (runtime for the program is about 1 hour)

What is the best way to do this.  'nice -20 app' as root? 


Thanks for your help -

Blake Carlson
blake-carlson@uiowa.edu
College of Electrical & Computer Engineering
University of Iowa
 


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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-18 23:14 Blake Carlson [this message]
2000-01-18 23:11 ` Force app to use single CPU Greg Lindahl
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