lkml.org 
[lkml]   [1998]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Patch for block write clustering
On 5 Mar 1998, Matthias Urlichs wrote:

> Rik van Riel <H.H.vanRiel@fys.ruu.nl> writes:
> > Kswapd doesn't do:
> > - swapins
> > - reading of files/metadata
>
> I wonder why you would want to. The process waiting for these things is
> blocking on them anyway. It makes no sense to incur the additional cost of
> a context switch.

It would give us the possibility of:
- async I/O
- easier I/O prioritizing (block badblocks -w for a while)
- better request reordering (since we now program the sorting
algorithm in it's own thread)
- blocking a swapin when memory is tight (we first have to
free some, so let the process wait a while)

Rik.
+-----------------------------+------------------------------+
| For Linux mm-patches, go to | "I'm busy managing memory.." |
| my homepage (via LinuxHQ). | H.H.vanRiel@fys.ruu.nl |
| ...submissions welcome... | http://www.fys.ruu.nl/~riel/ |
+-----------------------------+------------------------------+


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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