All of lore.kernel.org
 help / color / mirror / Atom feed
* An idea for prefetching swapped memory...
@ 2003-04-07  8:26 Thomas Schlichter
  2003-04-07 10:21 ` Con Kolivas
  2003-04-07 12:32 ` David Zaffiro
  0 siblings, 2 replies; 21+ messages in thread
From: Thomas Schlichter @ 2003-04-07  8:26 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 1535 bytes --]

Hello,

some days ago some friends and me argued about a feature which seems not to be 
included in current OSs but could improve useability mainly for desktop 
computers.

The idea was about prefetching swapped out pages when some memory is free, the 
CPU is idle and the I/O load is low.

So this should not 'cost' much but behave better on following situation:
(I think there are even more such situations, this one should just be an 
example)

One is surfing the internet and having some browser windows opened. Now, 
without closing the browser windows, he is playing some game which needs 
pretty much memory so the browsers memory is getting swapped out. After 
finishing gaming he's going to make some coffee and then surfing the internet 
again.
But even if the computer was IDLE for a time and, as the game was closed 
again, some memory is really FREE, the pages for the browser are swapped in 
just when they are needed and not in advance.

With this feature there should be no performance decrease because only free 
resources would be used, and if pages were swapped in but not be used, they 
stay not dirty and so have not to be written to disk when they are swapped 
out again. But the improvements should be obvious if simply the last swaped 
out pages are swapped in again...

If somebody could give me a hint how to implement this I would try it. I hope 
it will not be very difficult... ;-)

Thank you for reading and perhaps thinking about it...

Best regards
   Thomas Schlichter

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2003-04-07 20:33 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-07  8:26 An idea for prefetching swapped memory Thomas Schlichter
2003-04-07 10:21 ` Con Kolivas
2003-04-07 10:47   ` Thomas Schlichter
2003-04-07 11:24     ` Måns Rullgård
2003-04-07 12:46       ` Thomas Schlichter
2003-04-07 18:33       ` Mark Mielke
2003-04-07 13:24     ` Helge Hafting
2003-04-07 14:19       ` Chris Friesen
2003-04-07 14:39         ` Jörn Engel
2003-04-07 18:37         ` Mark Mielke
2003-04-07 18:49           ` Chris Friesen
2003-04-07 19:35             ` Mark Mielke
2003-04-07 19:39             ` Robert White
2003-04-07 20:44               ` Chris Friesen
2003-04-07 11:36   ` Christophe Saout
2003-04-07 11:48     ` Måns Rullgård
2003-04-07 12:19       ` Jörn Engel
2003-04-07 12:45         ` Christophe Saout
2003-04-07 16:30   ` Magnus Danielson
2003-04-07 12:32 ` David Zaffiro
2003-04-07 12:43   ` Jörn Engel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.