[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Force app to use single CPU



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