[lkml]   [1996]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux 2.1 wishlist...

In article <4pp6sg$>, (Thomas Koenig) writes:

> Hmm.. let's not forget real swapping, where a process which consumes
> loads of resources is swapped to disk totally. (Question: Could this
> be accomplished by simply stopping it for some time, and let 'natural'
> paging do the rest?)

It could be accomplished also by decent scheduling of the batch jobs.
Either way, I'd probably rather see this done in user space, perhaps
by having a batch daemon which decides which jobs deseve to be swapped
out when. Some kernel support might be necessary, but using standard
job control --- sending SIGSTOP and SIGCONT to schedule the running
batch jobs --- might be sufficient.

> Also, preemptive paging would be great (this means writing copies of
> active memory pages to disk, so that they can be thrown out of core
> without writing them to disk first if more memory is needed).

Planned for 2.1. There are a number of places where I want to
improve swapping throughput further, especially to do with even better
clustering of writeouts and managing sequential access of large
datasets more intelligently. NFS swapping should also appear at some

Stephen Tweedie <>
Department of Computer Science, Edinburgh University, Scotland.

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