Rik van Riel wrote:
> > A larger priority for page-in I/O due to interactive process too
> > might help too. Some modification of Andrea's elevator. But
> > that doesn't seem so easy.
> Read requests are easily tied to a process, so this could
> be relatively easy. Doing it properly before 2.5 may be a
> little difficult though ...
A simple flag with each I/O request meaning "high priority due to
interactive process I/O". Make the elevator select high priority
requests before low ones, with the same sequence number bound for
fairness as has recently been implemented.
Maybe even a small holdoff time when going from handling a high priority
to a low priority request, to give the interactive process a few
microseconds to stimulate another page in. (Actually a small holdoff in
general between I/O "here" and I/O "far away" might improve overall seek
times, orthogonal to priority issues).
It does seem too simple to work, but has anyone tried it?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:14 EST