linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* process selection
@ 1999-06-12 20:00 Rik van Riel
  1999-06-13  1:17 ` Andrea Arcangeli
  1999-06-14 17:17 ` Kanoj Sarcar
  0 siblings, 2 replies; 9+ messages in thread
From: Rik van Riel @ 1999-06-12 20:00 UTC (permalink / raw)
  To: Linux MM

Hi,

in mm/vmscan.c::swap_out() we select the process from
which to swap out pages. In my experience, this selection
is done on a somewhat random basis.

The way things are running on my system right now, X
and Netscape are swapped out while a stopped setiathome
(been sleeping for over an hour) remains in memory.

Could it be an idea to take the 'sleeping time' of each
process into account when selecting which process to swap
out?  Due to extreme lack of free time, I'm asking what
you folks think of it before testing it myself...

cheers,

Rik -- Open Source: you deserve to be in control of your data.
+-------------------------------------------------------------------+
| Le Reseau netwerksystemen BV:               http://www.reseau.nl/ |
| Linux Memory Management site:   http://www.linux.eu.org/Linux-MM/ |
| Nederlandse Linux documentatie:          http://www.nl.linux.org/ |
+-------------------------------------------------------------------+

--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: process selection
@ 1999-06-15 10:28 Antonino Sabetta
  1999-06-17 23:25 ` Stephen C. Tweedie
  0 siblings, 1 reply; 9+ messages in thread
From: Antonino Sabetta @ 1999-06-15 10:28 UTC (permalink / raw)
  To: linux-mm

>2. Also, in swap_out, it might make sense to steal more than a
>single page from a victim process, to balance the overhead of
>scanning all the processes.
Or at least, steal more that a single page if the process owns a "big"
number of pages.
--

+---------------------------------+
| A n t o n i n o   S a b e t t a |
|  sabetta@ieee.ing.uniroma1.it   |
|        ICQ:    39918730         |
+---------------------------------+
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1999-06-17 23:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-12 20:00 process selection Rik van Riel
1999-06-13  1:17 ` Andrea Arcangeli
1999-06-13  6:58   ` Rik van Riel
1999-06-14 17:17 ` Kanoj Sarcar
1999-06-14 17:46   ` Benjamin C.R. LaHaise
1999-06-14 19:26     ` Rik van Riel
1999-06-14 20:28       ` Benjamin C.R. LaHaise
1999-06-15 10:28 Antonino Sabetta
1999-06-17 23:25 ` Stephen C. Tweedie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox