Axp-List Archive
RE: Force app to use single CPU

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


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
>
>

-- 
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.