Axp-List Archive
Force app to use single CPU

Subject: Force app to use single CPU
From: Blake Carlson (blake-carlson@uiowa.edu)
Date: Tue Jan 18 15:14:39 2000


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
 

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



This archive was generated by hypermail version 2a22 on Tue Feb 1 05:33:32 2000 PST
Send any problems or questions about this archive to webmaster@alphalinux.org.