[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Force app to use single CPU
- From: Blake Carlson <blake-carlson uiowa edu>
- To: axp-list redhat com
- Subject: RE: Force app to use single CPU
- Date: Tue, 18 Jan 2000 17:46:33 -0600 (CST)
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
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]