lkml.org 
[lkml]   [2000]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: unfair stress on non memory allocating apps while swapout (in 2.4)
Date
> why are programs which do not allocate memory be delayed while one
> program is eating up all memory. This clearly means they are not delayed
in
> the malloc call but simply the kernel will not schedule them while he is
bussy
> to page out processes.

Bernd,
The reason why programs not allocating memory start waiting when the system
starts swapping is because they get some of their working set paged out,
which must be loaded into physical memory when they next use it. By working
set I mean the code and data they will use in their next timeslice.

Nick

PS this is my first post to lkml so please keep that in mind...
PPS ... so, was I right?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.045 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site