[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] VM improvements for 2.1.131
On 5 Dec 1998, Eric W. Biederman wrote:
> >>>>> "RR" == Rik van Riel <H.H.vanRiel@phys.uu.nl> writes:
>
>
> RR /* Don't allow too many pending pages in flight.. */
> RR- if (atomic_read(&nr_async_pages) > SWAP_CLUSTER_MAX)
> RR+ if (atomic_read(&nr_async_pages) > pager_daemon.swap_cluster)
> RR wait = 1;
>
> How will this possibly work if we are using a swapfile
> and we always swap synchronously?
It won't. But if you are using a swapfile you'll always
lose. Due to on-drive track buffers and head-locality it
won't be a real performance loss though... (I hope).
What we really need is somebody to fix swapfile I/O.
regards,
Rik -- the flu hits, the flu hits, the flu hits -- MORE
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+
--
This is a majordomo managed list. To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org