From: lankeste@fwi.uva.nl (Branko Lankester) Subject: Re: Rebooting - an observation Date: 9 Mar 1992 14:05:16 GMT
drew@cs.colorado.edu (Drew Eckhardt) writes:
>Has anyone looked at the possibility of using a fuzzy boundary
>between user memory and buffer cache (ala SunOS and BSD4.4 ?),
>where the balance of buffer cache / user memory shifts dynamically,
>with some hard limits? This would increase the performance of both
>memory intensive and disk intensive applications.
I have another idea, why not put all freed text pages in a hash table,
and bypass the buffer cache for demand loading. On a page fault in the
code space you check if the needed page is in this hash table (after
having tried to share this page). You could even use the sticky bit on
executables to favor some pages when you need to evict a page from this
table if you need a free page.
This way you use the buffer cache for all normal file access and all of
your free memory as page cache.
Branko.